| 1 | <?php |
| 2 | // $Id: book-node-export-html.tpl.php,v 1.2 2008/05/15 21:19:24 dries Exp $ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Default theme implementation for rendering a single node in a printer |
| 7 | * friendly outline. |
| 8 | * |
| 9 | * @see book-node-export-html.tpl.php |
| 10 | * Where it is collected and printed out. |
| 11 | * |
| 12 | * Available variables: |
| 13 | * - $depth: Depth of the current node inside the outline. |
| 14 | * - $title: Node title. |
| 15 | * - $content: Node content. |
| 16 | * - $children: All the child nodes recursively rendered through this file. |
| 17 | * |
| 18 | * @see template_preprocess_book_node_export_html() |
| 19 | */ |
| 20 | ?> |
| 21 | <div id="node-<?php print $node->nid; ?>" class="section-<?php print $depth; ?>"> |
| 22 | <h1 class="book-heading"><?php print $title; ?></h1> |
| 23 | <?php print $content; ?> |
| 24 | <?php print $children; ?> |
| 25 | </div> |
| 26 |