Commit 01f3bcfc authored by Dries's avatar Dries
Browse files

- Added page titles. Patch 0105 by Kendow.

parent 93e6513e
...@@ -370,7 +370,7 @@ function search_view($keys) { ...@@ -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) { ...@@ -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");
} }
......
...@@ -370,7 +370,7 @@ function search_view($keys) { ...@@ -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) { ...@@ -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");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment