blob: 0cb34a60af07f37a1a8f34914c4c30864b9c240d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php
// $Id$
function status($message) {
if ($message) {
return "<strong>Status:</strong> $message<hr />\n";
}
}
function admin_help($section) {
switch ($section) {
case "admin/system/modules#description":
return t("Handles the administration pages.");
case "admin":
return t("Welcome to the administration section. Below are the most recent system events.");
case "admin/overview":
return t("This is a complete overview of the site administration page.");
}
}
function admin_link($type) {
if ($type == "system" && user_access("access administration pages")) {
menu("admin", t("administer"), "admin_admin", 9);
}
}
function admin_admin() {
if (user_access("access administration pages")) {
return watchdog_overview("actions");
}
}
?>
|