Projet

Général

Profil

Paste
Télécharger (686 octets) Statistiques
| Branche: | Révision:

root / drupal7 / modules / book / book-all-books-block.tpl.php @ 6eb57d7f

1
<?php
2

    
3
/**
4
 * @file
5
 * Default theme implementation for rendering book outlines within a block.
6
 *
7
 * This template is used only when the block is configured to "show block on all
8
 * 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
 * @see template_preprocess_book_all_books_block()
15
 *
16
 * @ingroup themeable
17
 */
18
?>
19
<?php foreach ($book_menus as $book_id => $menu): ?>
20
  <div id="book-block-menu-<?php print $book_id; ?>" class="book-block-menu">
21
    <?php print render($menu); ?>
22
  </div>
23
<?php endforeach; ?>