You are here

function ocupload_form_settings in One Click Upload 7

Same name and namespace in other branches
  1. 7.2 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 37
Service functions

Code

function ocupload_form_settings($form, &$form_state) {
  $form['ocupload_delete_unused_files'] = array(
    '#type' => 'checkbox',
    '#title' => t('Delete unused files'),
    '#description' => t('To save space uploaded files that are not used in text will be deleted'),
    '#default_value' => variable_get('ocupload_delete_unused_files', 1),
  );
  return system_settings_form($form);
}