Revision bfb2b81a
Added by Andreas Kohlbecker over 11 years ago
7.x/modules/cdm_dataportal/settings.php | ||
---|---|---|
99 | 99 |
define('CDM_DATAPORTAL_DISPLAY_NAME_RELATIONSHIPS_DEFAULT', 1); |
100 | 100 |
define('CDM_TAXON_RELATIONSHIP_TYPES', 'cdm_taxon_relationship_types'); |
101 | 101 |
define('CDM_PROFILE_FEATURETREE_UUID', 'cdm_dataportal_featuretree_uuid'); |
102 |
define('CDM_OCCURRENCE_FEATURETREE_UUID', 'cdm_occurrence_featuretree_uuid'); |
|
102 | 103 |
define('CDM_DATAPORTAL_STRUCTURED_DESCRIPTION_FEATURETREE_UUID', 'cdm_dataportal_structdesc_featuretree_uuid'); |
103 | 104 |
|
104 | 105 |
/** |
... | ... | |
1096 | 1097 |
<strong>specimens</strong> tab.'), |
1097 | 1098 |
); |
1098 | 1099 |
|
1100 |
$featureTrees = cdm_get_featureTrees_as_options(TRUE); |
|
1101 |
$form['taxon_specimens']['feature_trees'][CDM_OCCURRENCE_FEATURETREE_UUID] = array( |
|
1102 |
'#type' => 'radios', |
|
1103 |
'#title' => t('Specimen description feature tree') . ':', |
|
1104 |
'#default_value' => variable_get(CDM_OCCURRENCE_FEATURETREE_UUID, UUID_DEFAULT_FEATURETREE), |
|
1105 |
'#options' => $featureTrees['options'], |
|
1106 |
// Comment @WA: because #options are sanitized in D7, it would |
|
1107 |
// strip html like <fieldset>, so we put the fieldset in a suffix. |
|
1108 |
'#field_suffix' => $featureTrees['treeRepresentations'], |
|
1109 |
'#description' => t('Select the feature tree to be used for displaying specimen descriptions. Click "Show Details" to see the Feature Tree elements.' |
|
1110 |
), |
|
1111 |
); |
|
1112 |
|
|
1099 | 1113 |
$form_name = CDM_DATAPORTAL_SPECIMEN_GALLERY_NAME; |
1100 | 1114 |
$form_title = t('Specimen media'); |
1101 | 1115 |
$form_description = t('Specimens may have media which is displayed at the |
... | ... | |
1694 | 1708 |
} |
1695 | 1709 |
} |
1696 | 1710 |
|
1711 |
|
|
1697 | 1712 |
/** |
1698 | 1713 |
* Implements hook_element_info(). |
1699 | 1714 |
* |
Also available in: Unified diff
feature tree for specimen descriptions, resetting map service uri