From d12e8997c11a802ef4c28466d4937d7714f8b025 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 30 Sep 2003 10:58:29 +0000 Subject: - Fixed the admin preview problem as per Jonathan's suggestion. We'll want to think of a better solution though so I'll move that theme("header") statement back to its original place in a few weeks time. --- modules/admin.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/admin.module b/modules/admin.module index 19a1baad4..779547f3f 100644 --- a/modules/admin.module +++ b/modules/admin.module @@ -43,6 +43,8 @@ function admin_link($type) { function admin_page() { if (user_access("access administration pages")) { + theme("header"); + if ($help = menu_get_active_help()) { $contents = "$help
"; } @@ -58,7 +60,6 @@ function admin_page() { array_pop($breadcrumb); $title = menu_get_active_title(); - theme("header"); theme("breadcrumb", $breadcrumb); theme("box", $title, $contents); theme("footer"); -- cgit v1.2.3