Project

General

Profile

Revision b5e773ef

IDb5e773ef2f11d24f655945abc62e52c8cda26744
Parent 15f11e83
Child e48b96fe

Added by Andreas Kohlbecker over 10 years ago

#392 CICHORIEAE display notes & #1483 references for distributions as footnotes

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.page.theme
22 22
	if(isset($taxon->name->nomenclaturalReference)){
23 23
		$referenceUri = url(path_to_reference($taxon->name->nomenclaturalReference->uuid));
24 24
	}
25
	$out = theme('cdm_taxonName', $taxon->name, null, $referenceUri);
25
	$out = theme('cdm_taxonName', $taxon->name, null, $referenceUri, false);
26 26
	RenderHints::popFromRenderStack();
27 27

  
28 28
	return '<span class="'.$taxon->class.'">'.$out.'</span>';
......
34 34
 * @return the formatted name title
35 35
 */
36 36
function theme_cdm_name_page_title($taxon_name){
37
  $renderPath = 'taxon_page_title';
37
  RenderHints::pushToRenderStack('taxon_page_title');
38 38
  if(isset($taxon_name->nomenclaturalReference)){
39 39
    $referenceUri = url(path_to_reference($taxon_name->nomenclaturalReference->uuid));
40 40
  }
41
  return '<span class="'.$taxon_name->class.'">'.theme('cdm_taxonName', $taxon_name, null, $referenceUri, $renderPath).'</span>';
41
  
42
  $out = '<span class="'.$taxon_name->class.'">'.theme('cdm_taxonName', $taxon_name, null, $referenceUri, false).'</span>';
43
  RenderHints::popFromRenderStack();
44
  return $out;
42 45
}
43 46

  
44 47
/**
......
190 193
			$referenceUri = url(path_to_reference($taxon->name->nomenclaturalReference->uuid));
191 194
		}
192 195
		$out .= theme('cdm_taxonName', $taxon->name, null, $referenceUri);
196
		$out .= theme('cdm_annotations_as_footnotekeys', $taxon);
193 197
	}
194 198

  
195 199
	if($addAcceptedTaxon && !isset($synomymie->homotypicSynonymsByHomotypicGroup[0])){

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)