- Added page titles. Patch 0105 by Kendow.

4.3.x
Dries Buytaert 2003-09-16 15:04:02 +00:00
parent 93e6513ebc
commit 01f3bcfc75
2 changed files with 4 additions and 4 deletions

View File

@ -370,7 +370,7 @@ function search_view($keys) {
$form .= "<br />". $help_link; $form .= "<br />". $help_link;
} }
theme("header"); theme("header", t("Search"));
if ($form) { if ($form) {
theme("box", t("Search"), $form); theme("box", t("Search"), $form);
@ -388,7 +388,7 @@ function search_view($keys) {
theme("footer"); theme("footer");
} }
else { else {
theme("header"); theme("header", t("Access denied"));
theme("box", t("Access denied"), message_access()); theme("box", t("Access denied"), message_access());
theme("footer"); theme("footer");
} }

View File

@ -370,7 +370,7 @@ function search_view($keys) {
$form .= "<br />". $help_link; $form .= "<br />". $help_link;
} }
theme("header"); theme("header", t("Search"));
if ($form) { if ($form) {
theme("box", t("Search"), $form); theme("box", t("Search"), $form);
@ -388,7 +388,7 @@ function search_view($keys) {
theme("footer"); theme("footer");
} }
else { else {
theme("header"); theme("header", t("Access denied"));
theme("box", t("Access denied"), message_access()); theme("box", t("Access denied"), message_access());
theme("footer"); theme("footer");
} }