[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/book/ -> book-all-books-block.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file book-all-books-block.tpl.php
   5   * Default theme implementation for rendering book outlines within a block.
   6   * This template is used only when the block is configured to "show block on
   7   * all pages" which presents Multiple independent books on all pages.
   8   *
   9   * Available variables:
  10   * - $book_menus: Array of book outlines rendered as an unordered list. It is
  11   *   keyed to the parent book ID which is also the ID of the parent node
  12   *   containing an entire outline.
  13   *
  14   * @see template_preprocess_book_all_books_block()
  15   */
  16  ?>
  17  <?php foreach ($book_menus as $book_id => $menu) : ?>
  18  <div id="book-block-menu-<?php print $book_id; ?>" class="book-block-menu">
  19    <?php print $menu; ?>
  20  </div>
  21  <?php endforeach; ?>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7