node.tpl.php

  1. 7.x drupal-7.x/modules/node/node.tpl.php
  2. 7.x drupal-7.x/themes/garland/node.tpl.php
  3. 7.x drupal-7.x/themes/bartik/templates/node.tpl.php
  4. 6.x drupal-6.x/modules/node/node.tpl.php
  5. 6.x drupal-6.x/themes/bluemarine/node.tpl.php
  6. 6.x drupal-6.x/themes/pushbutton/node.tpl.php
  7. 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/pushbutton/node.tpl.php
View source
  1. <?php
  2. ?>
  3. <div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
  4. <?php print $picture ?>
  5. <?php if ($page == 0): ?>
  6. <h1 class="title"><a href="<?php print $node_url ?>"><?php print $title ?></a></h1>
  7. <?php endif; ?>
  8. <span class="submitted"><?php print $submitted ?></span>
  9. <div class="taxonomy"><?php print $terms ?></div>
  10. <div class="content"><?php print $content ?></div>
  11. <?php if ($links): ?>
  12. <div class="links">&raquo; <?php print $links ?></div>
  13. <?php endif; ?>
  14. </div>