Revision fc6585f9
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
2132 | 2132 |
} |
2133 | 2133 |
} |
2134 | 2134 |
|
2135 |
$content['footnotes'] = markup_to_render_array(render_cdm_footnotes());
|
|
2135 |
$content['footnotes'] = markup_to_render_array(render_footnotes_annotation_and_sources());
|
|
2136 | 2136 |
|
2137 | 2137 |
$taxon_name_page->content = $content; |
2138 | 2138 |
RenderHints::popFromRenderStack(); |
modules/cdm_dataportal/includes/footnotes.inc | ||
---|---|---|
343 | 343 |
* |
344 | 344 |
* @return string |
345 | 345 |
* The markup string |
346 |
* |
|
346 |
* @deprecated to be replaced by render_footnotes() once FOOTNOTE_KEY_SUFFIX_ANNOTATIONS is no longer used
|
|
347 | 347 |
*/ |
348 |
function render_cdm_footnotes($footnote_list_key = NULL, $enclosingTag = 'span'){
|
|
348 |
function render_footnotes_annotation_and_sources($footnote_list_key = NULL, $enclosingTag = 'span'){
|
|
349 | 349 |
|
350 | 350 |
if (variable_get('cdm_dataportal_all_footnotes', CDM_DATAPORTAL_ALL_FOOTNOTES)) { |
351 | 351 |
return ''; |
modules/cdm_dataportal/includes/name.inc | ||
---|---|---|
701 | 701 |
$render_array['nomenclatural_act']['#weight'] + 10 ); |
702 | 702 |
} |
703 | 703 |
|
704 |
$render_array['nomenclatural_act']['footnotes'] = markup_to_render_array(render_cdm_footnotes(),
|
|
704 |
$render_array['nomenclatural_act']['footnotes'] = markup_to_render_array(render_footnotes_annotation_and_sources(),
|
|
705 | 705 |
100 |
706 | 706 |
); |
707 | 707 |
|
Also available in: Unified diff
ref #8543 renaming and documentation towards unification of annotation and other footnotes