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