Merge branch 'bug-1002' into release
[cacert-devel.git] / 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 <?
19 // Reset session variables regarding Org's, present empty form
20 if (array_key_exists('O',$_SESSION['_config'])) $_SESSION['_config']['O'] = "";
21 if (array_key_exists('contact',$_SESSION['_config'])) $_SESSION['_config']['contact'] = "";
22 if (array_key_exists('L',$_SESSION['_config'])) $_SESSION['_config']['L'] = "";
23 if (array_key_exists('ST',$_SESSION['_config'])) $_SESSION['_config']['ST'] = "";
24 if (array_key_exists('C',$_SESSION['_config'])) $_SESSION['_config']['C'] = "";
25 if (array_key_exists('comments',$_SESSION['_config'])) $_SESSION['_config']['comments'] = "";
26
27 ?>
28 <form method="post" action="account.php">
29 <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
30 <tr>
31 <td colspan="2" class="title"><?=_("New Organisation")?></td>
32 </tr>
33 <tr>
34 <td class="DataTD"><?=_("Organisation Name")?>:</td>
35 <td class="DataTD"><input type="text" name="O" value="" maxlength="50" size="90"></td>
36 </tr>
37 <tr>
38 <td class="DataTD"><?=_("Contact Email")?>:</td>
39 <td class="DataTD"><input type="text" name="contact" value="" size="90"></td>
40 </tr>
41 <tr>
42 <td class="DataTD"><?=_("Town/Suburb")?>:</td>
43 <td class="DataTD"><input type="text" name="L" value="" size="90"></td>
44 </tr>
45 <tr>
46 <td class="DataTD"><?=_("State/Province")?>:</td>
47 <td class="DataTD"><input type="text" name="ST" value="" size="90"></td>
48 </tr>
49 <tr>
50 <td class="DataTD"><?=_("Country")?>:</td>
51 <td class="DataTD"><input type="text" name="C" value="" size="5">(2 letter <a href="http://www.iso.org/iso/english_country_names_and_code_elements">ISO code</a>)</td>
52 </tr>
53 <tr>
54 <td class="DataTD"><?=_("Comments")?>:</td>
55 <td class="DataTD"><textarea name="comments" cols="60" rows="10"></textarea></td>
56 </tr>
57 <tr>
58 <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Next")?>"></td>
59 </tr>
60 </table>
61 <input type="hidden" name="oldid" value="<?=$id?>">
62 </form>