+ elseif ($Mode == 'ADD_ITEM' && ($_FILES['filename']['error'] > 0)) {
+ if ($_FILES['filename']['error'] == UPLOAD_ERR_INI_SIZE)
+ display_error(_("The file size is over the maximum allowed."));
+ else
+ display_error(_("Select attachment file."));
+ }