tripal_phylotree_taxonomic_tree.tpl.php 1.2 KB

123456789101112131415161718192021222324
  1. <?php
  2. $phylotree = $variables['node']->phylotree;
  3. if ($phylotree->type_id->name == "taxonomy" and $phylotree->has_nodes) { ?>
  4. <div id="phylogram">
  5. <!-- d3js will add svg to this div, and remove the loader gif prefix with / for absolute url -->
  6. <img src="/<?php print drupal_get_path('module', 'tripal_phylogeny') ?>/theme/images/ajax-loader.gif" class="phylogram-ajax-loader"/>
  7. </div>
  8. <div id="phylonode_popup_dialog" style="display: none;">
  9. <!-- these links are for leaf nodes only -->
  10. <div><a id="phylonode_feature_link" href="" tabindex="-1"></a></div>
  11. <div><a id="phylonode_gene_linkout" href="" tabindex="-1"></a></div>
  12. <div><a id="phylonode_context_search_link" href="" tabindex="-1"></a></div>
  13. <div><a id="phylonode_organism_link" href="" tabindex="-1"></a></div>
  14. <!-- these links are for interior nodes only -->
  15. <div><a id="phylonode_go_link" href="?block=phylotree_go" class="tripal_toc_list_item_link" tabindex="-1">
  16. View Gene Ontology</a></div>
  17. <!-- removed tripal_toc_list_item_link from context link, at least while it is a link off the site -->
  18. <div><a id="phylonode_context_link" href="?block=phylotree_context" class="" tabindex="-1">
  19. View Context</a></div>
  20. </div> <?php
  21. }