X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/a80b0189a72e4d5e3982ed7c4f47bdda09e3def2..02c483d076b6eecc1cd86ccd73c0aaad9ac07ed5:/f.php?ds=sidebyside diff --git a/f.php b/f.php index 9bbe4d9..59717b9 100644 --- a/f.php +++ b/f.php @@ -135,17 +135,24 @@ if (!empty ($link['key'])) '' . '' . t('By using our services, you accept our'). ' ' . t('Term Of Service') . '' . - '' . - ''; - ?>' . + t('Warning, this file will self-destruct after being read') . + ''; + } + + ?>

' . t('Access denied') . '

'; @@ -176,7 +182,7 @@ if (!empty ($link['key'])) } } -if ($cfg['download_page'] && !$password_challenged && !$do_download && !$do_preview) +if (!$password_challenged && !$do_download && !$do_preview) { require (JIRAFEAU_ROOT.'lib/template/header.php'); echo '
' . @@ -190,17 +196,27 @@ if ($cfg['download_page'] && !$password_challenged && !$do_download && !$do_prev t('You are about to download') . ' "' . $link['file_name'] . '" (' . jirafeau_human_size($link['file_size']) . ')' . '' . '' . - t('By using our services, you accept our'). ' ' . t('Term Of Service') . ''; - ?>' . t('Term Of Service') . '' . + ''; + + if ($link['onetime'] == 'O') + { + echo '' . + t('Warning, this file will self-destruct after being read') . + ''; + } + + ?> + '; echo '
';