X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/4b8e9e4372b345d72eaaa5341dfbb0aa6d3a6970..a1bcc5b88c09dcbbfb2f2ad0d509d32731ff04c3:/index.php?ds=inline
diff --git a/index.php b/index.php
index 4371e9e..bb454af 100644
--- a/index.php
+++ b/index.php
@@ -18,87 +18,77 @@
* 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 +161,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 { + ?>