Project

General

Profile

« Previous | Next » 

Revision b0adfd32

Added by Andreas Kohlbecker almost 8 years ago

#5790 classification breadcrumb children implemented

View differences:

modules/cdm_dataportal/cdm_taxontree/cdm_taxontree.module
820 820
  drupal_add_css($path_cdm_taxontree . '/cdm_taxontree.css');
821 821
  drupal_add_js($path_preferred_module . '/js/jquery.dimensions.pack.js');
822 822
  drupal_add_js($path_cdm_taxontree . '/js/cdm_taxontree.js');
823
  drupal_add_js($path_cdm_taxontree . '/js/jquery.scrollTo-1.4.3.1-min.js');
823

  
824
  _add_js_lib_scrollTo();
825

  
824 826
  drupal_add_js('
825 827
      jQuery(document).ready(function()
826 828
      {
......
937 939

  
938 940
  if (!is_array($tree)) {
939 941
    /*
940
    $out = '<ul class="cdm_taxontree">';
942
    $out = '<ul class="taxon-nodes">';
941 943
    $out .= '<li>----------------------------NO TREE---------------------------------------</li>';
942 944
    $out .= '</ul>';
943 945
    return $out;
......
951 953
  }
952 954

  
953 955
  // Append element name to get multiple taxontrees on one page working.
954
  $out = '<ul class="cdm_taxontree' . (($element_name) ? ' ' . $element_name : '') . '">';
956
  $out = '<ul class="taxon-nodes ' . (($element_name) ? ' ' . $element_name : '') . '">';
955 957
  foreach ($tree as $node) {
956 958
    $out .= theme('cdm_taxontree_node', array(
957 959
      'node' => $node,

Also available in: Unified diff