Indicate if a certificate has been revoked, both in the cert list and the user manager list.

This commit is contained in:
jim-p 2010-10-21 15:49:39 -04:00
parent fc54f29bf4
commit 150bbe09fb
2 changed files with 6 additions and 0 deletions

View File

@ -836,6 +836,9 @@ function internalca_change() {
<td class="listr"><?=$caname;?>&nbsp;</td>
<td class="listr"><?=$subj;?>&nbsp;</td>
<td class="listr">
<?php if (is_cert_revoked($cert)): ?>
<b>Revoked</b><br/>
<?php endif; ?>
<?php if (is_webgui_cert($cert['refid'])): ?>
webConfigurator<br/>
<?php endif; ?>

View File

@ -645,6 +645,9 @@ function sshkeyClicked(obj) {
<tr>
<td class="listlr">
<?=htmlspecialchars($cert['descr']);?>
<?php if (is_cert_revoked($cert)): ?>
(<b>Revoked</b>)
<?php endif; ?>
</td>
<td class="listr">
<?=htmlspecialchars($ca['descr']);?>