Project

General

Profile

« Previous | Next » 

Revision 38da4e54

Added by Andreas Kohlbecker almost 8 years ago

#5887 root nodes available in classification breadcrumbs

View differences:

modules/cdm_dataportal/cdm_dataportal.module
296 296
          hoverClass: "fa-rotate-90",
297 297
          activeClass: "fa-rotate-90",
298 298
          classificationUuid: "' . get_current_classification_uuid() . '",
299
          cdmwebappBaseUri: "' . variable_get('cdm_webservice_url', '') . '",
299
          cdmWebappBaseUri: "' . variable_get('cdm_webservice_url', '') . '",
300 300
          proxyBaseUri: "' . $base_url . '",
301 301
          
302 302
        });
......
828 828
      ));
829 829
      return $block;
830 830
    case 'classification_breadcrumbs':
831
      $taxon_uuid = null;
831 832
      if (arg(1) == 'taxon' && is_uuid(arg(2))) {
832
        $block['subject'] = '<none>';
833
        $block['content'] = compose_classification_breadcrumbs(arg(2));
834
        return $block;
833
        $taxon_uuid = arg(2);
835 834
      }
836
      break;
835
      $block['subject'] = '<none>';
836
      $block['content'] = compose_classification_breadcrumbs($taxon_uuid);
837
      return $block;
838
    
837 839
  }
838 840
}
839 841

  

Also available in: Unified diff