mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-01 06:58:55 +00:00
Initial commit
This commit is contained in:
commit
c5e731d8ae
2773 changed files with 600767 additions and 0 deletions
23
drupal7/web/modules/book/book-all-books-block.tpl.php
Normal file
23
drupal7/web/modules/book/book-all-books-block.tpl.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* 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:
|
||||
* - $book_menus: Array of book outlines keyed to the parent book ID. Call
|
||||
* render() on each to print it as an unordered list.
|
||||
*
|
||||
* @see template_preprocess_book_all_books_block()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
?>
|
||||
<?php foreach ($book_menus as $book_id => $menu): ?>
|
||||
<div id="book-block-menu-<?php print $book_id; ?>" class="book-block-menu">
|
||||
<?php print render($menu); ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
Loading…
Add table
Add a link
Reference in a new issue