X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/dfa4d5337602a1de5910a95cf0cda85292049a11..93339d5a4ba7247955582b9e207231e70d538111:/index.php
diff --git a/index.php b/index.php
index 4b50ec1..09b37e4 100644
--- a/index.php
+++ b/index.php
@@ -18,87 +18,78 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see
' . t('Access denied') . '
' . t('Wrong password.') . '
:
@@ -138,7 +131,7 @@ if (jirafeau_has_upload_password ($cfg))- +
@@ -155,7 +148,7 @@ if (jirafeau_has_upload_password ($cfg))')"/> + onchange="control_selected_file_size(, '')"/>
' . 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 { + ?>