@@ -159,79 +165,99 @@ if (jirafeau_has_upload_password ($cfg))
|
|
0)
- {
- echo '
' . t ('File size is limited to');
- echo " " . $cfg['maximal_upload_size'] . " MB
";
+ if ($cfg['maximal_upload_size'] > 0) {
+ echo '
' . t('File size is limited to');
+ echo " " . $cfg['maximal_upload_size'] . " MB
";
}
?>
+ if (jirafeau_has_upload_password($cfg) && $_SESSION['upload_auth']) {
+ ?>
+
+ } else {
+ ?>