X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/379a0267c27b3731c60b7221f8f533aaf418fcae..19ddf19e80da3cf04f4f0e99257ccf0cd4c393e2:/f.php?ds=inline 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 ();"/> +
+