summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-11-09 23:27:22 +0000
committerDries Buytaert <dries@buytaert.net>2003-11-09 23:27:22 +0000
commit951b553a9887df92d93ecc42e7e83ca568e26aae (patch)
treec35a2ae7f53ecbd83e6ff52b847a6c469e5a438a /modules/search
parent00ee7f747b0920f2b8375b494930b19a25030a57 (diff)
downloadbrdo-951b553a9887df92d93ecc42e7e83ca568e26aae.tar.gz
brdo-951b553a9887df92d93ecc42e7e83ca568e26aae.tar.bz2
- Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX.
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.module22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 447c5a3c0..6d9b1e842 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -362,27 +362,27 @@ function search_view($keys) {
$form .= "<br />". $help_link;
}
- theme("header", t("Search"));
+ print theme("header", t("Search"));
if ($form) {
- theme("box", t("Search"), $form);
+ print theme("box", t("Search"), $form);
}
if ($keys) {
if ($output) {
- theme("box", t("Search Results"), $output);
+ print theme("box", t("Search Results"), $output);
}
else {
- theme("box", t("Search Results"), t("Your search yielded no results."));
+ print theme("box", t("Search Results"), t("Your search yielded no results."));
}
}
- theme("footer");
+ print theme("footer");
}
else {
- theme("header", t("Access denied"));
- theme("box", t("Access denied"), message_access());
- theme("footer");
+ print theme("header", t("Access denied"));
+ print theme("box", t("Access denied"), message_access());
+ print theme("footer");
}
}
@@ -392,9 +392,9 @@ function search_page() {
switch (arg(1)) {
case "help":
- theme("header");
- theme("box", t("Search Help"), search_help());
- theme("footer");
+ print theme("header");
+ print theme("box", t("Search Help"), search_help());
+ print theme("footer");
break;
default:
search_view($keys);