Mercurial > defr > drupal > core
annotate modules/book/book-all-books-block.tpl.php @ 20:e3d20ebd63d1 tip
Added tag 6.9 for changeset 3edae6ecd6c6
| author | Franck Deroche <franck@defr.org> | 
|---|---|
| date | Thu, 15 Jan 2009 10:16:10 +0100 | 
| parents | c1f4ac30525a | 
| children | 
| rev | line source | 
|---|---|
| webmaster@1 | 1 <?php | 
| webmaster@1 | 2 // $Id: book-all-books-block.tpl.php,v 1.1 2007/11/04 14:29:09 goba Exp $ | 
| webmaster@1 | 3 | 
| webmaster@1 | 4 /** | 
| webmaster@1 | 5 * @file book-all-books-block.tpl.php | 
| webmaster@1 | 6 * Default theme implementation for rendering book outlines within a block. | 
| webmaster@1 | 7 * This template is used only when the block is configured to "show block on | 
| webmaster@1 | 8 * all pages" which presents Multiple independent books on all pages. | 
| webmaster@1 | 9 * | 
| webmaster@1 | 10 * Available variables: | 
| webmaster@1 | 11 * - $book_menus: Array of book outlines rendered as an unordered list. It is | 
| webmaster@1 | 12 * keyed to the parent book ID which is also the ID of the parent node | 
| webmaster@1 | 13 * containing an entire outline. | 
| webmaster@1 | 14 * | 
| webmaster@1 | 15 * @see template_preprocess_book_all_books_block() | 
| webmaster@1 | 16 */ | 
| webmaster@1 | 17 ?> | 
| webmaster@1 | 18 <?php foreach ($book_menus as $book_id => $menu) : ?> | 
| webmaster@1 | 19 <div id="book-block-menu-<?php print $book_id; ?>" class="book-block-menu"> | 
| webmaster@1 | 20 <?php print $menu; ?> | 
| webmaster@1 | 21 </div> | 
| webmaster@1 | 22 <?php endforeach; ?> | 
