Code

a7db2bcd955326779a68c6b1c0b42412a7f924d7
[gosa.git] / gosa-core / plugins / personal / generic / generic_certs.tpl
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>
11   
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      <input type=submit name="remove_userCertificate" value="{t}Remove{/t}">
23         {/render}
24      {/if}
25    </td>
26  </tr>
27  </table>
29 <br>
31  <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
32  <tr>
33    <td width="12%" style="vertical-align:top">
34       {t}S/MIME certificate{/t} 
35    </td>
36    <td style="vertical-align:top">
37      <LABEL for="userSMIMECertificate_file">{if $Certificate_readable}{$userSMIMECertificateinfo}{/if}</LABEL>
38    </td>
39    <td style="vertical-align:top;text-align:right">
40          {if $userSMIMECertificate_state ne "true"}
41         {render acl=$CertificateACL}
42      <input id="userSMIMECertificate_file" name="userSMIMECertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
43         {/render}
44      {else}
45         {render acl=$CertificateACL}
46      <input type=submit name="remove_userSMIMECertificate" value="{t}Remove{/t}">
47         {/render}
48          {/if}
49    </td>
50  </tr>
51  </table>
53 <br>
55 <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0> 
56  <tr>
57    <td width="12%" style="vertical-align:top">
58       {t}PKCS12 certificate{/t} 
59    </td>
60    <td style="vertical-align:top">
61      <LABEL for="userPKCS12_file">{if $Certificate_readable}{$userPKCS12info}{/if}</LABEL>
62    </td>
63    <td style="vertical-align:top;text-align:right">
64          {if $userPKCS12_state ne "true"}
65         {render acl=$CertificateACL}
66      <input id="userPKCS12_file" name="userPKCS12_file" type="file" size="20" maxlength="255" accept="text/*.*">
67         {/render}
68          {else}
69         {render acl=$CertificateACL}
70      <input type=submit name="remove_userPKCS12" value="{t}Remove{/t}">
71         {/render}
72          {/if}
73    </td>
74  </tr>
75  
76  {if $governmentmode eq "true"}
77  <tr>
78    <td>
79      <LABEL for="certificateSerialNumber">{t}Certificate serial number{/t}</LABEL>
80    </td>
81    <td>
82         {render acl=$CertificateACL}
83      <input type='text' id="certificateSerialNumber" name="certificateSerialNumber" size=10 maxlength=20 value="{$certificateSerialNumber}">
84         {/render}
85    </td>
86  </tr>
87  {/if}
88 </table>
90 <p class="plugbottom">
91         {render acl=$CertificateACL}
92   <input type=submit name="cert_edit_finish" value="{msgPool type=saveButton}">
93         {/render}
94   &nbsp;
95   <input type=submit name="cert_edit_cancel" value="{msgPool type=cancelButton}">
96 </p>