Revision b5e773ef
Added by Andreas Kohlbecker almost 14 years ago
modules/cdm_dataportal/theme/cdm_dataportal.name.theme | ||
---|---|---|
205 | 205 |
$out .= theme('cdm_typedesignations', $typeDesignations); |
206 | 206 |
} |
207 | 207 |
|
208 |
$out .= theme('cdm_footnotes', $footnoteListKey, 'li'); |
|
208 |
$out .= theme('cdm_annotation_footnotes', $footnoteListKey, 'li');
|
|
209 | 209 |
$out .= '</ul>'; |
210 | 210 |
|
211 | 211 |
|
... | ... | |
243 | 243 |
$out .= theme('cdm_typedesignations', $typeDesignations); |
244 | 244 |
} |
245 | 245 |
|
246 |
$out .= theme('cdm_footnotes', $footnoteListKey, 'li'); |
|
246 |
$out .= theme('cdm_annotation_footnotes', $footnoteListKey, 'li');
|
|
247 | 247 |
$out .= '</ul>'; |
248 | 248 |
|
249 | 249 |
RenderHints::popFromRenderStack(); |
... | ... | |
251 | 251 |
} |
252 | 252 |
|
253 | 253 |
|
254 |
function theme_cdm_taxonName($taxonName, $nameLink = NULL, $refenceLink = NULL){ |
|
254 |
function theme_cdm_taxonName($taxonName, $nameLink = NULL, $refenceLink = NULL, $showAnnotations = true){
|
|
255 | 255 |
|
256 | 256 |
$renderTemplate = get_nameRenderTemplate(RenderHints::getRenderPath(), $nameLink, $refenceLink); |
257 | 257 |
$partDefinition = get_partDefinition($taxonName->class); |
... | ... | |
414 | 414 |
} |
415 | 415 |
$out .= '</span>'; |
416 | 416 |
|
417 |
// add annotations |
|
418 |
$out .= theme('cdm_annotations', $taxonName); |
|
417 |
$out .= theme('cdm_annotations_as_footnotekeys', $taxonName); |
|
419 | 418 |
|
420 | 419 |
return $out; |
421 | 420 |
} |
Also available in: Unified diff
#392 CICHORIEAE display notes & #1483 references for distributions as footnotes