diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-08-20 21:06:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-08-20 21:06:51 +0000 |
commit | 47797714abd9fc1ce0b2d623d80afc5445bb9cfa (patch) | |
tree | a48766e5fd44ce044e2b8ed48ba82b3970294baa /modules | |
parent | 6b63aa663833ef24a1b712dde6b90ce32d24ecbb (diff) | |
download | brdo-47797714abd9fc1ce0b2d623d80afc5445bb9cfa.tar.gz brdo-47797714abd9fc1ce0b2d623d80afc5445bb9cfa.tar.bz2 |
- Updated the tracker module to the new help system scheme.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tracker.module | 9 | ||||
-rw-r--r-- | modules/tracker/tracker.module | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/modules/tracker.module b/modules/tracker.module index c58637ba6..26fc8674a 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -1,9 +1,12 @@ <?php // $Id$ -function tracker_help() { - $output .= "<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>"; - return $output; +function tracker_help($section = "admin/tracker/help") { + + 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>"); + } } function tracker_system($field) { diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index c58637ba6..26fc8674a 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -1,9 +1,12 @@ <?php // $Id$ -function tracker_help() { - $output .= "<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>"; - return $output; +function tracker_help($section = "admin/tracker/help") { + + 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>"); + } } function tracker_system($field) { |