diff options
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/book.module b/modules/book.module index ae744eac9..76bb98b60 100644 --- a/modules/book.module +++ b/modules/book.module @@ -439,7 +439,7 @@ function book_nodeapi(&$node, $op, $teaser, $page) { foreach ($book as $key => $value) { $node->$key = $value; } - $node = book_navigation($node); + $node = theme('book_navigation', $node); if ($page) { menu_set_location($node->breadcrumb); } @@ -452,8 +452,10 @@ function book_nodeapi(&$node, $op, $teaser, $page) { /** * Prepares both the custom breadcrumb trail and the forward/backward * navigation for a node presented as a book page. + * + * @ingroup themeable */ -function book_navigation($node) { +function theme_book_navigation($node) { $path = book_location($node); // Construct the breadcrumb: |