Revision 6858b474
Added by Andreas Kohlbecker about 8 years ago
modules/cdm_dataportal/settings.php | ||
---|---|---|
97 | 97 |
) |
98 | 98 |
); |
99 | 99 |
define('DISTRIBUTION_CONDENSED', 'distribution_condensed'); |
100 |
define('DISTRIBUTION_CONDENSED_INFO_PATH', 'distribution_condensed_info_path'); |
|
101 |
define('DISTRIBUTION_CONDENSED_INFO_PATH_DEFAULT', 'cdm_dataportal/help/condensed_distribution'); |
|
100 | 102 |
define('FEATURE_BLOCK_SETTINGS', 'feature_block_settings'); |
101 | 103 |
|
102 | 104 |
define('DISTRIBUTION_STATUS_COLORS', 'distribution_status_colors'); |
... | ... | |
2063 | 2065 |
of the distribution which includes also information on the status.', |
2064 | 2066 |
); |
2065 | 2067 |
|
2068 |
$form['taxon_profile']['distribution_layout'][DISTRIBUTION_CONDENSED_INFO_PATH] = array( |
|
2069 |
'#type' => 'textfield', |
|
2070 |
'#title' => t('Condensed distribution info path'), |
|
2071 |
'#default_value' => variable_get(DISTRIBUTION_CONDENSED_INFO_PATH, DISTRIBUTION_CONDENSED_INFO_PATH_DEFAULT), |
|
2072 |
'#description' => 'By default the help page ' .l(DISTRIBUTION_CONDENSED_INFO_PATH_DEFAULT, DISTRIBUTION_CONDENSED_INFO_PATH_DEFAULT) |
|
2073 |
. ' is used as target for the info link which is shown at the end of the condensed distribution string.', |
|
2074 |
); |
|
2075 |
|
|
2066 | 2076 |
|
2067 | 2077 |
$form['taxon_profile']['distribution_layout'][DISTRIBUTION_ORDER_MODE] = array( |
2068 | 2078 |
'#type' => 'radios', |
Also available in: Unified diff
#5465 implemented