Project

General

Profile

Revision 38da4e54

ID38da4e54929476f0af87bc94e92e7db9fdd16066
Parent d5f29731
Child e3235962

Added by Andreas Kohlbecker over 5 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

Add picture from clipboard (Maximum size: 40 MB)