Parent Directory
|
Revision Log
|
Revision Graph
- Patch #283723 by pwolanin, sun | eddified, moshe weitzman, Dries, aether, Arancaytar: Added Make menu_tree_output() return renderable output.
| 1 | <?php |
| 2 | // $Id: book-all-books-block.tpl.php,v 1.3 2009/04/08 03:23:46 dries Exp $ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Default theme implementation for rendering book outlines within a block. |
| 7 | * This template is used only when the block is configured to "show block on |
| 8 | * all pages" which presents Multiple independent books on all pages. |
| 9 | * |
| 10 | * Available variables: |
| 11 | * - $book_menus: Array of book outlines keyed to the parent book ID. Call |
| 12 | * render() on each to print it as an unordered list. |
| 13 | */ |
| 14 | ?> |
| 15 | <?php foreach ($book_menus as $book_id => $menu) : ?> |
| 16 | <div id="book-block-menu-<?php print $book_id; ?>" class="book-block-menu"> |
| 17 | <?php print render($menu); ?> |
| 18 | </div> |
| 19 | <?php endforeach; ?> |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |