From 47838a23b390bfbbba38557da1b2d8b8596297d6 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Feb 2016 14:35:23 +0100 Subject: fixes #345, forget about filesize limit on upload ... but check upload_max_filesize (PHP setting) is bigger than upload_form_chunk_size (Piwigo setting) --- admin/themes/default/template/photos_add_direct.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'admin/themes/default') diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index 71663fc20..decd3e2b3 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -282,10 +282,9 @@ jQuery(document).ready(function(){

{'The picture dimensions will be reduced to %dx%d pixels.'|@translate:$original_resize_maxwidth:$original_resize_maxheight}

{/if} -

{$upload_max_filesize_shorthand}B. {$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx{/if}

+

{$upload_file_types}. {if isset($max_upload_resolution)}{$max_upload_resolution}Mpx{/if}

- {'Maximum file size: %sB.'|@translate:$upload_max_filesize_shorthand} {'Allowed file types: %s.'|@translate:$upload_file_types} {if isset($max_upload_resolution)} {'Approximate maximum resolution: %dM pixels (that\'s %dx%d pixels).'|@translate:$max_upload_resolution:$max_upload_width:$max_upload_height} -- cgit v1.2.3