From 7df8dc8bcb0989a8543d699a7c667809170a69b3 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 25 Jul 2014 11:04:19 +0200 Subject: Add support for deleting user accounts Users can now delete their own accounts by clicking a link in the account edit form and confirming the deletion on a follow-up page. Signed-off-by: Lukas Fleischer --- web/template/account_delete.php | 22 ++++++++++++++++++++++ web/template/account_edit_form.php | 4 ++++ 2 files changed, 26 insertions(+) create mode 100644 web/template/account_delete.php (limited to 'web/template') diff --git a/web/template/account_delete.php b/web/template/account_delete.php new file mode 100644 index 00000000..0d40e5a0 --- /dev/null +++ b/web/template/account_delete.php @@ -0,0 +1,22 @@ +

+ ' . htmlspecialchars($username) . '') ?> +

+

+ ', '') ?> +

+ +
+
+ + + +
+
+

+

+ +

+ " /> +

+
+
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index f5890fcb..37339853 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -1,3 +1,7 @@ +

+ ', '') ?> +

+
-- cgit v1.2.3-24-g4f1b