- : |
+ : |
|
- |
- |
+ |
+ |
- |
+ |
|
0)
- {
- echo '' . t ('File size is limited to');
- 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.
";
+ } else if ($cfg['maximal_upload_size'] > 0) {
+ echo '' . t('FILE_LIM');
+ echo " " . $cfg['maximal_upload_size'] . " MB.
";
+ } else {
+ echo '';
}
?>
-
+
+ if (jirafeau_has_upload_password($cfg) && $_SESSION['upload_auth']) {
+ ?>
+
+ } else {
+ ?>
-