summaryrefslogtreecommitdiff
path: root/modules/admin.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin.module')
-rw-r--r--modules/admin.module16
1 files changed, 4 insertions, 12 deletions
diff --git a/modules/admin.module b/modules/admin.module
index 4df79bc19..0cb34a60a 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) {