\n";
}
}
function admin_system($field){
$system["description"] = t("Handles the administration pages.");
return $system[$field];
}
function admin_link($type) {
if ($type == "admin") {
$help["admin"] = t("Welcome to the administration page. Below are the most recent system events. To get started please choose an item in the left column. If there is an arrow it will expand into a submenu. To jump up a level use the link above this block of text. To return to the home page click on the site name, and to go to Drupal's home page click on Druplicon, the drop on to the right.", array("%sitemonitor" => url("admin/watchdog")));
$help["overview"] = t("This is a complete overview of the site administration page.");
menu("admin", "Administration", NULL, $help["admin"]);
menu("admin/overview", "sitemap", "overview_callback", $help["overview"], 8);
}
}
function overview_callback() {
return menu_map("admin");
}
function admin_admin() {
print menu_map();
}
function admin_page() {
global $base_url;
if (user_access("access administration pages")) {
?>
variable_get("site_name", "drupal"))); ?>
>
";
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 "