feature 2606: second step on multiple size configuration screen redesign.

Configuration settings are saved on form submission.

The old screen is still available for tests.

Default resize quality set to 95 instead of 85.


git-svn-id: http://piwigo.org/svn/trunk@14221 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-04-19 14:43:30 +00:00
parent fed0c74a92
commit 796b6b3ffe
5 changed files with 356 additions and 91 deletions

View File

@@ -68,7 +68,7 @@ function get_upload_form_config()
return $upload_form_config;
}
function save_upload_form_config($data, &$errors=array())
function save_upload_form_config($data, &$errors=array(), &$form_errors=array())
{
if (!is_array($data) or empty($data))
{
@@ -130,6 +130,8 @@ function save_upload_form_config($data, &$errors=array())
$max
)
);
$form_errors[$field] = '['.$min.' .. '.$max.']';
}
}
}