X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/e4bb712d9d36a6e4d0228c40df780e07317e719a..063c21d8341dbade23c21427e6c9de447b67cc16:/f.php
diff --git a/f.php b/f.php
index 0797c40..99a67df 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') .
+ ' |
';
+ }
+
+ ?>
+ |