- Admin module clean-up. Patch by Kjartan. (The status function should be
a theme_ function really.)4.4.x
parent
a0640e66b7
commit
fe9a6afa08
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue