From 058971c33b8dca63fd33b188328fc3e3ec9fb372 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 3 Oct 2003 14:55:27 +0000 Subject: - Help improvements and translation improvements from Michael. Thanks! --- modules/tracker/tracker.module | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'modules/tracker') diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 9286bb586..1fdd6c093 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -2,16 +2,25 @@ // $Id$ function tracker_help($section = "admin/tracker/help") { + $output = ""; switch ($section) { - case "admin/tracker/help": - return t("

The tracker module is a handy module for displaying the most recent posts. By following the view recent posts link in the user block, a user may quickly review all recent postings.

"); + case 'admin/tracker/help': + $output = t("

The tracker module is a handy module for displaying the most recent posts. By following the view recent posts link in the user block, a user may quickly review all recent postings.

"); + break; + case 'admin/system/modules': + $output = t("Enables tracking of recent posts for users."); + break; } + + return $output; } function tracker_system($field) { - $system["description"] = t("Enables tracking of recent posts for users."); - return $system[$field]; + $output = ""; + + if ($field == "description") {$output = tracker_help("admin/system/modules"); }; + return $output; } function tracker_link($type) { -- cgit v1.2.3