Revision d74aa4df
Added by Andreas Kohlbecker over 13 years ago
modules/cdm_dataportal/theme/cdm_dataportal.taxon.theme | ||
---|---|---|
19 | 19 |
} |
20 | 20 |
$setSessionUri = url('cdm_api/setvalue/session', "var=[pageoption][searchtaxa][showThumbnails]&val="); |
21 | 21 |
drupal_add_js('$(document).ready(function() { |
22 |
|
|
22 |
|
|
23 | 23 |
// init |
24 | 24 |
if('.$showThumbnails.' == 1){ |
25 | 25 |
$(\'.media_gallery\').show(20); |
... | ... | |
112 | 112 |
foreach($misapplied as $misapplied_name){ |
113 | 113 |
|
114 | 114 |
$out .= '<li class="synonym">'.$misapplied_name['out'] . " "; |
115 |
// fill authors with the renderedFootnoteKey and sorting 'em |
|
116 |
foreach($misapplied_name['authorteam'] as $authorteam=>&$renderedFootnoteKey) { |
|
117 |
$renderedFootnoteKey = $joinedAuthorTeams[$authorteam]; |
|
118 |
} |
|
119 | 115 |
if(isset($misapplied_name['authorteam'])){ |
120 |
ksort($misapplied_name['authorteam']); |
|
121 |
$out .= join('; ', $misapplied_name['authorteam']); |
|
116 |
// fill authors with the renderedFootnoteKey and sorting 'em |
|
117 |
foreach($misapplied_name['authorteam'] as $authorteam=>&$renderedFootnoteKey) { |
|
118 |
$renderedFootnoteKey = $joinedAuthorTeams[$authorteam]; |
|
119 |
} |
|
120 |
ksort($misapplied_name['authorteam']); |
|
121 |
$out .= join('; ', $misapplied_name['authorteam']); |
|
122 | 122 |
} |
123 | 123 |
$out .= '</li>'; |
124 | 124 |
|
... | ... | |
142 | 142 |
|
143 | 143 |
$out = ''; |
144 | 144 |
if(isset($_REQUEST['acceptedFor'])){ |
145 |
|
|
145 |
|
|
146 | 146 |
$synonym = cdm_ws_get(CDM_WS_PORTAL_TAXON, $_REQUEST['acceptedFor']); |
147 |
|
|
147 |
|
|
148 | 148 |
if($synonym){ |
149 | 149 |
$out .= '<span class="acceptedFor">'; |
150 | 150 |
$out .= t('is accepted for '); |
... | ... | |
300 | 300 |
case 'treated as later homonym for': |
301 | 301 |
if(isset($rels_out)){ |
302 | 302 |
$rels_out = ' nec ' . l($element->toName->titleCache . ' ' . substr($element->toName->nomenclaturalReference->datePublished->start, 0, 4), |
303 |
'cdm_dataportal/name/' . $element->toName->uuid);
|
|
303 |
'cdm_dataportal/name/' . $element->toName->uuid); |
|
304 | 304 |
}else{ |
305 | 305 |
$rels_out = ' non ' . l($element->toName->titleCache . ' ' . substr($element->toName->nomenclaturalReference->datePublished->start, 0, 4), |
306 | 306 |
'cdm_dataportal/name/' . $element->toName->uuid); |
Also available in: Unified diff
fixes and modifications for TDWG 2010