Revision 867d1f58
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/theme/cdm_dataportal.name.theme | ||
---|---|---|
99 | 99 |
|
100 | 100 |
if (count($type_designations) > 0 || is_array($prependedSynonyms) || is_array($synonymList)) { |
101 | 101 |
$out .= '<ul class="homotypicSynonyms">'; |
102 |
if (!empty($prependedSynonyms)) { |
|
103 |
foreach ($prependedSynonyms as $taxon) { |
|
104 |
$out .= '<li class="synonym">' . cdm_related_taxon($taxon, UUID_HOMOTYPIC_SYNONYM_OF) . '</li>'; |
|
102 |
if (!empty($prependedSynonyms)) { |
|
103 |
foreach ($prependedSynonyms as $taxon) { |
|
104 |
$out .= '<li class="synonym">' . cdm_related_taxon($taxon, UUID_HOMOTYPIC_SYNONYM_OF) . '</li>'; |
|
105 |
} |
|
105 | 106 |
} |
106 |
} |
|
107 |
|
|
108 | 107 |
|
109 |
if (isset($synonymList[0])) { |
|
110 |
foreach ($synonymList as $synonym) { |
|
111 |
$out .= '<li class="synonym">' . cdm_related_taxon($synonym, UUID_HOMOTYPIC_SYNONYM_OF) . '</li>'; |
|
108 |
if (isset($synonymList[0])) { |
|
109 |
foreach ($synonymList as $synonym) { |
|
110 |
$out .= '<li class="synonym">' . cdm_related_taxon($synonym, UUID_HOMOTYPIC_SYNONYM_OF) . '</li>'; |
|
111 |
} |
|
112 | 112 |
} |
113 |
} |
|
114 | 113 |
|
115 |
if (count($type_designations) > 0) { |
|
116 |
$out .= theme('cdm_typedesignations', array('typeDesignations' => $type_designations));
|
|
117 |
} |
|
114 |
if (count($type_designations) > 0) {
|
|
115 |
$out .= render_type_designations($type_designations);
|
|
116 |
}
|
|
118 | 117 |
|
119 | 118 |
} |
120 | 119 |
|
Also available in: Unified diff
ref #8134 fixing missing render_type_designations()