File: book-node-export-html.tpl.php

package info (click to toggle)
drupal6 6.31-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 5,208 kB
  • ctags: 376
  • sloc: pascal: 16,677; php: 4,360; sh: 256; perl: 126; makefile: 14
file content (24 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

/**
 * @file book-node-export-html.tpl.php
 * Default theme implementation for rendering a single node in a printer
 * friendly outline.
 *
 * @see book-node-export-html.tpl.php
 * Where it is collected and printed out.
 *
 * Available variables:
 * - $depth: Depth of the current node inside the outline.
 * - $title: Node title.
 * - $content: Node content.
 * - $children: All the child nodes recursively rendered through this file.
 *
 * @see template_preprocess_book_node_export_html()
 */
?>
<div id="node-<?php print $node->nid; ?>" class="section-<?php print $depth; ?>">
  <h1 class="book-heading"><?php print $title; ?></h1>
  <?php print $content; ?>
  <?php print $children; ?>
</div>