diff options
Diffstat (limited to 'modules/tracker/tracker.module')
-rw-r--r-- | modules/tracker/tracker.module | 17 |
1 files changed, 13 insertions, 4 deletions
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("<p>The tracker module is a handy module for displaying the most recent posts. By following the <i>view recent posts</i> link in the user block, a user may quickly review all recent postings.</p>"); + case 'admin/tracker/help': + $output = t("<p>The tracker module is a handy module for displaying the most recent posts. By following the <i>view recent posts</i> link in the user block, a user may quickly review all recent postings.</p>"); + 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) { |