Revision 2e893626
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/includes/occurrences.inc | ||
---|---|---|
316 | 316 |
'getGatheringPeriod' => 'Gathering period', |
317 | 317 |
); |
318 | 318 |
|
319 |
if(str_endsWith($field,'_L10n')){ |
|
320 |
$field = str_replace('_L10n', '', $field ); |
|
321 |
} |
|
319 | 322 |
if (isset($field_labels[$field])) { |
320 | 323 |
$field = $field_labels[$field]; |
321 | 324 |
} |
... | ... | |
1333 | 1336 |
case 'derivationEvent': |
1334 | 1337 |
@_description_list_group_add($groups, 'Gathering type:', ucfirst($value->derivationEventType), NULL, 1); |
1335 | 1338 |
break; |
1336 |
case 'kindOfUnit': |
|
1339 |
case 'kindOfUnit_L10n':
|
|
1337 | 1340 |
@_description_list_group_add($groups, cdm_occurrence_field_name_label($field), $value, NULL, 1); |
1338 | 1341 |
break; |
1339 | 1342 |
case 'accessionNumber': |
Also available in: Unified diff
ref #9252 localizing kind of unit in SpecimenOrObservationBaseDTO - adapting portal