Ignore:
Timestamp:
Aug 19, 2011, 6:04:43 PM (13 years ago)
Author:
plg
Message:

feature 2410 added: uploadify upgraded from version 2.1.0 to 3.0.0 (still beta,
but said as stable by users on uploadify forums)

bug 2411 fixed: thanks to uploadify 3.0.0, the "Browse" button is now localized
(text in any language)

bug 1653 fixed: if the selected file exceeds the upload_max_size (as defined in
the php.ini), an alert is shown and the file is not added to the queue.

bug 2412 fixed: ability to select GIF files with the Flash Uploader.

File:
1 edited

Legend:

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

    r11962 r11975  
    4343      );
    4444  }
    45  
    46   $category_id = $_POST['category'];
    47 
     45  else
     46  {
     47    $category_id = $_POST['category'];
     48  }
     49
     50  if (isset($_POST['onUploadError']) and is_array($_POST['onUploadError']) and count($_POST['onUploadError']) > 0)
     51  {
     52    foreach ($_POST['onUploadError'] as $error)
     53    {
     54      array_push($page['errors'], $error);
     55    }
     56  }
     57   
    4858  $image_ids = array();
    4959       
Note: See TracChangeset for help on using the changeset viewer.