diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-19 07:41:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-19 07:41:55 +0000 |
commit | 2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389 (patch) | |
tree | 2035e2cd3eaff49f7179cb7b05bf9fe31dcc634d /modules/book.module | |
parent | e4695fd5edd0d2da9f92845ea3868bb03e75f630 (diff) | |
download | brdo-2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389.tar.gz brdo-2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389.tar.bz2 |
- Committed a partial administration page integration patch.
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/book.module b/modules/book.module index 86e904405..0a74dda55 100644 --- a/modules/book.module +++ b/modules/book.module @@ -628,7 +628,7 @@ function book_page() { theme("footer"); break; case "print": - print book_print(arg(2), $depth = 1); + return book_print(arg(2), $depth = 1); break; default: book_render(); @@ -810,18 +810,19 @@ function book_admin() { case t("Add to book outline"): case t("Remove from book outline"): case t("Update book outline"): - print book_node_link(); + $output = book_node_link(); break; case "orphan": - print book_admin_orphan(); + $output = book_admin_orphan(); break; case t("Save book pages"): - print status(book_admin_save(arg(3), $edit)); + $output = status(book_admin_save(arg(3), $edit)); // fall through: default: - print book_admin_view(arg(3)); + $output .= book_admin_view(arg(3)); break; } + return $output; } } |