Mercurial > defr > drupal > core
diff modules/book/book-node-export-html.tpl.php @ 1:c1f4ac30525a 6.0
Drupal 6.0
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:28:28 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/book/book-node-export-html.tpl.php Tue Dec 23 14:28:28 2008 +0100 @@ -0,0 +1,25 @@ +<?php +// $Id: book-node-export-html.tpl.php,v 1.1 2007/11/04 14:29:09 goba Exp $ + +/** + * @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>