X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/045f02b53953998c9cb0cff34f7f62664bdd66cd..a80b0189a72e4d5e3982ed7c4f47bdda09e3def2:/f.php diff --git a/f.php b/f.php index a5c6228..9bbe4d9 100644 --- a/f.php +++ b/f.php @@ -58,7 +58,7 @@ if (count ($link) == 0) } $delete_code = ''; -if (isset ($_GET['d']) && !empty ($_GET['d'])) +if (isset ($_GET['d']) && !empty ($_GET['d']) && $_GET['d'] != '1') $delete_code = $_GET['d']; $crypt_key = ''; @@ -66,7 +66,7 @@ if (isset ($_GET['k']) && !empty ($_GET['k'])) $crypt_key = $_GET['k']; $do_download = false; -if (isset ($_GET['d']) && !empty ($_GET['d'])) +if (isset ($_GET['d']) && $_GET['d'] == '1') $do_download = true; $do_preview = false; @@ -125,7 +125,7 @@ if (!empty ($link['key'])) '
'; ?> + 'method = "post" id = "submit_post">'; ?> ' . '' . t('Password protection') . @@ -134,11 +134,11 @@ if (!empty ($link['key'])) '' . '' . '' . - t('By using our services, you accept of our'). ' ' . t('Term Of Service') . '' . + t('By using our services, you accept our'). ' ' . t('Term Of Service') . '' . '' . ''; ?>'; ?> + 'method = "post" id = "submit_post">'; ?> ' . $link['file_name'] . '' . '' . '
' . t('You are about to download') . ' "' . $link['file_name'] . '" (' . jirafeau_human_size($link['file_size']) . ')' . '
' . - t('By using our services, you accept of our'). ' ' . t('Term Of Service') . ''; + t('By using our services, you accept our'). ' ' . t('Term Of Service') . ''; ?>