Fix html conformance for the "explained radio button" forms.
[gigi.git] / src / org / cacert / gigi / pages / account / DomainAddForm.templ
1 <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper dataTable">
2   <thead>
3   <tr>
4     <th colspan="2" class="title"><?=_Add Domain?></th>
5   </tr>
6   </thead>
7 <tbody>
8   <tr>
9     <td><?=_Domain?> </td>
10     <td><input type="text" name="newdomain" value=""> (<?=_In the following:?> <span class='exampleDomainPlace'>example.org</span>)</td>
11   </tr>
12   <tr><th></th><th><?=_Verification mechanisms?></th></tr>
13
14   <tr>
15     <td><input type="checkbox" name="emailType" value="y"></td>
16     <td><?=_Verify by sending an email to autorative email addresses?> </td>
17   </tr>
18   <tr>
19     <td></td>
20     <td class='radio'>
21         Select the destination mail address:<br/>
22         <? foreach($authEmails) { ?>
23         <input type="radio" id="email_<?=$i?>" name="email" value="<?=$i?>"/>
24         <label for="email_1"><span class='name'><?=$email?>@<span class='exampleDomain'>example.org</span></span></label><div class='elements'></div>
25         <? } ?>
26         </td>
27   </tr>
28
29   <tr>
30     <td><input type="checkbox" name="DNSType" value="y"></td>
31     <td><?=_Verify by reading DNS-TXT entries?> </td>
32   </tr>
33   <tr>
34     <td></td>
35     <td>
36         Please insert the following DNS TXT entry into the SOA-file of your domain:<br/>
37         <pre>
38         cacert-<?=$tokenName?>  IN      TXT     "<?=$tokenValue?>"
39         </pre>
40     </td>
41   </tr>
42
43   <tr>
44     <td><input type="checkbox" name="HTTPType" value="y"></td>
45     <td><?=_Verify by reading HTTP-content?> </td>
46   </tr>
47   <tr>
48     <td></td>
49     <td>
50         Please make the following content available under <pre class='string'>http://<span class='exampleDomain'>example.org</span>/cacert-<?=$tokenName?>.txt</pre><br/>
51         <pre><?=$tokenValue?></pre>
52     </td>
53   </tr>
54
55   <tr>
56     <td><input type="checkbox" name="SSLType" value="y"></td>
57     <td><?=_Verify by searching for installed certificate.?> </td>
58   </tr>
59   <tr>
60     <td></td>
61     <td>
62         Please list up to three services using your certificate:
63         <table>
64         <? foreach($ssl-services){ ?>
65         <tr><td><select name='ssl-type-<?=$i?>'>
66           <option>direct</option>
67           <option>xmpp</option>
68           <option>server-xmpp</option>
69           <option>smtp</option>
70           <option>imap</option></select>
71         </td><td>Port: <input type='text' name='ssl-port-<?=$i?>'></td></tr>
72         <? } ?>
73         </table>
74     </td>
75   </tr>
76
77   <tr>
78     <td colspan="2"><input type="submit" name="adddomain" value="<?=_I own or am authorised to control this domain?>"></td>
79   </tr>
80 </tbody>
81 </table>