Revision 606e1f53
Added by Alexander Oppermann about 11 years ago
7.x/modules/cdm_dataportal/cdm_csv_export/cdm_csv_export.module | ||
---|---|---|
136 | 136 |
'#collapsed' => TRUE, |
137 | 137 |
); |
138 | 138 |
|
139 |
//TODO: #title value needs to be fetched from 'area_filter_country' |
|
139 |
define('CDM_WS_TERM', 'term/$0'); |
|
140 |
$term = cdm_ws_get(CDM_WS_TERM, variable_get('area_filter_country')); |
|
141 |
$cdmRepresentationTitleCache = cdm_term_representation($term); |
|
140 | 142 |
$form['regionFilter']['country'] = array ( |
141 | 143 |
'#type' => 'checkbox', |
142 |
'#title' => 'Germany',
|
|
144 |
'#title' => t($cdmRepresentationTitleCache),
|
|
143 | 145 |
'#attributes' => array('name' => 'area', |
144 | 146 |
'id' => 'checkall', |
145 | 147 |
'value' => variable_get('area_filter_country') |
Also available in: Unified diff
*titleCache is now fetched by the webService.