diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-30 10:58:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-30 10:58:29 +0000 |
commit | d12e8997c11a802ef4c28466d4937d7714f8b025 (patch) | |
tree | 126207a59aad4e9808c39dcdb62244ee91e087df | |
parent | 52c4240600f3140bbf646c1b22b50187d333f917 (diff) | |
download | brdo-d12e8997c11a802ef4c28466d4937d7714f8b025.tar.gz brdo-d12e8997c11a802ef4c28466d4937d7714f8b025.tar.bz2 |
- 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.
-rw-r--r-- | modules/admin.module | 3 |
1 files changed, 2 insertions, 1 deletions
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 = "<small>$help</small><hr />"; } @@ -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"); |