tripal_phylogeny_taxonomic_tree.tpl.php 570 B

123456789101112
  1. <?php
  2. $phylotree = $variables['node']->phylotree;
  3. $phylotree = chado_expand_var($phylotree, 'field', 'phylotree.comment');
  4. if ($phylotree->type_id->name == "taxonomy" and $phylotree->has_nodes) {
  5. print $phylotree->comment ?>
  6. <div id="phylogram">
  7. <!-- d3js will add svg to this div, and remove the loader gif prefix with / for absolute url --><?php
  8. $ajax_loader = url(drupal_get_path('module', 'tripal_phylogeny') . '/theme/images/ajax-loader.gif'); ?>
  9. <img src="<?php print $ajax_loader ?>" class="phylogram-ajax-loader"/>
  10. </div> <?php
  11. }