book-node-export-html.tpl.php

  1. 7.x drupal/modules/book/book-node-export-html.tpl.php
  2. 6.x drupal/modules/book/book-node-export-html.tpl.php

Default theme implementation for a single node in a printer-friendly outline.

Where it is collected and printed out.

Available variables:

  • $depth: Depth of the current node inside the outline.
  • $title: Node title.
  • $content: Node content.
  • $children: All the child nodes recursively rendered through this file.

See also

book-node-export-html.tpl.php

template_preprocess_book_node_export_html()

1 theme call to book-node-export-html.tpl.php
book_node_export in drupal/modules/book/book.module
Generates printer-friendly HTML for a node.
2 string references to the theme hook from book-node-export-html.tpl.php

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

book_node_export in drupal/modules/book/book.module
Generates printer-friendly HTML for a node.
book_theme in drupal/modules/book/book.module
Implements hook_theme().

File

drupal/modules/book/book-node-export-html.tpl.php
View source
  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>

Related topics