Commit c3ede753 authored by Dries's avatar Dries

parent 48fd8bfa
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment