@@ -164,7 +164,7 @@ function contact_user_page($account) {
$output=t("You cannot send more than %number messages per hour. Please try again later.",array('%number'=>variable_get('contact_hourly_threshold',3)));
* Callback for the 'votes' tab for polls you can see other votes on
*/
functionpoll_votes($node){
drupal_set_title(check_plain($node->title));
drupal_set_title($node->title);
$output=t('This table lists all the recorded votes for this poll. If anonymous users are allowed to vote, they will be identified by the IP address of the computer they used when they voted.');
drupal_set_title(t('Top pages in the past %interval',array('%interval'=>format_interval(variable_get('statistics_flush_accesslog_timer',259200)))));
drupal_set_title(t('Top pages in the past %interval',array('%interval'=>format_interval(variable_get('statistics_flush_accesslog_timer',259200)))),PASS_THROUGH);
$output=theme('table',$header,$rows);
$output.=theme('pager',NULL,30,0);
return$output;
...
...
@@ -97,7 +97,7 @@ function statistics_top_visitors() {
drupal_set_title(t('Top visitors in the past %interval',array('%interval'=>format_interval(variable_get('statistics_flush_accesslog_timer',259200)))));
drupal_set_title(t('Top visitors in the past %interval',array('%interval'=>format_interval(variable_get('statistics_flush_accesslog_timer',259200)))),PASS_THROUGH);
$output=theme('table',$header,$rows);
$output.=theme('pager',NULL,30,0);
return$output;
...
...
@@ -109,7 +109,7 @@ function statistics_top_visitors() {
functionstatistics_top_referrers(){
$query="SELECT url, COUNT(url) AS hits, MAX(timestamp) AS last FROM {accesslog} WHERE url NOT LIKE :host AND url <> '' GROUP BY url";
$query_cnt="SELECT COUNT(DISTINCT(url)) FROM {accesslog} WHERE url <> '' AND url NOT LIKE :host";
drupal_set_title(t('Top referrers in the past %interval',array('%interval'=>format_interval(variable_get('statistics_flush_accesslog_timer',259200)))));
drupal_set_title(t('Top referrers in the past %interval',array('%interval'=>format_interval(variable_get('statistics_flush_accesslog_timer',259200)))),PASS_THROUGH);