48c8896e24aad027324bb061e42f09c0678df127
[cacert-devel.git] / pages / account / 50.php
1 <? /*
2 LibreSSL - CAcert web application
3 Copyright (C) 2004-2008 CAcert Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; version 2 of the License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */ ?>
18 <? if($_SESSION['_config']['error'] != "") { ?><div color="orange">ERROR: <?=$_SESSION['_config']['error']?></div><? unset($_SESSION['_config']['error']); } ?>
19 <form method="post" action="account.php">
20 <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
21 <tr>
22 <td colspan="2" class="title"><?=_("Delete Account")?></td>
23 </tr>
24 <tr>
25 <td class="DataTD"><?=_("Email")?>:</td>
26 <td class="DataTD"><b><?=sanitizeHTML($_REQUEST['email'])?></b></td>
27 </tr>
28 <tr>
29 <td class="DataTD"><?=_("Username from arbitration number.")?>:</td>
30 <td class="DataTD"><input type="text" name="arbitrationno"></td>
31 </tr>
32 <tr>
33 <td class="DataTD" colspan="2"><?=_("Are you sure you want to delete this user, while not actually deleting the account it will completely disable it and revoke any/all certificates currently issued.")?></td>
34 </tr>
35 <tr>
36 <td class="DataTD" colspan="2"><input type="submit" name="cancel" value="<?=_("No")?>"> <input type="submit" name="process" value="<?=_("Yes")?>"></td>
37 </tr>
38 </table>
39 <input type="hidden" name="userid" value="<?=intval($_REQUEST['userid'])?>">
40 <input type="hidden" name="oldid" value="<?=$id?>">
41 </form>