Full ELMS Learning Network documentation
book-node-export-html.tpl.php
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).- cis7 modules/book/book-node-export-html.tpl.php
- cle7 modules/book/book-node-export-html.tpl.php
- ecd7 modules/book/book-node-export-html.tpl.php
- elmsmedia7 modules/book/book-node-export-html.tpl.php
- harmony7 modules/book/book-node-export-html.tpl.php
- icor7 modules/book/book-node-export-html.tpl.php
- meedjum_blog7 modules/book/book-node-export-html.tpl.php
- mooc7 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
template_preprocess_book_node_export_html()
1 theme call to book-node-export-html.tpl.php
- book_node_export in 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 modules/
book/ book.module - Generates printer-friendly HTML for a node.
- book_theme in modules/
book/ book.module - Implements hook_theme().
File
modules/book/book-node-export-html.tpl.phpView source
- <?php
-
- /**
- * @file
- * Default theme implementation for a single node in a printer-friendly outline.
- *
- * @see book-node-export-html.tpl.php
- * 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 template_preprocess_book_node_export_html()
- *
- * @ingroup themeable
- */
- ?>
- <div id="node-<?php print $node->nid; ?>" class="section-<?php print $depth; ?>">
- <h1 class="book-heading"><?php print $title; ?></h1>
- <?php print $content; ?>
- <?php print $children; ?>
- </div>
-