<?php
// $Id: node-resource.tpl.php,v 1.1.2.4 2011/01/27 22:04:16 inadarei Exp $
/**
 * @file
 * Template for resource content type.
 * 
 * Available variables:
 * - $node_body: Resource's body content.
 * - $authors:: List of authors.
 * - $resource_links: Array of resource links.
 *   - $link: each resource link contained in $resource_links.
 * - $related_terms_links: Related taxonomy links.
 * 
 * @see openpublish_node_resource_preprocess()
 */
?>
<div class="section-date-author"><?php print t('Resource'); ?>
<?php if ($authors): ?>
  | <?php print $authors; ?>
<?php endif; ?>
</div><!-- /.section-date-author -->
<div class="body-content">
  <?php print $node_body; ?>
</div><!-- /.body-content -->

<?php if ($resource_links): ?>
<div class="resource-links">
  <ul>
  <?php foreach($resource_links as $link): ?>
    <li><?php print $link; ?></li>
  <?php endforeach; ?>
  </ul>
</div><!-- /.resource-links -->
<?php endif; ?>

<?php print $related_terms_links; ?>
