Project

General

Profile

Revision 002ce68d

ID002ce68d295cbf7eb13b87de2b576cdaf7a3a067
Parent 5a5c5045
Child dfb24d50

Added by Andreas Kohlbecker about 2 months ago

name page 'Taxa for this name' title also in singular form

View differences:

modules/cdm_dataportal/cdm_dataportal.module
2109 2109
    $show_taxa_section = variable_get(CDM_NAME_PAGE_SECTION_TAXA, CDM_NAME_PAGE_SECTION_TAXA_DEFAULT);
2110 2110
    if($show_taxa_section){
2111 2111
      if ($taxa) {
2112
        $content['related_taxa_header'] = markup_to_render_array("<h2>Taxa for this name</h2>");
2112
        $content['related_taxa_header'] = markup_to_render_array("<h2>" . count($taxa) > 1 ? t("Taxa for this name") :  t("Taxon for this name") . "</h2>");
2113 2113
        $content['related_taxa'] = compose_list_of_taxa($taxa);
2114 2114
      }
2115 2115
      else {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)