root / drupal7 / modules / book / book-node-export-html.tpl.php @ bd0d4c5c
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Default theme implementation for a single node in a printer-friendly outline.
|
6 |
*
|
7 |
* @see book-node-export-html.tpl.php
|
8 |
* Where it is collected and printed out.
|
9 |
*
|
10 |
* Available variables:
|
11 |
* - $depth: Depth of the current node inside the outline.
|
12 |
* - $title: Node title.
|
13 |
* - $content: Node content.
|
14 |
* - $children: All the child nodes recursively rendered through this file.
|
15 |
*
|
16 |
* @see template_preprocess_book_node_export_html()
|
17 |
*
|
18 |
* @ingroup themeable
|
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>
|