Mercurial > defr > drupal > core
annotate modules/book/book-node-export-html.tpl.php @ 3:165d43f946a8 6.1
Drupal 6.1
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:29:21 +0100 |
parents | c1f4ac30525a |
children |
rev | line source |
---|---|
webmaster@1 | 1 <?php |
webmaster@1 | 2 // $Id: book-node-export-html.tpl.php,v 1.1 2007/11/04 14:29:09 goba Exp $ |
webmaster@1 | 3 |
webmaster@1 | 4 /** |
webmaster@1 | 5 * @file book-node-export-html.tpl.php |
webmaster@1 | 6 * Default theme implementation for rendering a single node in a printer |
webmaster@1 | 7 * friendly outline. |
webmaster@1 | 8 * |
webmaster@1 | 9 * @see book-node-export-html.tpl.php |
webmaster@1 | 10 * Where it is collected and printed out. |
webmaster@1 | 11 * |
webmaster@1 | 12 * Available variables: |
webmaster@1 | 13 * - $depth: Depth of the current node inside the outline. |
webmaster@1 | 14 * - $title: Node title. |
webmaster@1 | 15 * - $content: Node content. |
webmaster@1 | 16 * - $children: All the child nodes recursively rendered through this file. |
webmaster@1 | 17 * |
webmaster@1 | 18 * @see template_preprocess_book_node_export_html() |
webmaster@1 | 19 */ |
webmaster@1 | 20 ?> |
webmaster@1 | 21 <div id="node-<?php print $node->nid; ?>" class="section-<?php print $depth; ?>"> |
webmaster@1 | 22 <h1 class="book-heading"><?php print $title; ?></h1> |
webmaster@1 | 23 <?php print $content; ?> |
webmaster@1 | 24 <?php print $children; ?> |
webmaster@1 | 25 </div> |