summaryrefslogtreecommitdiff
path: root/modules/tracker/tracker.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-03 14:55:27 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-03 14:55:27 +0000
commit058971c33b8dca63fd33b188328fc3e3ec9fb372 (patch)
treede80494d6eca73119a1ff2d3a9fe448ea0c13497 /modules/tracker/tracker.module
parent35f3bcd0426ea207e40c4a2dd6cae8a1d26c794e (diff)
downloadbrdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.gz
brdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.bz2
- Help improvements and translation improvements from Michael. Thanks!
Diffstat (limited to 'modules/tracker/tracker.module')
-rw-r--r--modules/tracker/tracker.module17
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) {