summaryrefslogtreecommitdiff
path: root/modules/admin.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin.module')
-rw-r--r--modules/admin.module8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/admin.module b/modules/admin.module
index e1de707d6..b82fc2f8e 100644
--- a/modules/admin.module
+++ b/modules/admin.module
@@ -26,14 +26,10 @@ function admin_link($type) {
function admin_admin() {
if (user_access("access administration pages")) {
- print theme("header");
- print watchdog_overview("actions");
- print theme("footer");
+ print theme("page", watchdog_overview("actions"));
}
else {
- print theme("header");
- print message_access();
- print theme("footer");
+ print theme("page", message_access());
}
}