X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/e4bb712d9d36a6e4d0228c40df780e07317e719a..26e9e38e96dd008948e4172888fb5a8fc8f439fb:/f.php?ds=sidebyside diff --git a/f.php b/f.php index 0797c40..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,9 +196,19 @@ 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') . + ''; + } + + ?> +