]> WPIA git - gigi.git/blob - src/org/cacert/gigi/pages/orga/CreateOrgForm.templ
Adding new fields to organisation account
[gigi.git] / src / org / cacert / gigi / pages / orga / CreateOrgForm.templ
1 <table class="table">
2   <tr>
3     <th colspan="2">
4     <? if($edit) { ?>
5     <?=_Edit Organisation?>
6     <? } else { ?>
7     <?=_New Organisation?>
8     <? } ?></th>
9   </tr>
10   <tr>
11     <th colspan="2"><?=_Certificate data, all fields need to be filled?></th>
12   </tr>
13   <tr>
14     <td><?=_Organisation Name?>:</td>
15     <td><input class="form-control" type="text" name="O" value="<?=$O?>" maxlength="64" size="90">
16         <?=_(max. 64 characters)?>
17     </td>
18   </tr>
19   <tr>
20     <td><?=_Town/Suburb?>:</td>
21     <td><input class="form-control" type="text" name="L" value="<?=$L?>" maxlength="255" size="90"></td>
22   </tr>
23   <tr>
24     <td><?=_State/Province?>:</td>
25     <td><input class="form-control" type="text" name="ST" value="<?=$ST?>" maxlength="255" size="90"></td>
26   </tr>
27   <tr>
28     <td><?=_Country?>:</td>
29     <td><input class="form-control" type="text" name="C" value="<?=$C?>" maxlength="2" size="5">
30       <?=_(2 letter !'<a href="http://www.iso.org/iso/home/standards/country_codes/iso-3166-1_decoding_table.htm">'ISO code!'</a>')?>
31     </td>
32   </tr>
33   <? if($edit) { ?>
34   <tr>
35     <td></td>
36     <td><?=_WARNING: updating the data will revoke all issued certificates.?></td>
37   </tr>
38   <tr>
39     <td colspan="2"><button type="submit" name="action" value="updateCertificateData" class="btn btn-primary"><?=_Update certificate data?></button></td>
40   </tr>
41   <? } ?>
42   <tr>
43     <th colspan="2"><?=_Organisation data?></th>
44   </tr>
45   <tr>
46     <td><?=_Organisation name?>:</td>
47     <td><input class="form-control" type="text" name="optionalName" value="<?=$optionalName?>" maxlength="255" size="90">
48       <?=_Optional: full organisation name (if organisation name is longer than 64 characters)?>
49     </td>
50   </tr>
51     <tr>
52     <td><?=_Postal address?>:</td>
53     <td><textarea class="form-control" name="postalAddress" cols="60" rows="5"><?=$postalAddress?></textarea></td>
54   </tr>
55   <tr>
56     <td><?=_Contact Email?>:</td>
57     <td><input class="form-control" type="text" name="contact" value="<?=$email?>" maxlength="255" size="90"></td>
58   </tr>
59   <tr>
60     <td><?=_Comments?>:</td>
61     <td><textarea class="form-control" name="comments" cols="60" rows="10"></textarea></td>
62   </tr>
63   <? if($edit) { ?>
64   <tr>
65     <td colspan="2"><button type="submit" name="action" value="updateOrganisationData" class="btn btn-primary"><?=_Update organisation data?></button></td>
66   </tr>
67   <? } else {?>
68   <tr>
69     <td colspan="2"><button type="submit" name="action" value="new" class="btn btn-primary"><?=_Submit?></button></td>
70   </tr>
71   <? } ?>
72 </table>