Status: $message
\n"; } } function admin_link($type) { if ($type == "admin") { menu("admin", "Administration", NULL); menu("admin/sitemap", "sitemap", "sitemap_callback", NULL, 8); } } function sitemap_callback() { return menu_map("admin"); } function admin_admin() { print menu_map(); } function admin_page() { global $base_url; if (user_access("access administration pages")) { drupal_page_header(); ?> <?php echo variable_get("site_name", "drupal") . " " . t("administration pages"); ?> " /> > \"Druplicon"; print "
"; if ($path = menu_path()) { print "

$path

"; } if ($help = menu_help()) { print "$help"; } print "
"; if (arg(1)) { //print module_invoke(arg(1), "admin"); print menu_execute_action(); } else { print "

". t("System messages") ."

"; print watchdog_overview("actions"); } print "
"; /* ** Menu: ** We rebuild the admin menu once more because one might have ** enabled/disabled themes or modules, changed permissions, etc. */ menu_build("admin"); print "
"; echo "

". variable_get("site_name", "drupal") ."

"; print menu_tree("admin") ; print "
"; print theme_footer(); ?>