file_force.admin.inc in File Force Download 6.2
File
file_force.admin.inc
View source
<?php
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);
}