function imagepicker_show_browse_search_form_elem in Image Picker 7
Same name and namespace in other branches
- 6.2 imagepicker.form-elements.inc \imagepicker_show_browse_search_form_elem()
2 calls to imagepicker_show_browse_search_form_elem()
- imagepicker_settings_form in ./
imagepicker.admin.inc - Function to display the imagepicker admin settings form
- imagepicker_user_config_admin_form in ./
imagepicker.user.inc - Submit form
File
- ./
imagepicker.form-elements.inc, line 201 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function imagepicker_show_browse_search_form_elem($default = NULL) {
return array(
'#type' => 'checkbox',
'#title' => t('Show the search form in the browser'),
'#return_value' => 1,
'#default_value' => is_numeric($default) ? $default : imagepicker_variable_get('imagepicker_show_browse_search_form', 1),
);
}