add: enable support to search for certificates
[gigi.git] / src / org / cacert / gigi / pages / account / certs / CertificateDisplay.templ
1 <table>
2 <? if($support) {?>
3
4   <tr>
5     <th colspan="2"><?=_Support Info?>:</th>
6   </tr>
7
8   <tr>
9     <td><?=$type?>:</td>
10     <td><a href="<?=$link?>"><?=$name?></a></td>
11   </tr>
12 <? } ?>
13
14
15   <tr>
16     <th colspan="2"><?=_X.509 Info?>:</th>
17   </tr>
18
19   <tr>
20     <td><?=_Profile?>:</td>
21     <td><?=$profile?></td>
22   </tr
23
24   <tr>
25     <td><?=_Serial Number?>:</td>
26     <td><?=$serial?></td>
27   </tr
28
29 <? if($support) {?>
30   <tr>
31     <td><?=_Trustchain?>:</td>
32     <td>
33     <? foreach($trustchain) { ?>
34       <?=_issued by?> <code><?=$name?></code>
35     <? } ?>
36     </td>
37   </tr>
38 <? } else { ?>
39   <tr>
40     <td valign="top"><?=_Certificate and Chain?>:</td>
41     <td>
42         <a href='<?=$serial?>.crt'><?=_PEM encoded Certificate?></a>
43         <? foreach($trustchain) { ?>
44             <?=_issued by?> <a href='<?=$link?>'><?=$name?></a>
45         <? } ?><br/>
46         <a href='<?=$serial?>.crt?chain'><?=_PEM encoded Certificate Chain?></a><br/>
47         <a href='<?=$serial?>.crt?chain&noAnchor'><?=_PEM encoded Certificate Chain (Excluding Anchor)?></a><br/>
48         <a href='<?=$serial?>.cer'><?=_DER encoded Certificate?></a><br/>
49         <a href='<?=$serial?>.cer?install&chain'><?=_Install into browser.?></a><br/>
50         <a href='<?=$serial?>.cer?install'><?=_Install into browser. (Chrome)?></a>. <?=_Please ensure that the intermediate certificates listed above are installed prior to installing the certificate.?><br/>
51     </td>
52   </tr>
53 <? } ?>
54
55   <tr>
56     <th colspan="2"><?=_Validity?>:</th>
57   </tr>
58
59   <tr>
60     <td><?=_Status?>:</td>
61     <td><?=$status?></td>
62   </tr>
63
64   <tr>
65     <td><?=_Issue Date?>:</td>
66     <td><?=$issued?></td>
67   </tr>
68
69   <tr>
70     <td><?=_Expire Date?>:</td>
71     <td><?=$expire?></td>
72   </tr>
73
74   <tr>
75     <td><?=_Revocation Date?>:</td>
76     <td><?=$revoked?></td>
77   </tr>
78
79   <tr>
80     <th colspan="2"><?=_Certificate Info?>:</th>
81   </tr>
82
83   <tr>
84     <td><?=_Fingerprint?>:</td>
85     <td><?=$fingerprint?></td>
86   </tr>
87
88   <tr>
89     <td valign="top"><?=_Certificate (PEM)?>:</td>
90     <td><pre><?=$cert?></pre></td>
91   </tr>
92
93   <tr>
94     <th colspan="2"><?=_Certificate Details?>:</th>
95   </tr>
96
97   <tr>
98     <td><?=_Login enabled?>:</td>
99     <td><?=$login?></td>
100   </tr>
101
102   <tr>
103     <td><?=_Digest?>:</td>
104     <td><?=$digest?></td>
105   </tr>
106
107   <tr>
108     <td><?=_Distinguished Name (DN)?>:</td>
109     <td><?=$DN?></td>
110   </tr>
111
112   <tr>
113     <td><?=_Subject Alternative Names (SAN)?>:</td>
114     <td>
115     <? foreach($san) { ?>
116       <?=$entry?>
117     <? } ?>
118     </td>
119   </tr>
120
121 </table>
122 <? if($revokeForm) {?>
123 <?=$revokeForm?>
124 <? } ?>