X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/d0a3851f3acc275b1cea2fc71ca01a84c1b3392a..refs/merge-requests/62/head:/index.php?ds=sidebyside diff --git a/index.php b/index.php index 6c0a03a..9b1a4c9 100644 --- a/index.php +++ b/index.php @@ -166,8 +166,10 @@ else {

- ')"/> + ')"/>

@@ -230,9 +232,13 @@ else { 0) { + if ($cfg['maximal_upload_size'] > 0 && $cfg['maximal_upload_size'] < 1024) { echo '

' . t('FILE_LIM'); - echo " " . $cfg['maximal_upload_size'] . " MB

"; + echo " " . $cfg['maximal_upload_size'] . " MB.

"; + } + else { + echo '

' . t('FILE_LIM'); + echo " " . $cfg['maximal_upload_size']/1024 . " GB.

"; } ?>