X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/b6f423726c6f71c769fc7d7f3b842f623595a808..ca3e013b99040f8233fab46a0bd3b2c51db10483:/index.php?ds=sidebyside
diff --git a/index.php b/index.php
index cf54193..33bb83e 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;
@@ -75,7 +76,7 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) {
+ size = "40" autocomplete = "current-password" />
|
@@ -185,7 +186,7 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) {
?>
|
- |
+ |
|
@@ -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 ();
"/>
@@ -294,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');