X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/9e4d7b5f220d21aa832f88efd784e8f464eb5384..8d6002fa6a6c13228b00ed54b07359aa83b90da3:/index.php
diff --git a/index.php b/index.php
index 2002ad7..eec0fa3 100644
--- a/index.php
+++ b/index.php
@@ -18,86 +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.') . '
:
- + -:
- +
@@ -154,7 +153,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 { + ?>