Révision 082b75eb
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/file_entity/file_entity.admin.inc | ||
---|---|---|
1157 | 1157 |
'#default_value' => variable_get('file_entity_file_upload_wizard_skip_fields', FALSE), |
1158 | 1158 |
'#description' => t('The field selection step is only available if the file type the file belongs to has any available fields. If this step is skipped, any fields on the file will be left blank.'), |
1159 | 1159 |
); |
1160 |
$form['file_replace_options'] = array( |
|
1161 |
'#type' => 'fieldset', |
|
1162 |
'#title' => t('File replace optons'), |
|
1163 |
'#collapsible' => TRUE, |
|
1164 |
'#collapsed' => FALSE, |
|
1165 |
'#description' => t('Default settings for how to handle file name changes during replace.'), |
|
1166 |
); |
|
1167 |
$form['file_replace_options']['file_entity_file_replace_options_keep_original_filename'] = array( |
|
1168 |
'#type' => 'checkbox', |
|
1169 |
'#title' => t('Keep original file name'), |
|
1170 |
'#default_value' => variable_get('file_entity_file_replace_options_keep_original_filename', FALSE), |
|
1171 |
'#description' => t('Rename the newly uploaded file to the name of the original file. This action cannot be undone.'), |
|
1172 |
); |
|
1160 | 1173 |
|
1161 | 1174 |
return system_settings_form($form); |
1162 | 1175 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules