node.tpl.php
- 7.x drupal-7.x/modules/node/node.tpl.php
- 7.x drupal-7.x/themes/garland/node.tpl.php
- 7.x drupal-7.x/themes/bartik/templates/node.tpl.php
- 6.x drupal-6.x/modules/node/node.tpl.php
- 6.x drupal-6.x/themes/bluemarine/node.tpl.php
- 6.x drupal-6.x/themes/pushbutton/node.tpl.php
- 6.x drupal-6.x/themes/garland/node.tpl.php
1 theme call to node.tpl.php
- node_view in drupal-6.x/
modules/ node/ node.module - Generate a display of the given node.
File
drupal-6.x/themes/garland/node.tpl.phpView source
- <?php
- ?>
- <div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
-
- <?php print $picture ?>
-
- <?php if ($page == 0): ?>
- <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
- <?php endif; ?>
-
- <?php if ($submitted): ?>
- <span class="submitted"><?php print $submitted; ?></span>
- <?php endif; ?>
-
- <div class="content clear-block">
- <?php print $content ?>
- </div>
-
- <div class="clear-block">
- <div class="meta">
- <?php if ($taxonomy): ?>
- <div class="terms"><?php print $terms ?></div>
- <?php endif;?>
- </div>
-
- <?php if ($links): ?>
- <div class="links"><?php print $links; ?></div>
- <?php endif; ?>
- </div>
-
- </div>
-