summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-24 16:34:36 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-24 16:34:36 +0000
commita76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9 (patch)
tree77a2538001468623dc122943f019daeb6fce9be1 /modules/book.module
parent79a5700c57e8ed86b4aab66022a448df978d2e3f (diff)
downloadbrdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.gz
brdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.bz2
- Patch 20910 by chx: centralize print theme page.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/book.module b/modules/book.module
index e14002028..c9e0406a3 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -288,7 +288,7 @@ function book_outline() {
}
drupal_set_title(check_plain($node->title));
- print theme('page', form($output));
+ return form($output);
}
}
}
@@ -611,7 +611,7 @@ function book_render() {
}
drupal_set_title(t('Books'));
- print theme('page', $output);
+ return $output;
}
/**
@@ -767,7 +767,7 @@ function book_admin_orphan() {
$output .= theme('table', $header, $rows);
}
- print theme('page', $output);
+ return $output;
}
/**
@@ -785,7 +785,7 @@ function book_admin($nid = 0) {
$output .= book_admin_view($nid);
break;
}
- print theme('page', $output);
+ return $output;
}
/**