Project

General

Profile

« Previous | Next » 

Revision 9b8eb609

Added by Andreas Kohlbecker about 4 years ago

ref #9102 fixing TaxonNode.source footnote missing & generalizing creation of bibliography block

View differences:

modules/cdm_dataportal/includes/taxon-node.inc
32 32
  if($taxon_nodes && count($taxon_nodes) > 0){
33 33
    $label_plural = false;
34 34
    $status_markup_tokens = [];
35
    $bibliography_settings = get_bibliography_settings();
35 36
    foreach ($taxon_nodes as $taxon_node){
36 37

  
37 38
      $annotations_and_sources = handle_annotations_and_sources($taxon_node,
......
40 41
        'link_to_name_used_in_source' => false,
41 42
        'link_to_reference' => true,
42 43
        'add_footnote_keys' => true,
43
        'bibliography_aware' => false),
44
        'bibliography_aware' => $bibliography_settings['enabled'] == 1),
44 45
        '',
45 46
        null);
46 47

  

Also available in: Unified diff