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