You are here

function file_force_settings in File Force Download 6.2

Form builder; Configure File Force settings.

See also

system_settings_form()

1 string reference to 'file_force_settings'
file_force_menu in ./file_force.module
Implementation of hook_menu().

File

./file_force.admin.inc, line 17
file_force.admin.inc

Code

function file_force_settings() {
  $form['description'] = array(
    '#value' => t('Please select the locations where you want File Force type links to be enabled by default. Note that if your theme already overrides a particular function, selecting it here will have no effect!'),
  );
  $form['file_force_upload_attachments'] = array(
    '#type' => 'checkbox',
    '#title' => t('Upload module attachments'),
    '#default_value' => variable_get('file_force_upload_attachments', 0),
    '#description' => t('See !api_link or !itweak_link', array(
      '!api_link' => l('theme_upload_attachments', 'http://api.drupal.org/api/drupal/modules!upload!upload.module/function/theme_upload_attachments/6'),
      '!itweak_link' => l('iTweak Upload', 'http://drupal.org/project/itweak_upload'),
    )),
  );
  return system_settings_form($form);
}