- Bugfix: fixed bug #3807.
parent
777c2129b6
commit
1621ecdb9c
|
@ -34,6 +34,10 @@ function admin_link($type) {
|
||||||
|
|
||||||
function admin_page() {
|
function admin_page() {
|
||||||
if (user_access("access administration pages")) {
|
if (user_access("access administration pages")) {
|
||||||
|
$title = menu_get_active_title();
|
||||||
|
|
||||||
|
theme("header", $title);
|
||||||
|
|
||||||
$contents = "";
|
$contents = "";
|
||||||
|
|
||||||
if ($help = menu_get_active_help()) {
|
if ($help = menu_get_active_help()) {
|
||||||
|
@ -49,9 +53,7 @@ function admin_page() {
|
||||||
|
|
||||||
$breadcrumb = menu_get_active_breadcrumb();
|
$breadcrumb = menu_get_active_breadcrumb();
|
||||||
array_pop($breadcrumb);
|
array_pop($breadcrumb);
|
||||||
$title = menu_get_active_title();
|
|
||||||
|
|
||||||
theme("header", $title);
|
|
||||||
theme("breadcrumb", $breadcrumb);
|
theme("breadcrumb", $breadcrumb);
|
||||||
theme("box", $title, $contents);
|
theme("box", $title, $contents);
|
||||||
theme("footer");
|
theme("footer");
|
||||||
|
|
Loading…
Reference in New Issue