node.tpl.php 969 B

12345678910111213141516171819202122232425262728293031
  1. <?php phptemplate_comment_wrapper(NULL, $node->type); ?>
  2. <div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
  3. <?php print $picture ?>
  4. <?php if ($page == 0): ?>
  5. <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
  6. <?php endif; ?>
  7. <?php if ($submitted): ?>
  8. <span class="submitted"><?php print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created))); ?></span>
  9. <?php endif; ?>
  10. <div class="content">
  11. <?php print $content ?>
  12. </div>
  13. <div class="clear-block clear">
  14. <div class="meta">
  15. <?php if ($taxonomy): ?>
  16. <div class="terms"><?php print $terms ?></div>
  17. <?php endif;?>
  18. </div>
  19. <?php if ($links): ?>
  20. <div class="links"><?php print $links; ?></div>
  21. <?php endif; ?>
  22. </div>
  23. </div>