summaryrefslogtreecommitdiff
path: root/web/template/account_delete.php
blob: 74f386dafd70f6f99b2495a4820bf7d832c81b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<p>
	<?= __('You can use this form to permanently delete the AUR account %s.', '<strong>' . htmlspecialchars($username) . '</strong>') ?>
</p>
<p>
	<?= __('%sWARNING%s: This action cannot be undone.', '<strong>', '</strong>') ?>
</p>

<form id="edit-profile-form" action="<?= get_user_uri($username) . 'delete/'; ?>" method="post">
	<fieldset>
		<input type="hidden" name="Action" value="<?= $A ?>" />
		<input type="hidden" name="ID" value="<?= $UID ?>" />
		<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
	</fieldset>
	<fieldset>
		<p><label class="confirmation"><input type="checkbox" name="confirm" value="1" />
		<?= __("Confirm deletion") ?></label></p>

		<p>
			<input type="submit" class="button" value="<?= __("Delete") ?>" />
		</p>
	</fieldset>
</form>