- Added missing print statements. Patch #144 by CodeMonkeyX.
parent
c629c7bd09
commit
e8de9721d8
12
index.php
12
index.php
|
@ -14,14 +14,14 @@ if (menu_active_handler_exists()) {
|
||||||
array_pop($breadcrumb);
|
array_pop($breadcrumb);
|
||||||
$title = menu_get_active_title();
|
$title = menu_get_active_title();
|
||||||
|
|
||||||
theme("header");
|
print theme("header");
|
||||||
theme("breadcrumb", $breadcrumb);
|
print theme("breadcrumb", $breadcrumb);
|
||||||
if ($help = menu_get_active_help()) {
|
if ($help = menu_get_active_help()) {
|
||||||
$contents = "<small>$help</small><hr />";
|
$contents = "<small>$help</small><hr />";
|
||||||
}
|
}
|
||||||
$contents .= menu_execute_active_handler();
|
$contents .= menu_execute_active_handler();
|
||||||
theme("box", $title, $contents);
|
print theme("box", $title, $contents);
|
||||||
theme("footer");
|
print theme("footer");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$mod = arg(0);
|
$mod = arg(0);
|
||||||
|
@ -34,8 +34,8 @@ else {
|
||||||
module_invoke(variable_get("site_frontpage", "node"), "page");
|
module_invoke(variable_get("site_frontpage", "node"), "page");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
theme("header");
|
print theme("header");
|
||||||
theme("footer");
|
print theme("footer");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue