Project

General

Profile

« Previous | Next » 

Revision 6679207a

Added by Andreas Kohlbecker over 3 years ago

ref #9222 adapting dataportal and tests to single sourced classes

View differences:

modules/cdm_dataportal/includes/pages.inc
700 700
      $label = variable_get(CDM_SYNONYMY_ACCEPTED_TAXON_SEC_SEPARATE_LABEL, CDM_SYNONYMY_ACCEPTED_TAXON_SEC_SEPARATE_LABEL_DEFAULT);
701 701
      $accepted_name .= '<div class="secReference"><span class="label">' . t($label) . ':</span> ' . $taxon->sec->titleCache . '</div>';
702 702
    }
703
    if (isset($taxon->name->nomenclaturalReference)) {
704
      $referenceUri = url(path_to_reference($taxon->name->nomenclaturalReference->uuid));
703
    if (isset($taxon->name->nomenclaturalSource->citation)) {
704
      $referenceUri = url(path_to_reference($taxon->name->nomenclaturalSource->citation->uuid));
705 705
    }
706 706

  
707 707
    $accepted_name .= '<div class="accepted-name">';

Also available in: Unified diff