- 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
parent
52c4240600
commit
d12e8997c1
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue