96 |
96 |
)
|
97 |
97 |
)
|
98 |
98 |
);
|
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');
|
102 |
|
define('FEATURE_BLOCK_SETTINGS', 'feature_block_settings');
|
103 |
99 |
|
104 |
|
define('DISTRIBUTION_STATUS_COLORS', 'distribution_status_colors');
|
105 |
|
define('DISTRIBUTION_ORDER_MODE', 'distribution_order_mode');
|
106 |
|
define('DISTRIBUTION_ORDER_MODE_DEFAULT', 'TREE');
|
107 |
|
define('DISTRIBUTION_TREE_OMIT_LEVELS', 'distribution_tree_omit_levels');
|
|
100 |
|
|
101 |
define('FEATURE_BLOCK_SETTINGS', 'feature_block_settings');
|
|
102 |
|
|
103 |
define('DISTRIBUTION_CONDENSED', 'distribution_condensed');
|
|
104 |
define('DISTRIBUTION_CONDENSED_INFO_PATH', 'distribution_condensed_info_path');
|
|
105 |
define('DISTRIBUTION_CONDENSED_INFO_PATH_DEFAULT', 'cdm_dataportal/help/condensed_distribution');
|
|
106 |
define('DISTRIBUTION_CONDENSED_RECIPE', 'distribution_condensed_recipe');
|
|
107 |
define('DISTRIBUTION_CONDENSED_RECIPE_DEFAULT', 'EuroPlusMed');
|
|
108 |
|
|
109 |
|
|
110 |
define('DISTRIBUTION_STATUS_COLORS', 'distribution_status_colors');
|
|
111 |
define('DISTRIBUTION_ORDER_MODE', 'distribution_order_mode');
|
|
112 |
define('DISTRIBUTION_ORDER_MODE_DEFAULT', 'TREE');
|
|
113 |
define('DISTRIBUTION_TREE_OMIT_LEVELS', 'distribution_tree_omit_levels');
|
108 |
114 |
|
109 |
115 |
/**
|
110 |
116 |
* Returns the array of implemented taxon page tabs.
|
... | ... | |
2065 |
2071 |
of the distribution which includes also information on the status.',
|
2066 |
2072 |
);
|
2067 |
2073 |
|
|
2074 |
$form['taxon_profile']['distribution_layout'][DISTRIBUTION_CONDENSED_RECIPE] = array(
|
|
2075 |
'#type' => 'select',
|
|
2076 |
'#title' => t('Condensed distribution recipe'),
|
|
2077 |
'#default_value' => variable_get(DISTRIBUTION_CONDENSED_RECIPE, DISTRIBUTION_CONDENSED_RECIPE_DEFAULT),
|
|
2078 |
'#options' => array('EuroPlusMed' => 'Euro+Med', 'FloraCuba' => 'Flora of Cuba'),
|
|
2079 |
'#description' => 'Recipe for creating the condensed distribution.',
|
|
2080 |
);
|
|
2081 |
|
2068 |
2082 |
$form['taxon_profile']['distribution_layout'][DISTRIBUTION_CONDENSED_INFO_PATH] = array(
|
2069 |
2083 |
'#type' => 'textfield',
|
2070 |
2084 |
'#title' => t('Condensed distribution info path'),
|
settings for choosing a condensed distribution string recipe