book-node-export-html.tpl.php 686 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation for a single node in a printer-friendly outline.
  5. *
  6. * @see book-node-export-html.tpl.php
  7. * Where it is collected and printed out.
  8. *
  9. * Available variables:
  10. * - $depth: Depth of the current node inside the outline.
  11. * - $title: Node title.
  12. * - $content: Node content.
  13. * - $children: All the child nodes recursively rendered through this file.
  14. *
  15. * @see template_preprocess_book_node_export_html()
  16. *
  17. * @ingroup themeable
  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>