book-all-books-block.tpl.php 603 Bytes
Newer Older
1
2
3
<?php

/**
4
 * @file
5
6
7
8
9
 * Default theme implementation for rendering book outlines within a block.
 * This template is used only when the block is configured to "show block on
 * all pages" which presents Multiple independent books on all pages.
 *
 * Available variables:
10
 * - $book_menus: Array of book outlines keyed to the parent book ID. Call
11
 *   render() on each to print it as an unordered list.
12
13
 */
?>
14
<?php foreach ($book_menus as $book_id => $menu): ?>
15
  <nav id="book-block-menu-<?php print $book_id; ?>" class="book-block-menu">
16
    <?php print render($menu); ?>
17
  </nav>
18
<?php endforeach; ?>