Project

General

Profile

« Previous | Next » 

Revision e5d101f3

Added by Francisco Revilla over 13 years ago

fixing ticket #636

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.name.theme
107 107
				$typeReference .= ':'. $std->citationMicroReference .')';
108 108

  
109 109
				$_fkey2 = FootnoteManager::addNewFootnote(RenderHints::getRenderPath() . '-lectotypes', $std->citation->titleCache);
110
				$typeReference .= theme('cdm_footnote_key', $_fkey2, $separator);
110
				$typeReference .= theme('cdm_footnote_key', $_fkey2, $separator, true, true);
111 111
			}
112 112

  
113 113
			$derivedUnitFacadeInstance = cdm_ws_get(CDM_WS_DERIVEDUNIT_FACADE, $std->typeSpecimen->uuid);
modules/cdm_dataportal/theme/cdm_dataportal.taxon.theme
287 287
			switch ($element->type->representation_L10n){
288 288
				case 'later homonym for':
289 289
					if(isset($later_homonym)){
290
						$later_homonym .= ' nec ' . l($element->toName->titleCache, 
290
						$later_homonym .= ' nec ' . l($element->toName->titleCache . ' ' .  substr($element->toName->nomenclaturalReference->datePublished->start, 0, 4), 
291 291
						    'cdm_dataportal/name/' . $element->toName->uuid . '/' . $taxon->uuid . '/' . $element->toName->taxonBases[0]->uuid);
292 292
					}else{
293
					  $later_homonym = ' [non ' . l($element->toName->titleCache,
294
                        'cdm_dataportal/name/' . $element->toName->uuid . '/' . $taxon->uuid . '/' . $element->toName->taxonBases[0]->uuid);
293
					  $later_homonym = ' [non ' . l($element->toName->titleCache . ' ' .  substr($element->toName->nomenclaturalReference->datePublished->start, 0, 4),
294
                        'cdm_dataportal/name/' . $element->toName->uuid . '/' . $taxon->uuid . '/' . $element->toName->taxonBases[0]->uuid)
295
					              . ' ' . $element->toName->datePublished->start;
295 296
					}
296 297
					break;
297 298
				case 'treated as later homonym for':
298 299
					if(isset($later_homonym)){
299
            $later_homonym = ' nec ' . l($element->toName->titleCache, 'cdm_dataportal/name/' . $element->toName->uuid);						
300
            $later_homonym = ' nec ' . l($element->toName->titleCache . ' ' .  substr($element->toName->nomenclaturalReference->datePublished->start, 0, 4),
301
                              'cdm_dataportal/name/' . $element->toName->uuid);						
300 302
					}else{
301
					  $later_homonym = ' [non ' . l($element->toName->titleCache, 'cdm_dataportal/name/' . $element->toName->uuid);
303
					  $later_homonym = ' [non ' . l($element->toName->titleCache . ' ' .  substr($element->toName->nomenclaturalReference->datePublished->start, 0, 4), 
304
					                   'cdm_dataportal/name/' . $element->toName->uuid);
302 305
					}
303 306
					break;
304 307
			}

Also available in: Unified diff