diff options
Diffstat (limited to 'src')
-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?> |