diff --git a/plugins/personal/generic/generic_certs.tpl b/plugins/personal/generic/generic_certs.tpl
index f8d7e23425913f31aca64873e6d72afbbfb03e7a..639e082a75cf389129a86cf33a10387518eb51f5 100644 (file)
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
-<table style="vertical-align:top; text-align:left;" cellpadding=4 border=0 width="100%">
<!-- Headline container -->
- <tr>
- <td colspan=2>
- <h2><img alt="" align="middle" src="images/certs.png"> {t}Certificates{/t}</h2>
- </td>
+<h2><img alt="" class="center" align="middle" src="images/certs.png"> {t}Certificates{/t}</h2>
- </tr>
+<table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
<tr>
- <td width="250">
- {t}Standard certificate{/t} (<i>{$userCertificate_state}</i>)
+ <td width="12%" style="vertical-align:top">
+ {t}Standard certificate{/t}
</td>
- <td>
- <input name="userCertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
-
+ <td style="vertical-align:top">
+ <LABEL for="userCertificate_file">{$userCertificateinfo}</LABEL>
+ </td>
+ <td style="vertical-align:top;text-align:right">
+ {if $userCertificate_state ne "true"}
+ <input id="userCertificate_file" name="userCertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
+ {else}
<input type=submit name="remove_userCertificate" value="{t}Remove{/t}">
+ {/if}
</td>
</tr>
- <tr>
- <td>
- {t}Status{/t}
- </td>
- <td>
- {$userCertificateinfo}
- </td>
- </tr>
</table>
+<br>
-
-
-
-
- <table style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
+ <table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
<tr>
- <td width="250">
- {t}S/MIME certificate{/t} (<i>{$userSMIMECertificate_state}</i>)
+ <td width="12%" style="vertical-align:top">
+ {t}S/MIME certificate{/t}
</td>
- <td >
- <input name="userSMIMECertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
-
+ <td style="vertical-align:top">
+ <LABEL for="userSMIMECertificate_file">{$userSMIMECertificateinfo}</LABEL>
+ </td>
+ <td style="vertical-align:top;text-align:right">
+ {if $userSMIMECertificate_state ne "true"}
+ <input id="userSMIMECertificate_file" name="userSMIMECertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
+ {else}
<input type=submit name="remove_userSMIMECertificate" value="{t}Remove{/t}">
+ {/if}
</td>
</tr>
- <tr>
- <td>
- {t}Status{/t}
- </td>
- <td>
- {$userSMIMECertificateinfo}
- </td>
- </tr>
</table>
+<br>
-
-<table style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
+<table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
<tr>
- <td width="250">
- {t}PKCS12 certificate{/t} (<i>{$userPKCS12_state}</i>)
+ <td width="12%" style="vertical-align:top">
+ {t}PKCS12 certificate{/t}
</td>
- <td>
- <input name="userPKCS12_file" type="file" size="20" maxlength="255" accept="text/*.*">
-
+ <td style="vertical-align:top">
+ <LABEL for="userPKCS12_file">{$userPKCS12info}</LABEL>
+ </td>
+ <td style="vertical-align:top;text-align:right">
+ {if $userPKCS12_state ne "true"}
+ <input id="userPKCS12_file" name="userPKCS12_file" type="file" size="20" maxlength="255" accept="text/*.*">
+ {else}
<input type=submit name="remove_userPKCS12" value="{t}Remove{/t}">
+ {/if}
</td>
</tr>
- <tr>
- <td>
- {t}Status{/t}
- </td>
- <td>
- {$userSMIMECertificateinfo}
- </td>
- </tr>
-
{if $governmentmode eq "true"}
<tr>
<td>
- {t}Certificate serial number{/t}
+ <LABEL for="certificateSerialNumber">{t}Certificate serial number{/t}</LABEL>
</td>
<td>
- <input name="certificateSerialNumber" size=10 maxlength=20 {$certificateSerialNumberACL}
+ <input id="certificateSerialNumber" name="certificateSerialNumber" size=10 maxlength=20 {$certificateSerialNumberACL}
value="{$certificateSerialNumber}">
</td>
</tr>
{/if}
</table>
-<br>
<p class="plugbottom">
<input type=submit name="cert_edit_finish" value="{t}Finish{/t}">