aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-07-30 13:48:35 +0000
committerplegall <plg@piwigo.org>2014-07-30 13:48:35 +0000
commit379398d91751ca7394cd7c24ace3f7767fa1e5dd (patch)
tree6c5be81f008da844aa514a06143d9f58b9aaa73b /admin/themes/default
parentcd110d959b6f6381a250e876f2b6f5c36705274c (diff)
feature 3067: upload any file type with the new HTML5 upload form.
$file_types = conf['upload_form_all_types'] ? $conf['file_ext'] : $conf['picture_ext']; By default, conf['upload_form_all_types'] = false; git-svn-id: http://piwigo.org/svn/trunk@29124 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/photos_add_direct.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl
index 7643d29ec..971346e1e 100644
--- a/admin/themes/default/template/photos_add_direct.tpl
+++ b/admin/themes/default/template/photos_add_direct.tpl
@@ -80,8 +80,7 @@ jQuery(document).ready(function(){
max_file_size : '1000mb',
// Specify what files to browse for
mime_types: [
- {title : "Image files", extensions : "jpeg,jpg,gif,png"},
- {title : "Zip files", extensions : "zip"}
+ {title : "Image files", extensions : "{/literal}{$file_exts}{literal}"}
]
},