Ignore:
Timestamp:
04/19/12 16:43:30 (8 years ago)
Author:
plg
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upload.inc.php

    r13843 r14221  
    6969} 
    7070 
    71 function save_upload_form_config($data, &$errors=array()) 
     71function save_upload_form_config($data, &$errors=array(), &$form_errors=array()) 
    7272{ 
    7373  if (!is_array($data) or empty($data)) 
     
    131131            ) 
    132132          ); 
     133         
     134        $form_errors[$field] = '['.$min.' .. '.$max.']'; 
    133135      } 
    134136    } 
Note: See TracChangeset for help on using the changeset viewer.