X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/18c82ef56dce9c9eb30b0f2318024d320d878a47..3221172a6d3e623090449000b4f541849bc9f9a5:/index.php?ds=sidebyside diff --git a/index.php b/index.php old mode 100644 new mode 100755 index 554afc7..d3c0df7 --- a/index.php +++ b/index.php @@ -26,8 +26,11 @@ require (JIRAFEAU_ROOT . 'lib/template/header.php'); check_errors (); if (has_error ()) +{ show_errors (); - + require (JIRAFEAU_ROOT . 'lib/template/footer.php'); + exit; +} ?>

@@ -66,15 +69,13 @@ if (has_error ()) document.getElementById('send').style.display = ''; "/>

-

- -

+

@@ -106,5 +107,9 @@ if (has_error ()) document.getElementById('upload_finished').style.display = 'none'; document.getElementById('options').style.display = 'none'; document.getElementById('send').style.display = 'none'; + if (!check_html5_file_api ()) + document.getElementById('max_file_size').innerHTML = '';