Project

General

Profile

« Previous | Next » 

Revision 8202a2c0

Added by Andreas Kohlbecker almost 4 years ago

ref #8543 option to block footnote list key to avoid foonote keys in odd places like warnings

View differences:

modules/cdm_dataportal/includes/name.inc
474 474
        foreach ($nom_status_tagged_text as &$tt){
475 475
         if($tt->type == 'nomStatus'&& isset($tt->entityReference)) {
476 476
           $nom_status = cdm_ws_get(CDM_WS_NOMENCLATURALSTATUS, array($tt->entityReference->uuid));
477
           $nom_status_fkey = nomenclatural_status_footnote_markup($nom_status);
477
           $nom_status_fkey = handle_nomenclatural_status_as_footnote($nom_status);
478 478
           $tt->text .= $nom_status_fkey;
479 479
           $tt_to_markup_options['html'] = true;
480 480
         }
......
1551 1551
        $is_inverse_relation = $current_name_uuid == $name_rel->toName->uuid;
1552 1552
        $rel_footnote_key_markup = handle_name_relationship_as_footnote($name_rel);
1553 1553
        $relationship_markup = name_relationship_markup($name_rel, $current_name_uuid, $current_taxon_uuid, TRUE);
1554
        $nomref_footnote_key_markup = nomenclatural_reference_footnote_key_markup($name_rel->toName);
1554
        $nomref_footnote_key_markup = handle_nomenclatural_reference_as_footnote($name_rel->toName);
1555 1555
        $label = cdm_relationship_type_term_abbreviated_label($name_rel->type, $is_inverse_relation);
1556 1556
        $symbol = cdm_relationship_type_term_symbol($name_rel->type, $is_inverse_relation);
1557 1557
        $symbol_markup = '<span class="symbol" title="' . $label . '">' . $symbol . '</span>' . $rel_footnote_key_markup .  ' ';

Also available in: Unified diff