From 00cffd7ddba6bd7b65fcd4c1ce625515cf5489d0 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Thu, 27 Sep 2012 17:02:11 -0400 Subject: Move package deletion to a separate page Package actions now have a separate box on the package details page. Make a package deletion link in that box. Link leads to a new page (pkgdel.php) that can be used to confirm package deletion. A separate page with confirmation is used to avoid CSRFs. Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/pkgdel.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 web/html/pkgdel.php (limited to 'web/html/pkgdel.php') diff --git a/web/html/pkgdel.php b/web/html/pkgdel.php new file mode 100644 index 0000000..7f244eb --- /dev/null +++ b/web/html/pkgdel.php @@ -0,0 +1,44 @@ + +
+

+

+ ', htmlspecialchars($pkgname), ''); ?> + + +

+
+
+ + + +

+

+

" />

+
+
+
+ +