From 951b553a9887df92d93ecc42e7e83ca568e26aae Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 9 Nov 2003 23:27:22 +0000 Subject: - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX. --- modules/title.module | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/title.module') 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 .= ""; - 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"); } } -- cgit v1.2.3