X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/0b85af176ceecbd94fad0b48977abf6eeff9c0c0..374e4718ddacfbaab32f57f8e0ab828520e8081e:/index.php diff --git a/index.php b/index.php index 8e512b6..b03af76 100644 --- a/index.php +++ b/index.php @@ -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."; + } + ?>')"/>
' . 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 ''; } ?>