/[drupal]/drupal/modules/book/book-all-books-block.tpl.php
ViewVC logotype

Contents of /drupal/modules/book/book-all-books-block.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Fri Sep 18 10:54:20 2009 UTC (2 months, 1 week ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10, HEAD
Changes since 1.3: +4 -5 lines
File MIME type: text/x-php
- 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