Index: modules/book.module =================================================================== RCS file: /cvs/drupal/drupal/modules/book.module,v retrieving revision 1.319 diff -u -r1.319 book.module --- modules/book.module 6 Oct 2005 09:17:17 -0000 1.319 +++ modules/book.module 6 Oct 2005 15:10:31 -0000 @@ -422,7 +422,16 @@ foreach ($book as $key => $value) { $node->$key = $value; } - $node = theme('book_navigation', $node); + + $path = book_location($node); + // Construct the breadcrumb: + $node->breadcrumb = array(); // Overwrite the trail with a book trail. + foreach ($path as $level) { + $node->breadcrumb[] = array('path' => 'node/'. $level->nid, 'title' => $level->title); + } + $node->breadcrumb[] = array('path' => 'node/'. $node->nid); + + $node->body .= theme('book_navigation', $node); if ($page) { menu_set_location($node->breadcrumb); } @@ -439,16 +448,6 @@ * @ingroup themeable */ function theme_book_navigation($node) { - $path = book_location($node); - - // Construct the breadcrumb: - - $node->breadcrumb = array(); // Overwrite the trail with a book trail. - foreach ($path as $level) { - $node->breadcrumb[] = array('path' => 'node/'. $level->nid, 'title' => $level->title); - } - $node->breadcrumb[] = array('path' => 'node/'. $node->nid); - if ($node->nid) { $output .= '