summaryrefslogtreecommitdiff
path: root/modules/book/book-node-export-html.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book/book-node-export-html.tpl.php')
-rw-r--r--modules/book/book-node-export-html.tpl.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/book/book-node-export-html.tpl.php b/modules/book/book-node-export-html.tpl.php
new file mode 100644
index 000000000..384a42615
--- /dev/null
+++ b/modules/book/book-node-export-html.tpl.php
@@ -0,0 +1,25 @@
+<?php
+// $Id$
+
+/**
+ * @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>