home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / CMS / drupal-6.0.exe / drupal-6.0 / modules / book / book-node-export-html.tpl.php < prev    next >
Encoding:
PHP Script  |  2007-11-04  |  779 b   |  26 lines

  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>
  26.