From a8b8c247db070d96a663ab8bb57a40ead173300a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Jan 2004 20:31:26 +0000 Subject: - Patch #5021: clean up URLs in _help texts. Patch by UnConeD. --- modules/statistics.module | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/statistics.module') diff --git a/modules/statistics.module b/modules/statistics.module index 8879d69f8..23ae79d2d 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -112,10 +112,10 @@ function statistics_help($section = "admin/help#statistics") { $output .= "
  • If you enable the view counters for content, this adds 1 database query for each node that is viewed (2 queries if it's the first time the node has ever been viewed).
  • "; $output .= "
  • If you enable the access log, this adds 1 database query for each page that Drupal displays. Logged information includes: HTTP referrer (if any), node being accessed (if any), user ID (if any), the IP address of the user, and the time the page was viewed.
  • "; $output .= ""; - $output .= "

    As with any new module, the statistics module needs to be %modules before you can use it. Also refer to the %permissions, as this module supports four separate permissions.

    "; - $output .= "

    %referers

    This admin page shows you site-wide referrer statistics. You can see 'all' statistics, 'external' statistics or 'internal' statistics. Default is 'all'.

    "; - $output .= "

    %access

    This admin page gives you an at-a-glance look at your most popular content. It is useful for understanding what content on your Drupal site is the most popular. Also on this page are links to the referrer statistics for each listed node.

    "; - $output .= "

    Configuring the statistics module

    There are some configuration options added to the main %configuration section:

    "; + $output .= "

    As with any new module, the statistics module needs to be enabled before you can use it. Also refer to the permissions section, as this module supports four separate permissions.

    "; + $output .= "

    referrers log

    This admin page shows you site-wide referrer statistics. You can see 'all' statistics, 'external' statistics or 'internal' statistics. Default is 'all'.

    "; + $output .= "

    access log

    This admin page gives you an at-a-glance look at your most popular content. It is useful for understanding what content on your Drupal site is the most popular. Also on this page are links to the referrer statistics for each listed node.

    "; + $output .= "

    Configuring the statistics module

    There are some configuration options added to the main administer » configuration section:

    "; $output .= ""; $output .= "

    Popular content block

    "; $output .= "

    This module creates a block that can display the day's top viewed content, the all time top viewed content, and the last content viewed. Each of these links can be enabled or disabled individually, and the number of posts displayed for each can be configured with a drop down menu. If you disable all sections of this block, it will not appear.

    "; - $output .= "

    Don't forget to enable the block %here-block.

    "; + $output .= "

    Don't forget to enable the block.

    "; $output .= "

    Popular content page

    "; $output .= "

    This module creates a user page that can display summaries of the day's most popular viewed content, the all time most popular content, and the last content viewed. Each of these summaries can be enabled or disabled individually, and the number of posts displayed for each can be configured with a drop down menu. You can also assign a name for the automatically generated link to the user page. If no name is set, the link will not be displayed.

    "; - $output .= "

    Permissions

    This module has four permissions that need to be configured in %permissions.

    "; + $output .= "

    Permissions

    This module has four permissions that need to be configured in the permissions section.

    "; $output .= ""; $output .= "

    \$dbrows is the number or rows you want returned in your array.

    "; - $output = t($output, array("%modules" => l(t("enabled"), "admin/system/modules"), "%permissions" => l(t("permissions section"), "admin/user/permission"), "%referers" => l(t("referrers log"), "admin/statistics/referrers"), "%access" => l(t("access log"), "admin/statistics/log"), "%configuration" => l(t("administer") ." » ". t("configuration"), "admin/system/modules/statistics"), "%here-block" => l(t("here"), "admin/system/block"))); + $output = t($output, array("%modules" => url("admin/system/modules"), "%permissions" => url("admin/user/permission"), "%referers" => url("admin/statistics/referrers"), "%access" => url("admin/statistics/log"), "%configuration" => url("admin/system/modules/statistics"), "%block" => url("admin/system/block"))); break; case 'admin/system/modules#description': $output = t("Logs access statistics for your site."); break; case 'admin/system/modules/statistics': - $output = t("Settings for the statistical information that Drupal will keep about the site. See %statistics for the actual information.", array("%statistics" => l(t("site statistics"), "admin/statistics"))); + $output = t("Settings for the statistical information that Drupal will keep about the site. See site statistics for the actual information.", array("%statistics" => url("admin/statistics"))); break; case 'admin/statistics': $output = t("This page gives you an at-a-glance look at your most popular content."); -- cgit v1.2.3