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/title.module | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'modules/title.module') 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() { -- cgit v1.2.3