tripal_phylogeny_phylogram.tpl.php 804 B

12345678910111213141516171819
  1. <?php
  2. $phylotree = $variables['node']->phylotree;
  3. if ($phylotree->type_id->name != "taxonomy" and $phylotree->has_nodes) {
  4. if ($phylotree->type_id and $phylotree->type_id->name == 'polypeptide') { ?>
  5. <p>Phylogenies are essential to any analysis of evolutionary gene
  6. sequences collected across a group of organisms. A <b>phylogram</b>
  7. is a phylogenetic tree that has branch spans proportional to the
  8. amount of character change.
  9. </p> <?php
  10. } ?>
  11. <div id="phylogram">
  12. <!-- d3js will add svg to this div, and remove the loader gif prefix with / for absolute url --><?php
  13. $ajax_loader = url(drupal_get_path('module', 'tripal_phylogeny') . '/theme/images/ajax-loader.gif'); ?>
  14. <img src="<?php print $ajax_loader ?>" class="phylogram-ajax-loader"/>
  15. </div> <?php
  16. }