Revision b58fcc1f
Added by Andreas Kohlbecker over 7 years ago
modules/cdm_dataportal/cdm_dataportal.search.php | ||
---|---|---|
410 | 410 |
'#value' => 1, |
411 | 411 |
); |
412 | 412 |
|
413 |
// Only avaiable to admins: |
|
413 |
// Only available to admins:
|
|
414 | 414 |
if (!isset($_SESSION['cdm']['search']['clazz'])) { |
415 | 415 |
$_SESSION['cdm']['search']['clazz'] = ''; |
416 | 416 |
} |
417 | 417 |
if (module_exists("user") && user_access('administer')) { |
418 | 418 |
$form['search']['clazz'] = array( |
419 | 419 |
'#type' => 'select', |
420 |
'#title' => t('Limit to DescriptionElement type'),
|
|
420 |
'#title' => t('Limit to description item type'),
|
|
421 | 421 |
'#default_value' => $_SESSION['cdm']['search']['clazz'], |
422 | 422 |
'#options' => cdm_descriptionElementTypes_as_option(TRUE), |
423 | 423 |
); |
Also available in: Unified diff
ui text change