diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-03 14:55:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-03 14:55:27 +0000 |
commit | 058971c33b8dca63fd33b188328fc3e3ec9fb372 (patch) | |
tree | de80494d6eca73119a1ff2d3a9fe448ea0c13497 /modules/title.module | |
parent | 35f3bcd0426ea207e40c4a2dd6cae8a1d26c794e (diff) | |
download | brdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.gz brdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.bz2 |
- Help improvements and translation improvements from Michael. Thanks!
Diffstat (limited to 'modules/title.module')
-rw-r--r-- | modules/title.module | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/modules/title.module b/modules/title.module index 311200ff0..5e6c2e6bd 100644 --- a/modules/title.module +++ b/modules/title.module @@ -2,8 +2,22 @@ // $Id$ function title_system($field){ - $system["description"] = t("Enables users to link to stories, articles or similar content by title."); - return $system[$field]; + $output = ""; + + if ($field == "description") {$output = title_help("admin/system/modules"); }; + return $output; +} + +function title_help($section) { + $output = ""; + + switch ($section) { + case 'admin/system/modules': + $output = t("Enables users to link to stories, articles or similar content by title."); + break; + } + + return $output; } function title_page() { |