[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/book/ -> book-node-export-html.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file book-node-export-html.tpl.php
   5   * Default theme implementation for rendering a single node in a printer
   6   * friendly outline.
   7   *
   8   * @see book-node-export-html.tpl.php
   9   * Where it is collected and printed out.
  10   *
  11   * Available variables:
  12   * - $depth: Depth of the current node inside the outline.
  13   * - $title: Node title.
  14   * - $content: Node content.
  15   * - $children: All the child nodes recursively rendered through this file.
  16   *
  17   * @see template_preprocess_book_node_export_html()
  18   */
  19  ?>
  20  <div id="node-<?php print $node->nid; ?>" class="section-<?php print $depth; ?>">
  21    <h1 class="book-heading"><?php print $title; ?></h1>
  22    <?php print $content; ?>
  23    <?php print $children; ?>
  24  </div>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7