Ignore:
Timestamp:
Jan 12, 2012, 10:37:28 PM (12 years ago)
Author:
plg
Message:

feature 2548, multiple size:

  • adapt the upload script
  • remove the resize settings screen
  • add a new screen [Administration > Configuration > Options > Photo Sizes] with the ability to resize original after upload
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r12831 r12879  
    3434
    3535include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
    36 include_once(PHPWG_ROOT_PATH.'admin/include/functions_upload.inc.php');
    37 
    38 $upload_form_config = get_upload_form_config();
    39 foreach ($upload_form_config as $param_shortname => $param)
    40 {
    41   $param_name = 'upload_form_'.$param_shortname;
    42   $form_values[$param_shortname] = $conf[$param_name];
    43 }
    4436
    4537// +-----------------------------------------------------------------------+
     
    464456    'selection' => $collection,
    465457    'all_elements' => $page['cat_elements_id'],
    466     'upload_form_settings' => $form_values,
    467458    'U_DISPLAY'=>$base_url.get_query_string_diff(array('display')),
    468459    'F_ACTION'=>$base_url.get_query_string_diff(array('cat')),
Note: See TracChangeset for help on using the changeset viewer.