From fe09d5a7867e9f5294e23cb202def475c102fcbc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 27 Sep 2003 06:00:43 +0000 Subject: - Committed Al's new admin link texts. Remarks: 1) As explained by Al, there is still a glitch with the 'create content' menu. 2) The user module part of the patch did not apply due to Kjartan's earlier patch. --- modules/statistics/statistics.module | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/statistics/statistics.module') diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index cbe1a2f98..7b0b9c09d 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -117,7 +117,7 @@ function statistics_link($type, $node = 0, $main = 0) { if ($type == "system") { if ((user_access("administer statistics module") || (user_access("administer statistics")))) { - menu("admin/statistics", "site statistics", "statistics_admin", statistics_help("admin/statistics"), 6); + menu("admin/statistics", "statistics", "statistics_admin", statistics_help("admin/statistics"), 6); menu("admin/statistics/referrers", "referrer log", "statistics_admin", statistics_help("admin/statistics/referrers") ); menu("admin/statistics/referrers/internal", "internal referrers only", "statistics_admin", statistics_help("admin/statistics/referrers/internal") ); menu("admin/statistics/referrers/external", "external referrers only", "statistics_admin", statistics_help("admin/statistics/referrers/external") ); @@ -129,8 +129,8 @@ function statistics_link($type, $node = 0, $main = 0) { menu("admin/statistics/help", "help", "statistics_help", NULL, 9); // block configuration: - menu("admin/block/top nodes block", "configure 'top nodes' block", "statistics_admin", statistics_help("admin/block/top nodes/block"), 5); - menu("admin/block/whos online block", "configure 'who is online' block", "statistics_admin", statistics_help("admin/block/whos online block"), 5); + menu("admin/system/block/top nodes block", "configure 'top nodes' block", "statistics_admin", statistics_help("admin/system/block/top nodes/block"), 5); + menu("admin/system/block/whos online block", "configure 'who is online' block", "statistics_admin", statistics_help("admin/system/block/whos online block"), 5); } } @@ -172,13 +172,13 @@ function statistics_help($section = "admin/statistics/help") { $output .= "

Top nodes block

"; $output .= "

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

"; $output .= "

The administrative \"top nodes block\" screen also allows you to assign a name to the block.

"; - $output .= strtr("

Don't forget to enable the block %here.

",array("%here" => l(t("here"), "admin/block") )); + $output .= strtr("

Don't forget to enable the block %here.

",array("%here" => l(t("here"), "admin/system/block") )); $output .= "

Top nodes page

"; $output .= "

This module creates a user page that can display summaries of the day's top viewed nodes, the all time top nodes and the last nodes viewed. Each of these summaries can be enabled or disabled individually, and the number of nodes displayed for each can be configured with a drop down menu.

"; $output .= "

The administrative \"top nodes page\" screen also allows you to assign a name for the automatically generated link to the user page. If no name is set, the link will not be displayed.

"; $output .= "

Who's online block

This module creates a block that can display how many user's and guests are currently online. You are able to configure the name of the block, the name of a sub-block for displaying names of user's currently online, how recently a user must have been active to be considered online, the maximum characters to display from a user's name and the maximum number of user names to display.

"; - $output .= strtr("

Don't forget to enable the block %here.

",array("%here" => l(t("here"), "admin/block") )); + $output .= strtr("

Don't forget to enable the block %here.

",array("%here" => l(t("here"), "admin/system/block") )); $output .= strtr("

Permissions

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

",array("%permissions" => l(t("user permissions"), "admin/user/permission") )); $output .= "