web/drupal/modules/book/book-node-export-html.tpl.php
branchdrupal
changeset 74 0ff3ba646492
equal deleted inserted replaced
73:fcf75e232c5b 74:0ff3ba646492
       
     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>