function imagepicker_group_search_form in Image Picker 7
Same name and namespace in other branches
- 5.2 imagepicker.module \imagepicker_group_search_form()
- 6.2 imagepicker.admin.inc \imagepicker_group_search_form()
Function to display the imagepicker group search form
Return value
Returns the form.
1 string reference to 'imagepicker_group_search_form'
File
- ./
imagepicker.admin.inc, line 1604 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function imagepicker_group_search_form($form, &$form_state, $dir = 'groups') {
$form['imagepicker_currentgroup'] = array(
'#type' => 'textfield',
'#title' => t('Groups'),
'#autocomplete_path' => IMAGEPICKER_ADMIN_PATH . '/groups/autocomplete',
'#default_value' => '',
'#maxlength' => 30,
'#size' => 25,
);
$form['dir'] = array(
'#type' => 'value',
'#value' => $dir,
);
$form['imagepicker_group_search_submit'] = array(
'#type' => 'submit',
'#value' => t('Go'),
);
return $form;
}