X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/486d4f5ea5be5649cdbc478a9a9948af37e73366..c3114e0b2e59f3d5e75368d1e29f0c9bbad1eb87:/index.php diff --git a/index.php b/index.php index 6c0a03a..b03af76 100644 --- a/index.php +++ b/index.php @@ -107,7 +107,7 @@ else {

- +

@@ -118,7 +118,7 @@ else {

- +

- +

@@ -138,7 +138,7 @@ else {

- +

@@ -166,8 +166,14 @@ else {

- ')"/> + 0) { + echo t('2_BIG') . ', ' . t('FILE_LIM') . " " . $cfg['maximal_upload_size'] . " MB."; + } + ?>')"/>

@@ -230,9 +236,14 @@ else { 0) { + if ($cfg['maximal_upload_size'] >= 1024) { + echo '

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

"; + } else if ($cfg['maximal_upload_size'] > 0) { echo '

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

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

"; + } else { + echo '

'; } ?>