diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-29 09:51:50 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-29 09:51:50 +0000 |
commit | 78ee75f1a2ecc6a788dcf697d36783798ecbbe12 (patch) | |
tree | 0face854d3914ddbbba8c8d93a41be9304c1975e /modules/statistics | |
parent | bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 (diff) | |
download | brdo-78ee75f1a2ecc6a788dcf697d36783798ecbbe12.tar.gz brdo-78ee75f1a2ecc6a788dcf697d36783798ecbbe12.tar.bz2 |
- Patch #79622 by Dries: added views to see the most popular search terms,
the most important 404s and 403s. This makes the watchdog data easier to
use. Improved consistency of the 'amdminister > logs' section.
Diffstat (limited to 'modules/statistics')
-rw-r--r-- | modules/statistics/statistics.module | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 1d468c413..a8dcbb958 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -117,10 +117,9 @@ function statistics_menu($may_cache) { $items[] = array( 'path' => 'admin/logs/hits', 'title' => t('recent hits'), - 'description' => t('View pages that have recently been hit.'), + 'description' => t('View pages that have recently been visited.'), 'callback' => 'statistics_recent_hits', - 'access' => $access, - 'weight' => 3); + 'access' => $access); $items[] = array( 'path' => 'admin/logs/pages', 'title' => t('top pages'), @@ -137,7 +136,7 @@ function statistics_menu($may_cache) { 'weight' => 2); $items[] = array( 'path' => 'admin/logs/referrers', - 'title' => t('referrers'), + 'title' => t('top referrers'), 'description' => t('View top referrers.'), 'callback' => 'statistics_top_referrers', 'access' => $access); @@ -155,8 +154,8 @@ function statistics_menu($may_cache) { 'callback' => 'drupal_get_form', 'callback arguments' => array('statistics_access_logging_settings'), 'access' => user_access('administer site configuration'), - 'type' => MENU_NORMAL_ITEM - ); + 'type' => MENU_NORMAL_ITEM, + 'weight' => 3); } else { if (arg(0) == 'user' && is_numeric(arg(1)) && variable_get('statistics_enable_access_log', 0)) { |