X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/ac13b92b26d4fa871749fa22be8d8f41f5b9641d..1581d41cc21d3ec5609fe3d2c1e6acec2b348170:/index.php diff --git a/index.php b/index.php index 1a8b2bd..33bb83e 100644 --- a/index.php +++ b/index.php @@ -299,8 +299,11 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) { document.getElementById('send').style.display = 'none'; if (!check_html5_file_api ()) document.getElementById('max_file_size').innerHTML = ''; + $max_size = jirafeau_get_max_upload_size(); + if ($max_size > 0) { + echo t('NO_BROWSER_SUPPORT') . $max_size; + } + ?>'; addCopyListener('upload_link_button', 'upload_link'); addCopyListener('preview_link_button', 'preview_link');