X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/18a49e2771e57b65b70ac684912295450ebb283b..cf120158b2cde0b407d7f4489abb611a8a43088a:/index.php diff --git a/index.php b/index.php index 9b1a4c9..b03af76 100644 --- a/index.php +++ b/index.php @@ -107,7 +107,7 @@ else {

- +

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

- +

- +

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

- +

@@ -167,9 +167,13 @@ else {

')"/> + onchange="control_selected_file_size(, '= 1024) { + echo t('2_BIG') . ', ' . t('FILE_LIM') . " " . number_format($cfg['maximal_upload_size']/1024, 2) . " GB."; + } else if ($cfg['maximal_upload_size'] > 0) { + echo t('2_BIG') . ', ' . t('FILE_LIM') . " " . $cfg['maximal_upload_size'] . " MB."; + } + ?>')"/>

@@ -232,13 +236,14 @@ else { 0 && $cfg['maximal_upload_size'] < 1024) { + 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.

"; - } - else { - echo '

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

"; + } else { + echo '

'; } ?>