X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/deeb1323362ec6750535865e1e18ca37fe7728fc..9a9c9a8bf83241c193c5bef6361d41893e72dfd3:/index.php?ds=sidebyside
diff --git a/index.php b/index.php
index ca67e7f..6d1dc10 100644
--- a/index.php
+++ b/index.php
@@ -18,87 +18,76 @@
* 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.') . '
' . t('Wrong password.') . '
:
@@ -138,7 +129,7 @@ if (jirafeau_has_upload_password ($cfg))- +
@@ -155,7 +146,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 { + ?>