Revision fde231f8
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
712 | 712 |
if(isset($name_relationships['list']['items'][0])){ |
713 | 713 |
$accepted_name .= ' ' . drupal_render($name_relationships); |
714 | 714 |
} |
715 |
$accepted_name .= render_taxon_and_name_footnotes($taxon); |
|
716 | 715 |
$accepted_name .= '</div>'; |
717 | 716 |
RenderHints::popFromRenderStack(); |
718 | 717 |
} |
modules/cdm_dataportal/includes/taxon.inc | ||
---|---|---|
392 | 392 |
$referenceUri = FALSE; |
393 | 393 |
} |
394 | 394 |
$out_taxon_part = render_taxon_or_name($taxon, $taxonUri, $referenceUri, TRUE, FALSE, $skip_tags, $is_invalid); |
395 |
|
|
396 |
// must come before the rendering the relationships so that the footnote key |
|
397 |
// numbers are in correct order |
|
398 |
$taxon_and_name_footnotes = render_taxon_and_name_footnotes($taxon); |
|
399 |
|
|
400 | 395 |
$name_relations = cdm_name_relationships_for_taxon($taxon); |
401 | 396 |
$name_relations_render_array = compose_name_relationships_inline($name_relations, $taxon->name->uuid, $taxon->uuid); |
402 | 397 |
|
403 | 398 |
$out = '<span class="relation_sign" title="' . $reltype_representation . '">' . $relsign . '</span>' |
404 |
. $out_taxon_part . $taxon_and_name_footnotes;
|
|
399 |
. $out_taxon_part; |
|
405 | 400 |
if(isset($name_relations_render_array['list']['items'][0])){ |
406 | 401 |
$out .= ' ' . drupal_render($name_relations_render_array); |
407 | 402 |
} |
Also available in: Unified diff
ref #9209 removing obsoltete calls to decomissioned function render_taxon_and_name_footnotes()