Revision c8b3ae89
Added by Andreas Kohlbecker over 12 years ago
themes/garland_cichorieae/template.php | ||
---|---|---|
132 | 132 |
if ($name_used_in_source_link_to_show && ($description || $sourceRefs)){ |
133 | 133 |
$out .= ': '; |
134 | 134 |
} |
135 |
$out .= $description . $sourceRefs . theme('cdm_annotations_as_footnotekeys', $element) . '</li>';
|
|
135 |
$out .= $description . $sourceRefs .theme('cdm_annotations_as_footnotekeys', $element, $feature_uuid) . '</li>';
|
|
136 | 136 |
}else if ($asListElement){ |
137 | 137 |
$out = '<li class="descriptionText">' . $name_used_in_source_link_to_show; |
138 | 138 |
//adding ":" if necesary |
139 | 139 |
if ($name_used_in_source_link_to_show && ($description || $sourceRefs)){ |
140 | 140 |
$out .= ': '; |
141 | 141 |
} |
142 |
$out .= $description . $sourceRefs . theme('cdm_annotations_as_footnotekeys', $element) . '</li>'; |
|
142 |
$out .= $description . $sourceRefs . theme('cdm_annotations_as_footnotekeys', $element, $feature_uuid) . '</li>';
|
|
143 | 143 |
//special handling for flora malesiana TODO: possible better way to implement this case? |
144 | 144 |
}else{ |
145 | 145 |
if ($name_used_in_source_link_to_show){ |
... | ... | |
155 | 155 |
$out = $description; |
156 | 156 |
} |
157 | 157 |
//printing annotations footnotes |
158 |
$out .= theme('cdm_annotations_as_footnotekeys', $element);
|
|
158 |
$out .= theme('cdm_annotations_as_footnotekeys', $element, $feature_uuid);
|
|
159 | 159 |
/* |
160 | 160 |
if ($feature_uuid == UUID_NAME_USAGE){ |
161 | 161 |
foreach($element->sources as $source){ |
Also available in: Unified diff
fixing #1933 (DescriptionElementBases do not show annotation footnotes in flora malesiana)