summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module26
1 files changed, 13 insertions, 13 deletions
diff --git a/modules/book.module b/modules/book.module
index ec8555095..5b94c60fe 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -390,7 +390,7 @@ function book_view($node, $main = 0) {
*/
if ($main) {
- theme("node", $node, $main);
+ print theme("node", $node, $main);
}
else {
if ($node->moderate) {
@@ -400,10 +400,10 @@ function book_view($node, $main = 0) {
if (arg(1) == "view") {
$node = book_navigation($node);
// Print the breadcrumb
- theme("breadcrumb", $node->breadcrumb);
+ print theme("breadcrumb", $node->breadcrumb);
}
// Print the node
- theme("node", $node, $main);
+ print theme("node", $node, $main);
}
}
@@ -441,8 +441,8 @@ function book_show($node, $cid) {
/*
** View the node
*/
- theme("breadcrumb", $node->breadcrumb);
- theme("node", $node, 0);
+ print theme("breadcrumb", $node->breadcrumb);
+ print theme("node", $node, 0);
}
else {
@@ -621,9 +621,9 @@ function book_render() {
}
}
- theme("header");
- theme("box", t("Books"), "$output");
- theme("footer");
+ print theme("header");
+ print theme("box", t("Books"), "$output");
+ print theme("footer");
}
function book_page() {
@@ -632,9 +632,9 @@ function book_page() {
switch (arg(1)) {
case "view":
$node = node_load(array("nid" => arg(2)));
- theme("header");
+ print theme("header");
book_show($node, arg(3));
- theme("footer");
+ print theme("footer");
break;
case "print":
print book_print(arg(2), $depth = 1);
@@ -644,9 +644,9 @@ function book_page() {
}
}
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");
}
}