summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/admin.module8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/admin.module b/modules/admin.module
index fffc6801c..37ab9832a 100644
--- a/modules/admin.module
+++ b/modules/admin.module
@@ -34,15 +34,17 @@ function admin_link($type) {
function admin_page() {
if (user_access("access administration pages")) {
+ $contents = "";
+
if ($help = menu_get_active_help()) {
- $contents = "<small>$help</small><hr />";
+ $contents .= "<small>$help</small><hr />";
}
+
if (arg(1)) {
$contents .= menu_execute_active_handler();
}
else {
- $contents.= watchdog_overview("actions");
- $title = t("System messages");
+ $contents .= watchdog_overview("actions");
}
$breadcrumb = menu_get_active_breadcrumb();