Revision 3147f061
Added by Francisco Revilla almost 14 years ago
modules/cdm_dataportal/theme/cdm_dataportal.taxon.theme | ||
---|---|---|
78 | 78 |
if(true || $taxonRelation->type->uuid == UUID_MISAPPLIED_NAME_FOR || $taxonRelation->type->uuid == UUID_INVALID_DESIGNATION_FOR ){ |
79 | 79 |
|
80 | 80 |
$name = $taxonRelation->fromTaxon->name->titleCache; |
81 |
$authorteam = $taxonRelation->fromTaxon->sec->authorTeam->titleCache; |
|
81 |
$author_team = cdm_ws_get(CDM_WS_REFERENCE_AUTHORTEAM, $taxonRelation->fromTaxon->sec->uuid); |
|
82 |
$authorteam = $author_team->titleCache; |
|
82 | 83 |
|
83 | 84 |
if(!isset($misapplied[$name])){ |
84 | 85 |
$misapplied[$name]['out'] = '<span class="misapplied">'.theme('cdm_related_taxon',$taxonRelation->fromTaxon, UUID_MISAPPLIED_NAME_FOR, false).'</span>'; |
... | ... | |
233 | 234 |
foreach($taxon_name_relations as $element){ |
234 | 235 |
switch ($element->type->representation_L10n){ |
235 | 236 |
case 'later homonym for': |
236 |
$later_homonym = ' ' . l('[non ' . $element->fromName->titleCache . ']',
|
|
237 |
'cdm_dataportal/name/' . $element->fromName->uuid); |
|
237 |
$later_homonym = ' [non ' . l($element->fromName->titleCache . ']',
|
|
238 |
'cdm_dataportal/name/' . $element->fromName->uuid);
|
|
238 | 239 |
break; |
239 | 240 |
case 'treated as later homonym for': |
240 |
$later_homonym = ' ' .'[non ' . $element->fromName->titleCache . ']'; |
|
241 |
$later_homonym = ' [non ' . l($element->fromName->titleCache . ']', |
|
242 |
'cdm_dataportal/name/' . $element->fromName->uuid); |
|
241 | 243 |
break; |
242 | 244 |
} |
243 | 245 |
} |
Also available in: Unified diff
misc changes on layout