You are here

node.tpl.php in Drupal Commons 6.2

File

themes/commons_roots/node.tpl.php
View source
<?php

// $Id: node.tpl.php 7510 2010-06-15 19:09:36Z sheena $
?>

<div id="node-<?php

print $node->nid;
?>" class="node <?php

print $node_classes;
?>">
  <div class="inner">
    <?php

print $picture;
?>

    <?php

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

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

  print $title;
  ?>"><?php

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

}
?>

    <?php

if ($node_top && !$teaser) {
  ?>
    <div id="node-top" class="node-top row nested">
      <div id="node-top-inner" class="node-top-inner inner">
        <?php

  print $node_top;
  ?>
      </div><!-- /node-top-inner -->
    </div><!-- /node-top -->
    <?php

}
?>

    <?php

if ($submitted) {
  ?>
    <div class="meta">
      <span class="submitted"><?php

  print $submitted;
  ?></span>
    </div>
    <?php

}
?>

    <?php

if ($terms) {
  ?>
    <div class="terms">
      <?php

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

}
?>
    
    <div class="content clearfix">
      <?php

print $content;
?>
    </div>

    <?php

if ($links) {
  ?>
    <div class="links">
      <?php

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

}
?>
  </div><!-- /inner -->

  <?php

if ($node_bottom && !$teaser) {
  ?>
  <div id="node-bottom" class="node-bottom row nested">
    <div id="node-bottom-inner" class="node-bottom-inner inner">
      <?php

  print $node_bottom;
  ?>
    </div><!-- /node-bottom-inner -->
  </div><!-- /node-bottom -->
  <?php

}
?>
</div><!-- /node-<?php

print $node->nid;
?> -->