X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/379a0267c27b3731c60b7221f8f533aaf418fcae..1d1c1ce521a9788e0e75c82022f7e602f98b12df:/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 ();"/> +
+