? help_statistics_1.patch ? sites/default/files ? sites/default/private ? sites/default/settings.php Index: modules/statistics/statistics.module =================================================================== RCS file: /cvs/drupal/drupal/modules/statistics/statistics.module,v retrieving revision 1.324 diff -u -p -r1.324 statistics.module --- modules/statistics/statistics.module 8 Nov 2009 10:02:41 -0000 1.324 +++ modules/statistics/statistics.module 14 Nov 2009 13:59:33 -0000 @@ -12,20 +12,24 @@ function statistics_help($path, $arg) { switch ($path) { case 'admin/help#statistics': - $output = '

' . t('The statistics module keeps track of numerous site usage statistics, including the number of times, and from where, each of your posts is viewed. These statistics are useful in determining how users are interacting with each other and with your site, and are required for the display of some Drupal blocks.') . '

'; - $output .= '

' . t('The statistics module provides:') . '

'; - $output .= ''; - $output .= '

' . t('Configuring the statistics module') . '

'; - $output .= ''; - $output .= '

' . t('For more information, see the online handbook entry for Statistics module.', array('@statistics' => 'http://drupal.org/handbook/modules/statistics/')) . '

'; - return $output; + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('Statistics include how often a page is viewed, who it viewed, from where it was visited (referrer URL) and when it was viewed. These statistics are useful in determining how users are using your site.') . '

' ; + $output .= '

' . t('To enable the statistics the option Enable access log on the Statistics settings page must be switched on. The Discard access logs older than setting on the settings page specifies the length of time entries are kept in the log before they are deleted. This requires a correctly configured cron maintenance task.', array('@statistics-settings' => url('admin/config/system/statistics'), '@cron' => url('admin/reports/status'))) . '

'; + $output .= '

' . t(' For more information, see the online handbook for the Statistics module.', array('@statistics' => url('http://drupal.org/handbook/modules/statistics/'))) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Viewing site usage') . '
'; + $output .= '
' . t('Statistics can show you how your website is being used. The module offers four reports.'); + $output .= ''; + $output .= '
' . t('Showing popular content') . '
'; + $output .= '
' . t('The module includes a popular content block that displays today\'s and all time\'s the most viewed pages, and the last content viewed. Enable and configure the block on the blocks administration page.', array('@blocks' => url('admin/structure/block'))) . '
'; + $output .= '
' . t('Showing page view counter') . '
'; + $output .= '
' . t('The Statistics module includes a counter for each page that increments when the page is viewed. Enable Count content views on the statistics settings page, and set the necessary permissions so that the counter is visible to the users.', array('@statistics-settings' => url('admin/config/system/statistics'), '@permissions' => url('admin/config/people/permissions'))) . '
'; + return $output; case 'admin/config/system/statistics': return '

' . t('Settings for the statistical information that Drupal will keep about the site. See site statistics for the actual information.', array('@statistics' => url('admin/reports/hits'))) . '

'; case 'admin/reports/hits': @@ -37,6 +41,7 @@ function statistics_help($path, $arg) { } } + /** * Implement hook_exit(). *