diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-05-08 07:17:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-05-08 07:17:47 +0000 |
commit | 3de9d33e67999a7dc30664d1c49a5a9313d00a00 (patch) | |
tree | 81c68188a4f552a441ce6989791f903cd23390b4 /modules/statistics/statistics.module | |
parent | 7bf77b6a5e365dc42670e5b6efea338b858f8f34 (diff) | |
download | brdo-3de9d33e67999a7dc30664d1c49a5a9313d00a00.tar.gz brdo-3de9d33e67999a7dc30664d1c49a5a9313d00a00.tar.bz2 |
- Menu and code improvements by JonBob.
Diffstat (limited to 'modules/statistics/statistics.module')
-rw-r--r-- | modules/statistics/statistics.module | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 5cb634fef..be91dd47a 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -4,7 +4,7 @@ /** * Implementation of hook_help(). */ -function statistics_help($section = 'admin/help#statistics') { +function statistics_help($section) { switch ($section) { case 'admin/help#statistics': return t(" @@ -47,31 +47,20 @@ function statistics_help($section = 'admin/help#statistics') { </ul> <p>If '<em>administer statistics</em>' and '<em>access statistics</em>' are both enabled, the user will see a link from each node to that node's referrer statistics (if enabled).</p>", array('%modules' => url('admin/system/modules'), '%permissions' => url('admin/user/permission'), '%referer' => url('admin/logs/referrer'), '%access' => url('admin/logs/access'), '%configuration' => url('admin/system/modules/statistics'), '%block' => url('admin/system/block'))); - break; case 'admin/system/modules#description': return t('Logs access statistics for your site.'); - break; case 'admin/system/modules/statistics': return t('Settings for the statistical information that Drupal will keep about the site. See <a href="%statistics">site statistics</a> for the actual information.', array('%statistics' => url('admin/logs/topnodes'))); - break; case 'admin/logs/topnodes': return t('This page gives you an at-a-glance look at your most popular content.'); - break; case 'admin/logs/referrer': return t('This page shows your site-wide referrer statistics. You can see "all referrers", "external referrers" or "internal referrers". Referrers are web pages, both local and on other sites, that point to your web site.'); - break; case 'admin/logs/referrer/internal': return t('This page shows you only "internal referrers". These are links pointing to your web site from within your web site.'); - break; case 'admin/logs/referrer/external': return t('This page shows you only "external referrers". These are links pointing to your web site from outside your web site.'); - break; - case 'admin/logs/access': - case 'admin/logs/access/node': - case 'admin/logs/access/user': - case 'admin/logs/access/host': + case strstr($section, 'admin/logs/access'): return t("This page shows you who is accessing your web site. You can see the hostnames and referrers. In particular, it is easy to inspect a user's navigation history/trail by clicking on <em>track user</em>."); - break; } } |