/[drupal]/drupal/modules/book/book-node-export-html.tpl.php
ViewVC logotype

Contents of /drupal/modules/book/book-node-export-html.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Thu May 15 21:19:24 2008 UTC (18 months, 2 weeks ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-6, DRUPAL-7-0-UNSTABLE-7, DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-1, DRUPAL-7-0-UNSTABLE-2, DRUPAL-7-0-UNSTABLE-3, DRUPAL-7-0-UNSTABLE-4, DRUPAL-7-0-UNSTABLE-5, DRUPAL-7-0-UNSTABLE-8, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.1: +2 -2 lines
File MIME type: text/x-php
- Patch #257730 by Senpai: code clean-up for book module.
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
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>

  ViewVC Help
Powered by ViewVC 1.1.2