Advertisement
roysa99

node.tpl.php

Dec 13th, 2011
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.95 KB | None | 0 0
  1. <?php phptemplate_comment_wrapper(NULL, $node->type); ?>
  2.  
  3. <div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
  4.  
  5. <?php print $picture ?>
  6.  
  7. <?php if ($page == 0): ?>
  8.   <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
  9. <?php endif; ?>
  10.  
  11.   <?php if ($submitted): ?>
  12.     <span class="submitted"><?php print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created))); ?></span>
  13.   <?php endif; ?>
  14.  
  15.   <div class="content">
  16.     <?php print $content ?>
  17.   </div>
  18.  
  19.   <div class="clear-block clear">
  20.     <div class="meta">
  21.     <?php if ($taxonomy): ?>
  22.       <div class="terms"><?php print $terms ?></div>
  23.     <?php endif;?>
  24.     </div>
  25.  
  26.     <?php if ($links): ?>
  27.       <div class="links"><?php print $links; ?></div>
  28.     <?php endif; ?>
  29.   </div>
  30.  
  31. </div>
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement