- Added missing print statements. Patch #144 by CodeMonkeyX.

4.4.x
Dries Buytaert 2003-11-12 21:54:16 +00:00
parent c629c7bd09
commit e8de9721d8
1 changed files with 6 additions and 6 deletions

View File

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