diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-09 23:27:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-09 23:27:22 +0000 |
commit | 951b553a9887df92d93ecc42e7e83ca568e26aae (patch) | |
tree | c35a2ae7f53ecbd83e6ff52b847a6c469e5a438a /modules/search | |
parent | 00ee7f747b0920f2b8375b494930b19a25030a57 (diff) | |
download | brdo-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.module | 22 |
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); |