- 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.
4.3.x
Dries Buytaert 2003-09-30 10:58:29 +00:00
parent 52c4240600
commit d12e8997c1
1 changed files with 2 additions and 1 deletions

View File

@ -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");