tripal_gbrowse_teaser.tpl.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. // Developed by: Chad N.A Krilow at The University of Saskatchewan
  3. //
  4. // Purpose: Provide layout and content for the Tripal Gbrowse details.Represents
  5. // what the user will see if the there is no information in the node
  6. //
  7. // Variables Available:
  8. // - $node: a standard object which contains all the fields associated with
  9. // nodes including nid, gbrowse_id.
  10. // NOTE: For a full listing of fields available in the node object the
  11. // print_r $node line below or install the Drupal Devel module which
  12. // provides an extra tab at the top of the node page labelled Devel
  13. ?>
  14. <?php
  15. //uncomment this line to see a full listing of the fields avail. to $node
  16. //print '<pre>'.print_r($node,TRUE).'</pre>';
  17. ?>
  18. <div id="tripal_gbrowse-base-box" class="tripal_gbrowse-info-box tripal-info-box">
  19. <div class="tripal_gbrowse-info-box-title tripal-info-box-title">
  20. <!-- Title -->
  21. <?php print l($node->gbrowse->gbrowse_name, 'node/'.$node->nid); ?>
  22. </div>
  23. <div class="tripal_gbrowse-info-box-desc tripal-info-box-desc"></div>
  24. <p>This is a representation of a created GBrowse instance.<p>
  25. <?php print l('See More Details', 'node/'.$node->nid); ?>
  26. </div>