function imagefield_crop_form_system_themes_admin_form_alter in Imagefield Crop 7
Implements hook_form_FORM_ID_alter().
Provides option to disable the max width fix.
File
- ./
imagefield_crop.module, line 224 - Provide a widget to crop uploaded image.
Code
function imagefield_crop_form_system_themes_admin_form_alter(&$form, &$form_state, $form_id) {
$form['admin_theme']['imagefield_crop_max_width_fix'] = array(
'#type' => 'checkbox',
'#title' => t('Use the max-width fix for imagefield_crop'),
'#default_value' => variable_get('imagefield_crop_max_width_fix', TRUE),
);
$form['#submit'][] = 'imagefield_crop_form_system_themes_admin_form_alter_submit';
}