summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-05-26 18:45:49 +0000
committerDries Buytaert <dries@buytaert.net>2004-05-26 18:45:49 +0000
commit2082dcbcc9d285694e1e29d2f8abb4b0e9774bee (patch)
tree9f03a2e7893ce17c37010e0035fd431e169e0422 /modules
parent8ebcf4aab620cc523884b1b13f5ced4c3e9088bc (diff)
downloadbrdo-2082dcbcc9d285694e1e29d2f8abb4b0e9774bee.tar.gz
brdo-2082dcbcc9d285694e1e29d2f8abb4b0e9774bee.tar.bz2
- Patch by JonBob: fixed problem with theme admin page. Reported by Morbus.
Diffstat (limited to 'modules')
-rw-r--r--modules/admin.module12
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/admin.module b/modules/admin.module
index 276a63a2e..b4f5e9c27 100644
--- a/modules/admin.module
+++ b/modules/admin.module
@@ -6,12 +6,10 @@
*/
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.");
+ 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.');
}
}
@@ -28,7 +26,7 @@ function admin_link($type) {
* Menu callback; provides the main page of the administration section.
*/
function admin_main_page() {
- print theme("page", watchdog_overview("actions"));
+ watchdog_overview('actions');
}
?>