Mercurial > defr > drupal > core
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:5a113a1c4740 | 1:c1f4ac30525a |
---|---|
1 <?php | |
2 // $Id: book-node-export-html.tpl.php,v 1.1 2007/11/04 14:29:09 goba Exp $ | |
3 | |
4 /** | |
5 * @file book-node-export-html.tpl.php | |
6 * Default theme implementation for rendering a single node in a printer | |
7 * friendly outline. | |
8 * | |
9 * @see book-node-export-html.tpl.php | |
10 * Where it is collected and printed out. | |
11 * | |
12 * Available variables: | |
13 * - $depth: Depth of the current node inside the outline. | |
14 * - $title: Node title. | |
15 * - $content: Node content. | |
16 * - $children: All the child nodes recursively rendered through this file. | |
17 * | |
18 * @see template_preprocess_book_node_export_html() | |
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> |