Ignore:
Timestamp:
01/09/14 21:04:26 (6 years ago)
Author:
plg
Message:

new experimental feature: upload any type of file.

If $confupload_form_all_types=true, then we take $conffile_ext

Else we only accept $confpicture_ext

must be completed with specific code in add_uploaded_file function (admin/include/functions_upload.inc.php)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/add_photos.tpl

    r23393 r26562  
    269269    'multi'          : true, 
    270270    'fileTypeDesc'   : 'Photo files', 
    271     'fileTypeExts'   : '*.jpg;*.JPG;*.jpeg;*.JPEG;*.png;*.PNG;*.gif;*.GIF', 
     271    'fileTypeExts'   : '{/literal}{$uploadify_fileTypeExts}{literal}', 
    272272    'fileSizeLimit'  : sizeLimit, 
    273273    'progressData'   : 'percentage', 
Note: See TracChangeset for help on using the changeset viewer.