function ocupload_form_settings in One Click Upload 7.2
Same name and namespace in other branches
- 7 ocupload.inc \ocupload_form_settings()
Form module settings.
1 string reference to 'ocupload_form_settings'
- ocupload_config_page in ./
ocupload.inc - Admin page with templates list.
File
- ./
ocupload.inc, line 41 - One Click Upload includes.
Code
function ocupload_form_settings($form, &$form_state) {
$form['ocupload_textarea_dragndrop'] = array(
'#type' => 'checkbox',
'#title' => t('Drag & Drop files inside textareas'),
'#description' => t('Add support Drag & Drop files inside textareas.'),
'#default_value' => variable_get('ocupload_textarea_dragndrop', 1),
);
return system_settings_form($form);
}