From a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 24 Apr 2005 16:34:36 +0000 Subject: - Patch 20910 by chx: centralize print theme page. --- modules/book.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/book.module') 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; } /** -- cgit v1.2.3