node.tpl.php

Same filename in this branch
  1. 6.x drupal-6.x/modules/node/node.tpl.php
  2. 6.x drupal-6.x/themes/bluemarine/node.tpl.php
  3. 6.x drupal-6.x/themes/garland/node.tpl.php
  4. 6.x drupal-6.x/themes/pushbutton/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.

Archivo

drupal-6.x/themes/bluemarine/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 if ($picture) {
  5. print $picture;
  6. }?>
  7. <?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
  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) { ?><div class="links">&raquo; <?php print $links?></div><?php }; ?>
  12. </div>