1 <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
2 <!-- Headline container -->
3 <h2><img alt="" class="center" align="middle" src="images/certs.png"> {t}Certificates{/t}</h2>
5 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
6 <tr>
7 <td width="12%" style="vertical-align:top">
8 {t}Standard certificate{/t}
9 </td>
11 <td style="vertical-align:top">
12 <LABEL for="userCertificate_file">{if $Certificate_readable}{$userCertificateinfo}{/if}</LABEL>
13 </td>
14 <td style="vertical-align:top;text-align:right">
15 {if $userCertificate_state ne "true"}
16 {render acl=$CertificateACL}
17 <input id="userCertificate_file" name="userCertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
18 {/render}
19 {else}
20 {render acl=$CertificateACL}
21 <input type=submit name="remove_userCertificate" value="{t}Remove{/t}">
22 {/render}
23 {/if}
24 </td>
25 </tr>
26 </table>
28 <br>
30 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
31 <tr>
32 <td width="12%" style="vertical-align:top">
33 {t}S/MIME certificate{/t}
34 </td>
35 <td style="vertical-align:top">
36 <LABEL for="userSMIMECertificate_file">{if $Certificate_readable}{$userSMIMECertificateinfo}{/if}</LABEL>
37 </td>
38 <td style="vertical-align:top;text-align:right">
39 {if $userSMIMECertificate_state ne "true"}
40 {render acl=$CertificateACL}
41 <input id="userSMIMECertificate_file" name="userSMIMECertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
42 {/render}
43 {else}
44 {render acl=$CertificateACL}
45 <input type=submit name="remove_userSMIMECertificate" value="{t}Remove{/t}">
46 {/render}
47 {/if}
48 </td>
49 </tr>
50 </table>
52 <br>
54 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
55 <tr>
56 <td width="12%" style="vertical-align:top">
57 {t}PKCS12 certificate{/t}
58 </td>
59 <td style="vertical-align:top">
60 <LABEL for="userPKCS12_file">{if $Certificate_readable}{$userPKCS12info}{/if}</LABEL>
61 </td>
62 <td style="vertical-align:top;text-align:right">
63 {if $userPKCS12_state ne "true"}
64 {render acl=$CertificateACL}
65 <input id="userPKCS12_file" name="userPKCS12_file" type="file" size="20" maxlength="255" accept="text/*.*">
66 {/render}
67 {else}
68 {render acl=$CertificateACL}
69 <input type=submit name="remove_userPKCS12" value="{t}Remove{/t}">
70 {/render}
71 {/if}
72 </td>
73 </tr>
75 {if $governmentmode eq "true"}
76 <tr>
77 <td>
78 <LABEL for="certificateSerialNumber">{t}Certificate serial number{/t}</LABEL>
79 </td>
80 <td>
81 {render acl=$CertificateACL}
82 <input id="certificateSerialNumber" name="certificateSerialNumber" size=10 maxlength=20 value="{$certificateSerialNumber}">
83 {/render}
84 </td>
85 </tr>
86 {/if}
87 </table>
89 <p class="plugbottom">
90 {render acl=$CertificateACL}
91 <input type=submit name="cert_edit_finish" value="{msgPool type=saveButton}">
92 {/render}
93
94 <input type=submit name="cert_edit_cancel" value="{msgPool type=cancelButton}">
95 </p>