tripal_feature_teaser.tpl.php 440 B

12345678910111213
  1. <?php
  2. $node = $variables['node'];
  3. $feature = $variables['node']->feature; ?>
  4. <div class="tripal_feature-teaser tripal-teaser">
  5. <div class="tripal-feature-teaser-title tripal-teaser-title"><?php
  6. print l($node->title, "node/$node->nid", array('html' => TRUE));?>
  7. </div>
  8. <div class="tripal-feature-teaser-text tripal-teaser-text"><?php
  9. print $node->title;
  10. print "... " . l("[more]", "node/$node->nid"); ?>
  11. </div>
  12. </div>