summaryrefslogtreecommitdiffstats
path: root/web/template/account_delete.php
blob: d0c6e74ddd5052b6060ac62ffca58ab5542db571 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<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="<?= $action ?>" />
		<input type="hidden" name="ID" value="<?= $UID ?>" />
		<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
	</fieldset>
	<fieldset>
		<p>
			<label for="id_passwd"><?= __("Password") ?>:</label>
			<input type="password" size="30" name="passwd" id="id_passwd" value="" />
		</p>

		<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>