f3cd1f2e7b46c0f59f84eb3be2d59f5ddcc0d45e
[cacert-devel.git] / pages / account / 1.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 <form method="post" action="account.php">
19 <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
20 <tr>
21 <td colspan="2" class="title"><?=_("Add Email")?></td>
22 </tr>
23
24 <tr>
25 <td class="DataTD" width="125"><?=_("Email Address")?>: </td>
26 <td class="DataTD" width="125"><input type="text" name="newemail" value="<?=array_key_exists('newemail',$_SESSION['profile'])?sanitizeHTML($_SESSION['profile']['newemail']):''?>"></td>
27 </tr>
28 <tr>
29 <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("I own or am authorised to control this email address")?>"/></td>
30 </tr>
31 </table>
32 <input type="hidden" name="oldid" value="<?=$id?>">
33 <input type="hidden" name="csrf" value="<?=make_csrf('addemail')?>" />
34 </form>
35 <p><?=_("Currently we only issue certificates for Punycode domains if the person requesting them has code signing attributes attached to their account, as these have potentially slightly higher security risk.")?></p>