2003-01-06 19:51:01 +00:00
|
|
|
<?php
|
|
|
|
// $Id$
|
|
|
|
|
2003-08-05 18:33:39 +00:00
|
|
|
function admin_help($section) {
|
|
|
|
switch ($section) {
|
2003-10-07 18:16:41 +00:00
|
|
|
case "admin/system/modules#description":
|
2003-11-18 20:44:33 +00:00
|
|
|
return t("Handles the administration pages.");
|
2003-09-26 10:04:09 +00:00
|
|
|
case "admin":
|
2003-11-18 20:44:33 +00:00
|
|
|
return t("Welcome to the administration section. Below are the most recent system events.");
|
2003-10-03 14:55:27 +00:00
|
|
|
case "admin/overview":
|
2003-11-18 20:44:33 +00:00
|
|
|
return t("This is a complete overview of the site administration page.");
|
2003-08-05 18:33:39 +00:00
|
|
|
}
|
|
|
|
}
|
2003-09-26 10:04:09 +00:00
|
|
|
|
2003-01-26 13:27:59 +00:00
|
|
|
function admin_link($type) {
|
2003-09-26 23:05:14 +00:00
|
|
|
if ($type == "system" && user_access("access administration pages")) {
|
2003-10-12 21:25:42 +00:00
|
|
|
menu("admin", t("administer"), "admin_admin", 9);
|
2003-01-26 13:27:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2003-11-08 09:56:22 +00:00
|
|
|
function admin_admin() {
|
2004-02-15 20:09:46 +00:00
|
|
|
print theme("page", watchdog_overview("actions"));
|
2003-01-06 19:51:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|