tripal_phylotree_phylogram.tpl.php 1.6 KB

123456789101112131415161718192021222324252627282930313233
  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 -->
  13. <img src="/<?php print drupal_get_path('module', 'tripal_phylogeny') ?>/theme/images/ajax-loader.gif" class="phylogram-ajax-loader"/>
  14. </div>
  15. <div id="phylonode_popup_dialog" style="display: none;">
  16. <!-- these links are for leaf nodes only -->
  17. <div><a id="phylonode_feature_link" href="" tabindex="-1"></a></div>
  18. <div><a id="phylonode_gene_linkout" href="" tabindex="-1"></a></div>
  19. <div><a id="phylonode_context_search_link" href="" tabindex="-1"></a></div>
  20. <div><a id="phylonode_organism_link" href="" tabindex="-1"></a></div>
  21. <!-- these links are for interior nodes only -->
  22. <div><a id="phylonode_go_link" href="?block=phylotree_go" class="tripal_toc_list_item_link" tabindex="-1">
  23. View Gene Ontology</a></div>
  24. <!-- removed tripal_toc_list_item_link from context link, at least while it is a link off the site -->
  25. <div><a id="phylonode_context_link" href="?block=phylotree_context" class="" tabindex="-1">
  26. View Context</a></div>
  27. </div> <?php
  28. }