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