Index: imagecache_ui.module =================================================================== --- imagecache_ui.module +++ imagecache_ui.module @@ -252,12 +252,8 @@ $form = array(); $form['presetname'] = array( - '#type' => 'textfield', - '#size' => '64', - '#title' => t('Preset Namespace'), - '#default_value' => $preset['presetname'], - '#description' => t('The namespace is used in URL\'s for images to tell imagecache how to process an image. Please only use alphanumeric characters, underscores (_), and hyphens (-) for preset names.'), - '#required' => TRUE, + '#type' => 'value', + '#value' => $preset['presetname'], ); $form['presetid'] = array( '#type' => 'value', @@ -391,8 +387,6 @@ '#value' => l($imagecache_path, $imagecache_path) .'
'. l("", $imagecache_path, array('html' => true)), ); - $form['#validate'][] = 'imagecache_ui_preset_add_form_validate'; - return $form; }