Project

General

Profile

« Previous | Next » 

Revision d3616f2c

Added by Andreas Kohlbecker about 7 years ago

ref #6398 adapting dataportal to harmonized description related taxon service endpoints

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme
387 387
    }
388 388
    // uses will be ordered by source
389 389
    foreach ($description->sources as $source) {
390
      $is_about_current_taxon = FALSE;
391 390
      $originalTaxonUsedInSource = NULL;
392 391
      $originalTaxonPager = NULL;
393 392
      if ($source->originalNameString) {
......
500 499
  $out = '';
501 500
  $markerTypes = array();
502 501
  $markerTypes['markerTypes'] = UUID_MARKERTYPE_USE;
503
  $useDescriptions = cdm_ws_get(CDM_WS_PORTAL_TAXON_DESCRIPTIONS, $taxonUuid, queryString($markerTypes));
502
  $useDescriptions = cdm_ws_fetch_all(CDM_WS_PORTAL_TAXON . '/' . $taxonUuid . '/descriptions', $markerTypes);
504 503
  if (!empty($useDescriptions)) {
505 504
    // FIXME use theme_block instaed of hardcoding the block html here !!!!
506 505
    $out .= '<div id="block-cdm_dataportal-feature-description" class="clear-block block block-cdm_dataportal-feature"><H2><a name="userecords"> </a> Uses </H2>';

Also available in: Unified diff