source code taken from cacert-20090625.tar.bz2
[cacert.git] / cacert / pages / account / 24.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"><?=_("New Organisation")?></td>
22 </tr>
23 <tr>
24 <td class="DataTD"><?=_("Organisation Name")?>:</td>
25 <td class="DataTD"><input type="text" name="O" value="<?=array_key_exists('O',$_SESSION['_config'])?$_SESSION['_config']['O']:""?>" maxlength="50"></td>
26 </tr>
27 <tr>
28 <td class="DataTD"><?=_("Contact Email")?>:</td>
29 <td class="DataTD"><input type="text" name="contact" value="<?=array_key_exists('contact',$_SESSION['_config'])?$_SESSION['_config']['contact']:""?>"></td>
30 </tr>
31 <tr>
32 <td class="DataTD"><?=_("Town/Suburb")?>:</td>
33 <td class="DataTD"><input type="text" name="L" value="<?=array_key_exists('L',$_SESSION['_config'])?$_SESSION['_config']['L']:""?>"></td>
34 </tr>
35 <tr>
36 <td class="DataTD"><?=_("State/Province")?>:</td>
37 <td class="DataTD"><input type="text" name="ST" value="<?=array_key_exists('ST',$_SESSION['_config'])?$_SESSION['_config']['ST']:""?>"></td>
38 </tr>
39 <tr>
40 <td class="DataTD"><?=_("Country")?>:</td>
41 <td class="DataTD"><input type="text" name="C" value="<?=array_key_exists('C',$_SESSION['_config'])?sanitizeHTML($_SESSION['_config']['C']):""?>" size="5">(2 letter <a href="http://www.iso.org/iso/english_country_names_and_code_elements">ISO code</a>)</td>
42 </tr>
43 <tr>
44 <td class="DataTD"><?=_("Comments")?>:</td>
45 <td class="DataTD"><textarea name="comments" cols="35" rows="5"><?=array_key_exists('comments',$_SESSION['_config'])?$_SESSION['_config']['comments']:""?></textarea></td>
46 </tr>
47 <tr>
48 <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Next")?>"></td>
49 </tr>
50 </table>
51 <input type="hidden" name="oldid" value="<?=$id?>">
52 </form>