Revision bd56cbc1
Added by Andreas Kohlbecker almost 4 years ago
modules/cdm_dataportal/settings.php | ||
---|---|---|
18 | 18 |
const CDM_MEDIA_GALLERY_VIEWER = 'image_gallery_viewer'; |
19 | 19 |
const CDM_MEDIA_GALLERY_VIEWER_DEFAULT = 'universalviewer'; |
20 | 20 |
|
21 |
const CDM_TAXONPAGE_TAXON_NODE_SHOW_STATES = 'cdm_taxonpage_taxon_node_show_status'; |
|
21 | 22 |
define('TAXONTREE_RANKLIMIT', 'cdm_taxontree_ranklimit'); |
22 | 23 |
define('TAXONTREE_RANKLIMIT_DEFAULT', 0); |
23 | 24 |
define('CDM_TAXONOMICTREE_UUID', 'cdm_taxonomictree_uuid'); |
... | ... | |
1282 | 1283 |
'#default_value' => variable_get(CDM_TAXONOMICTREE_UUID, FALSE), |
1283 | 1284 |
'#options' => cdm_get_taxontrees_as_options(), |
1284 | 1285 |
'#description' => t('The default taxa classification to be used in the whole portal. |
1285 |
This affects most obviously the classification browser and the search in case is is restricted
|
|
1286 |
This affects most obviously the classification browser and the search in case it is restricted
|
|
1286 | 1287 |
to a specific classification. See also <i>Included Classifications</i> below.'), |
1287 | 1288 |
); |
1288 | 1289 |
|
... | ... | |
1951 | 1952 |
|
1952 | 1953 |
$form['#submit'][] = 'cdm_settings_layout_taxon_submit'; |
1953 | 1954 |
|
1955 |
// --------- TABBED TAXON ------- // |
|
1956 |
$form['taxon_node'] = array( |
|
1957 |
'#type' => 'fieldset', |
|
1958 |
'#title' => t('Taxon node'), |
|
1959 |
'#collapsible' => TRUE, |
|
1960 |
'#collapsed' => TRUE, |
|
1961 |
'#description' => 'Taxa are organized in a classification tree by taxon nodes. Display of taxon node related information like states can be manged here.' |
|
1962 |
); |
|
1963 |
$form['taxon_node'][CDM_TAXONPAGE_TAXON_NODE_SHOW_STATES] = array( |
|
1964 |
'#type' => 'checkbox', |
|
1965 |
'#title' => t('Show taxon node states'), |
|
1966 |
'#default_value' => variable_get(CDM_TAXONPAGE_TAXON_NODE_SHOW_STATES, 1), |
|
1967 |
'#description' => t('Show the taxon node states excluded, unplaced and placement doubtful.'), |
|
1968 |
); |
|
1969 |
|
|
1954 | 1970 |
// --------- TABBED TAXON ------- // |
1955 | 1971 |
$form['taxon_tabs'] = array( |
1956 | 1972 |
'#type' => 'fieldset', |
Also available in: Unified diff
ref #9010 taxon node status display for taxon pages with tests