summaryrefslogtreecommitdiff
path: root/modules/statistics.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-01 15:50:01 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-01 15:50:01 +0000
commitf76ff3d4b5be2408a6d0d0435ef77778a22b2ba4 (patch)
treefd5ac22743826cf826091c80631038907f5a0f44 /modules/statistics.module
parent1db149b7d50b456dd2cd810f22943dc4df217cc0 (diff)
downloadbrdo-f76ff3d4b5be2408a6d0d0435ef77778a22b2ba4.tar.gz
brdo-f76ff3d4b5be2408a6d0d0435ef77778a22b2ba4.tar.bz2
- Patch #47277 by markus: wrong URL in admin/logs/access/<item>.
Diffstat (limited to 'modules/statistics.module')
-rw-r--r--modules/statistics.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics.module b/modules/statistics.module
index 17ade1d63..2b69ca444 100644
--- a/modules/statistics.module
+++ b/modules/statistics.module
@@ -149,8 +149,8 @@ function statistics_access_log($aid) {
$result = db_query('SELECT a.*, u.name FROM {accesslog} a LEFT JOIN {users} u ON a.uid = u.uid WHERE aid = %d', $aid);
if ($access = db_fetch_object($result)) {
$output = '<table border="1" cellpadding="2" cellspacing="2">';
- $output .= ' <tr><th>'. t('Page URL') ."</th><td>". l(url($access->path, NULL, NULL, TRUE), $access->url) ."</td></tr>";
- $output .= ' <tr><th>'. t('Page title') .'</th><td>'. check_plain($access->title) .'</td></tr>';
+ $output .= ' <tr><th>'. t('URL') ."</th><td>". l(url($access->path, NULL, NULL, TRUE), $access->path) ."</td></tr>";
+ $output .= ' <tr><th>'. t('Title') .'</th><td>'. check_plain($access->title) .'</td></tr>';
$output .= ' <tr><th>'. t('Referrer') ."</th><td>". ($access->url ? l($access->url, $access->url) : '') ."</td></tr>";
$output .= ' <tr><th>'. t('Date') .'</th><td>'. format_date($access->timestamp, 'large') .'</td></tr>';
$output .= ' <tr><th>'. t('User') .'</th><td>'. theme('username', $access) .'</td></tr>';