From: Jerome Jutteau Date: Thu, 12 Mar 2015 19:16:34 +0000 (+0100) Subject: Fixes #7 Jirafeau can now limit file size X-Git-Tag: 1.1~154 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/c5571d92378b2dc0529d05b8f6ad3349b2d128cc?ds=sidebyside Fixes #7 Jirafeau can now limit file size - Can limit file size whatever upload method is used - Add a
for error handling - Fix courgette style --- diff --git a/index.php b/index.php index 8c2898a..36ef29e 100644 --- a/index.php +++ b/index.php @@ -141,6 +141,9 @@ if (jirafeau_has_upload_password ($cfg))

+
+
+
@@ -148,12 +151,9 @@ if (jirafeau_has_upload_password ($cfg))

+ onchange="control_selected_file_size(, '')"/>

- +
@@ -190,6 +190,15 @@ if (jirafeau_has_upload_password ($cfg)) + + 0) + { + echo '

' . t ('File size is limited to'); + echo " " . $cfg['maximal_upload_size'] . " MB

"; + } + ?> +