You are here

node.tpl.php in Drupal 4

File

themes/engines/phptemplate/node.tpl.php
View source
<div class="node<?php

if ($sticky) {
  print " sticky";
}
if (!$status) {
  print " node-unpublished";
}
?>">
  <?php

if ($page == 0) {
  ?>
    <h2><a href="<?php

  print $node_url;
  ?>" title="<?php

  print $title;
  ?>"><?php

  print $title;
  ?></a></h2>
  <?php

}
?>
  <?php

print $picture;
?>

  <div class="info"><?php

print $submitted;
?><span class="terms"><?php

print $terms;
?></span></div>
  <div class="content">
    <?php

print $content;
?>
  </div>
<?php

if ($links) {
  ?>

    <?php

  if ($picture) {
    ?>
      <br class='clear' />
    <?php

  }
  ?>
    <div class="links"><?php

  print $links;
  ?></div>
<?php

}
?>
</div>