X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/8665ea5fc150ca65125f24023b545fe39bdb2a95..ac13b92b26d4fa871749fa22be8d8f41f5b9641d:/index.php diff --git a/index.php b/index.php index fb5f1e5..1a8b2bd 100644 --- a/index.php +++ b/index.php @@ -27,6 +27,7 @@ require(JIRAFEAU_ROOT . 'lib/lang.php'); check_errors($cfg); if (has_error()) { + require(JIRAFEAU_ROOT . 'lib/template/header.php'); show_errors(); require(JIRAFEAU_ROOT . 'lib/template/footer.php'); exit; @@ -208,6 +209,10 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) { 'value' => 'week', 'label' => '1_W' ), + array( + 'value' => 'fortnight', + 'label' => '2_W' + ), array( 'value' => 'month', 'label' => '1_M' @@ -265,7 +270,7 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) { onclick=" document.getElementById('upload').style.display = 'none'; document.getElementById('uploading').style.display = ''; - upload (); + upload (); "/>