X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/b1ae88cfb28f1946b8d3afea9882e352938292b5..21abf559fd07c68fe2852e6627036e8a9fbd2534:/index.php?ds=sidebyside
diff --git a/index.php b/index.php
index ca67e7f..11205a4 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.') . '
:
- + -:
- +
@@ -155,7 +154,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 { + ?>