diff --git a/modules/admin.module b/modules/admin.module index 4df79bc19e7297b5f5a89a7e5fbf8a397d7bbaa0..0cb34a60af07f37a1a8f34914c4c30864b9c240d 100644 --- a/modules/admin.module +++ b/modules/admin.module @@ -1,29 +1,21 @@ <?php // $Id$ -include_once "includes/common.inc"; - function status($message) { if ($message) { - return "<b>Status:</b> $message<hr />\n"; + return "<strong>Status:</strong> $message<hr />\n"; } } function admin_help($section) { - $output = ""; - switch ($section) { case "admin/system/modules#description": - $output .= t("Handles the administration pages."); - break; + return t("Handles the administration pages."); case "admin": - $output .= t("Welcome to the administration section. Below are the most recent system events."); - break; + return t("Welcome to the administration section. Below are the most recent system events."); case "admin/overview": - $output = t("This is a complete overview of the site administration page."); - break; + return t("This is a complete overview of the site administration page."); } - return $output; } function admin_link($type) {