912d6407889ecc9e8caa0963ac742150f7127d2d
1 <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
2 <!-- Headline container -->
3 <h2>{image path="images/lists/key.png"} {t}Certificates{/t}
4 </h2>
6 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
7 <tr>
8 <td width="12%" style="vertical-align:top">
9 {t}Standard certificate{/t}
10 </td>
12 <td style="vertical-align:top">
13 <LABEL for="userCertificate_file">{if $Certificate_readable}{$userCertificateinfo}{/if}</LABEL>
14 </td>
15 <td style="vertical-align:top;text-align:right">
16 {if $userCertificate_state ne "true"}
17 {render acl=$CertificateACL}
18 <input id="userCertificate_file" name="userCertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
19 {/render}
20 {else}
21 {render acl=$CertificateACL}
22 <button type='submit' name='remove_userCertificate'>{t}Remove{/t}</button>
24 {/render}
25 {/if}
26 </td>
27 </tr>
28 </table>
30 <br>
32 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
33 <tr>
34 <td width="12%" style="vertical-align:top">
35 {t}S/MIME certificate{/t}
36 </td>
37 <td style="vertical-align:top">
38 <LABEL for="userSMIMECertificate_file">{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'>{t}Remove{/t}</button>
49 {/render}
50 {/if}
51 </td>
52 </tr>
53 </table>
55 <br>
57 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
58 <tr>
59 <td width="12%" style="vertical-align:top">
60 {t}PKCS12 certificate{/t}
61 </td>
62 <td style="vertical-align:top">
63 <LABEL for="userPKCS12_file">{if $Certificate_readable}{$userPKCS12info}{/if}</LABEL>
64 </td>
65 <td style="vertical-align:top;text-align:right">
66 {if $userPKCS12_state ne "true"}
67 {render acl=$CertificateACL}
68 <input id="userPKCS12_file" name="userPKCS12_file" type="file" size="20" maxlength="255" accept="text/*.*">
69 {/render}
70 {else}
71 {render acl=$CertificateACL}
72 <button type='submit' name='remove_userPKCS12'>{t}Remove{/t}</button>
74 {/render}
75 {/if}
76 </td>
77 </tr>
79 {if $governmentmode eq "true"}
80 <tr>
81 <td>
82 <LABEL for="certificateSerialNumber">{t}Certificate serial number{/t}</LABEL>
83 </td>
84 <td>
85 {render acl=$CertificateACL}
86 <input type='text' id="certificateSerialNumber" name="certificateSerialNumber" size=10 maxlength=20 value="{$certificateSerialNumber}">
87 {/render}
88 </td>
89 </tr>
90 {/if}
91 </table>
93 <p class="plugbottom">
94 {render acl=$CertificateACL}
95 <button type='submit' name='cert_edit_finish'>{msgPool type=saveButton}</button>
97 {/render}
98
99 <button type='submit' name='cert_edit_cancel'>{msgPool type=cancelButton}</button>
101 </p>