function imagepicker_user_search_form in Image Picker 5.2
Same name and namespace in other branches
- 6.2 imagepicker.admin.inc \imagepicker_user_search_form()
- 7 imagepicker.admin.inc \imagepicker_user_search_form()
1 string reference to 'imagepicker_user_search_form'
File
- ./
imagepicker.module, line 3875 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function imagepicker_user_search_form($dir) {
$form['imagepicker_currentuser'] = array(
'#type' => 'textfield',
'#title' => t('Users'),
'#description' => '',
'#autocomplete_path' => 'admin/settings/imagepicker/' . $dir . '/autocomplete',
'#default_value' => '',
'#maxlength' => 30,
'#size' => 25,
'#prefix' => '<div class="container-inline">',
);
$form['dir'] = array(
'#type' => 'hidden',
'#value' => $dir,
);
$form['imagepicker_stats_submit'] = array(
'#type' => 'submit',
'#value' => 'Go',
'#suffix' => '</div>',
);
return $form;
}