Project

General

Profile

« Previous | Next » 

Revision 2264b60d

Added by Andreas Kohlbecker about 13 years ago

displaying polytomous keys (fixes #2152)

View differences:

themes/garland_cichorieae/template.php
69 69
 }
70 70
 */
71 71
function garland_cichorieae_cdm_descriptionElementTextData($element, $asListElement, $feature_uuid){
72
	
72

  
73 73
	$description = str_replace("\n", "<br/>", $element->multilanguageText_L10n->text);
74 74
	$sourceRefs = '';
75 75
	$result = array();
......
77 77
	$res_date;
78 78
	$no_links = false;
79 79
	$default_theme = variable_get('theme_default', 'garland_cichorieae');
80
	
80

  
81 81
	if (($default_theme == 'flora_malesiana' || $default_theme == 'flore_afrique_centrale')
82 82
	    && $element->feature->titleCache == 'Citation'){
83
		$asListElement = true;	
83
		$asListElement = true;
84 84
	}elseif ($element->feature->uuid == UUID_CHROMOSOMES_NUMBERS){
85 85
	   	$asListElement = true;
86 86
	}else{
......
224 224
*/
225 225
	// add annotations as footnote key
226 226
	//$out .= theme('cdm_annotations_as_footnotekeys', $element); move above
227
    
227

  
228 228
	return $out;
229 229
}
230 230

  
......
493 493

  
494 494
	switch($renderPath) {
495 495
		case 'taxon_page_title':
496
		case 'polytomousKey':
496 497
			$template = array(
497 498
            'namePart' => array('#uri'=>true)
498 499
			);

Also available in: Unified diff