home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / CMS / drupal-6.0.exe / drupal-6.0 / modules / book / book-all-books-block.tpl.php next >
Encoding:
PHP Script  |  2007-11-04  |  802 b   |  23 lines

  1. <?php
  2. // $Id: book-all-books-block.tpl.php,v 1.1 2007/11/04 14:29:09 goba Exp $
  3.  
  4. /**
  5.  * @file book-all-books-block.tpl.php
  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 rendered as an unordered list. It is
  12.  *   keyed to the parent book ID which is also the ID of the parent node
  13.  *   containing an entire outline.
  14.  *
  15.  * @see template_preprocess_book_all_books_block()
  16.  */
  17. ?>
  18. <?php foreach ($book_menus as $book_id => $menu) : ?>
  19. <div id="book-block-menu-<?php print $book_id; ?>" class="book-block-menu">
  20.   <?php print $menu; ?>
  21. </div>
  22. <?php endforeach; ?>
  23.