Project

General

Profile

« Previous | Next » 

Revision 1cda248c

Added by Andreas Kohlbecker over 5 years ago

fix #7438 secReference optional in separate line above accepted taxon

View differences:

modules/cdm_dataportal/includes/pages.inc
645 645
    }
646 646
    $addAcceptedTaxon = variable_get('cdm_dataportal_nomref_in_title', CDM_DATAPORTAL_NOMREF_IN_TITLE);
647 647

  
648
    $synonymy_html .= theme('cdm_taxon_page_synonymy', array('taxon' => $taxon, 'addAcceptedTaxon' => $addAcceptedTaxon));
648
    $synonym_a = compose_cdm_taxon_page_synonymy($taxon, $addAcceptedTaxon);
649
    $synonymy_html .= drupal_render($synonym_a);
649 650

  
650 651
    $synonymy_html .= '</div>';
651 652
    $render_array['synonymy'] = markup_to_render_array($synonymy_html, $weight++);
......
849 850
  }
850 851

  
851 852
  if($add_synonymy){
852
    $render_array['synonymy'] = markup_to_render_array(
853
      theme('cdm_taxon_page_synonymy', array('taxon' => $taxon, 'addAcceptedTaxon' => true)),
854
      -102
855
    );
853
    $synonymy_a = compose_cdm_taxon_page_synonymy($taxon, true);
854
    $synonymy_a['#weight'] = -102;
855
    $render_array['synonymy'] = $synonymy_a;
856 856
  }
857 857

  
858 858
  $pseudo_feature_blocks = array();

Also available in: Unified diff