function imagecache_ui_preset_form_submit in ImageCache 5.2
Same name and namespace in other branches
- 6.2 imagecache_ui.pages.inc \imagecache_ui_preset_form_submit()
File
- ./
imagecache_ui.module, line 398
Code
function imagecache_ui_preset_form_submit($form_id, $form_values) {
if (isset($form_values['actions'])) {
foreach ($form_values['actions'] as $action) {
imagecache_action_save($action);
}
}
imagecache_preset_save($form_values);
return 'admin/build/imagecache/preset/' . $form_values['presetid'];
}