tripal_phylogeny_taxonomic_tree.tpl.php
- 2.x tripal_phylogeny/theme/templates/tripal_phylogeny_taxonomic_tree.tpl.php
- 3.x legacy/tripal_phylogeny/theme/templates/tripal_phylogeny_taxonomic_tree.tpl.php
2 theme calls to tripal_phylogeny_taxonomic_tree.tpl.php
- tripal_phylogeny_node_view in tripal_phylogeny/
includes/ tripal_phylogeny.chado_node.inc - Implements hook_node_view(). Acts on all content types
- tripal_phylogeny_taxonomy_view in tripal_phylogeny/
includes/ tripal_phylogeny.taxonomy.inc - Generates a page that contains the taxonomy view.
File
tripal_phylogeny/theme/templates/tripal_phylogeny_taxonomic_tree.tpl.phpView source
- <?php
- $phylotree = $variables['node']->phylotree;
- $phylotree = chado_expand_var($phylotree,'field','phylotree.comment');
-
- if ($phylotree->type_id->name == "taxonomy" and $phylotree->has_nodes) {
- print $phylotree->comment ?>
- <div id="phylogram">
- <!-- d3js will add svg to this div, and remove the loader gif prefix with / for absolute url --><?php
- $ajax_loader = url(drupal_get_path('module', 'tripal_phylogeny') . '/theme/images/ajax-loader.gif'); ?>
- <img src="<?php print $ajax_loader ?>" class="phylogram-ajax-loader"/>
- </div> <?php
- }