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/title.module | |
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/title.module')
-rw-r--r-- | modules/title.module | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/title.module b/modules/title.module index 6dbd63040..a2fdd0b9d 100644 --- a/modules/title.module +++ b/modules/title.module @@ -32,9 +32,9 @@ function title_page() { else if (db_num_rows($result) == 1) { $node = db_fetch_object($result); $node = node_load(array("nid" => $node->nid)); - theme("header"); + print theme("header"); print node_show($node, NULL); - theme("footer"); + print theme("footer"); } else { $header = array(t("Type"), t("Title"), t("Author")); @@ -49,15 +49,15 @@ function title_page() { $output .= table($header, $rows); $output .= "</div>"; - theme("header"); - theme("box", t("Matching Posts"), $output); - theme("footer"); + print theme("header"); + print theme("box", t("Matching Posts"), $output); + print theme("footer"); } } else { - theme("header"); - theme("box", t("Access denied"), message_access()); - theme("footer"); + print theme("header"); + print theme("box", t("Access denied"), message_access()); + print theme("footer"); } } |