diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-02 15:07:47 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-02 15:08:14 -0500 |
commit | 991af0a81cc08f713dd3a1fc65806c02f71453dc (patch) | |
tree | c02cce093281f8cec68f55ddceeeda75b390b59c | |
parent | 63646f4de325e5542e56778bace4b66ba422a57f (diff) | |
download | pfsense-991af0a81cc08f713dd3a1fc65806c02f71453dc.zip pfsense-991af0a81cc08f713dd3a1fc65806c02f71453dc.tar.gz |
Don't display start/end times or export icons for CSRs
-rw-r--r-- | src/usr/local/www/system_certmanager.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/local/www/system_certmanager.php b/src/usr/local/www/system_certmanager.php index cf4cf2e..5ea1823 100644 --- a/src/usr/local/www/system_certmanager.php +++ b/src/usr/local/www/system_certmanager.php @@ -1026,10 +1026,12 @@ foreach($a_cert as $i => $cert): <td><?=$caname?></td> <td> <?=$subj?> + <?php if (! $cert['csr']): ?> <br /> <small> <?=gettext("Valid From")?>: <b><?=$startdate ?></b><br /><?=gettext("Valid Until")?>: <b><?=$enddate ?></b> </small> + <?php endif?> </td> <td> <?php if (is_cert_revoked($cert)): ?> @@ -1055,9 +1057,11 @@ foreach($a_cert as $i => $cert): <?php endif?> </td> <td> + <?php if (! $cert['csr']): ?> <a href="system_certmanager.php?act=exp&id=<?=$i?>" class="fa fa-sign-in" title="<?=gettext("Export")?>"></a> <a href="system_certmanager.php?act=key&id=<?=$i?>" class="fa fa-key" title="<?=gettext("Export key")?>"></a> <a href="system_certmanager.php?act=p12&id=<?=$i?>" class="fa fa-key" title="<?=gettext("Export P12")?>"> P12</a> + <?php endif?> <?php if (!cert_in_use($cert['refid'])): ?> <a href="system_certmanager.php?act=del&id=<?=$i?>" class="fa fa-trash" title="<?=gettext("Delete")?>"></a> <?php endif?> |