Ignore:
Timestamp:
Jul 30, 2014, 3:48:35 PM (10 years ago)
Author:
plg
Message:

feature 3067: upload any file type with the new HTML5 upload form.

$file_types = confupload_form_all_types ? $conffile_ext : $confpicture_ext;

By default, confupload_form_all_types = false;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/photos_add_direct.tpl

    r29009 r29124  
    8181                        // Specify what files to browse for
    8282                        mime_types: [
    83                                 {title : "Image files", extensions : "jpeg,jpg,gif,png"},
    84                                 {title : "Zip files", extensions : "zip"}
     83                                {title : "Image files", extensions : "{/literal}{$file_exts}{literal}"}
    8584                        ]
    8685                },
Note: See TracChangeset for help on using the changeset viewer.