Index: book_manager.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/book_manager/book_manager.module,v
retrieving revision 1.1.2.14.2.8
diff -u -p -r1.1.2.14.2.8 book_manager.module
--- book_manager.module	3 Dec 2010 06:56:45 -0000	1.1.2.14.2.8
+++ book_manager.module	3 Dec 2010 08:16:29 -0000
@@ -868,7 +868,13 @@ function book_manager_block($op = 'list'
         $title = db_result(db_query(db_rewrite_sql('SELECT n.title FROM {node} n WHERE n.nid = %d'), $node->book['bid']));
         // Only show the block if the user has view access for the top-level node.
         if ($title) {
-          $tree = menu_tree_all_data($node->book['menu_name'], $node->book);
+          if (variable_get('book_manager_show_full_outline', 0)) {
+            $tree = menu_tree_all_data($node->book['menu_name']);
+          }
+          else {
+            $tree = menu_tree_all_data($node->book['menu_name'], $node->book);
+          }
+
           // There should only be one element at the top level.
           $data = array_shift($tree);
           $block['subject'] = theme('book_title_link', $data['link']);
@@ -905,10 +911,18 @@ function book_manager_block($op = 'list'
         '#default_value' => variable_get('book_manager_include_top_level', 'exclude'),
         '#description' => t("A link to the top level book node's title is used as the block title.  This option allows you to include a link to the top level book node in the block content.  If you do this, then you can override the block title while still displaying a link to the top level book node."),
       );
+      $form['book_manager_show_full_outline'] = array(
+        '#type' => 'select',
+        '#title' => t('Show full outline in block'),
+        '#options' => array(0 => t('No'), 1 => t('Yes')),
+        '#default_value' => variable_get('book_manager_show_full_outline', 0),
+        '#description' => t('Show the complete book outline or only the active menu trail.'), 
+      );
       return $form;
     case 'save':
       variable_set('book_manager_block_mode', $edit['book_manager_block_mode']);
       variable_set('book_manager_include_top_level', $edit['book_manager_include_top_level']);
+      variable_set('book_manager_show_full_outline', $edit['book_manager_show_full_outline']);
       break;
   }
 }
