X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/379a0267c27b3731c60b7221f8f533aaf418fcae..b2186ae902b055a52ba879e232c799581a1c657c:/f.php diff --git a/f.php b/f.php index bcf0848..4289eae 100644 --- a/f.php +++ b/f.php @@ -84,10 +84,32 @@ if (!file_exists(VAR_FILES . $p . $link['md5'])) { } if (!empty($delete_code) && $delete_code == $link['link_code']) { - jirafeau_delete_link($link_name); require(JIRAFEAU_ROOT.'lib/template/header.php'); - echo '

'.t('File has been deleted.'). - '

'; + if (isset($_POST['do_delete'])) { + jirafeau_delete_link($link_name); + echo '

'.t('File has been deleted.'). + '

'; + } else { ?> +
+
+ +
+ + + + + +
+ +
+ ' . t('Terms of Service') . '.' ?> +
+ + document.getElementById('submit_delete').submit ();"/> +
+