"In SE console the GPG certificate statistics show wrong value for expired certs"
This commit is contained in:
parent
da844cf236
commit
9e7c055559
1 changed files with 8 additions and 8 deletions
|
@ -504,7 +504,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
|
||||||
<td class="DataTD"><?=_("Revoked")?></td>
|
<td class="DataTD"><?=_("Revoked")?></td>
|
||||||
<td class="DataTD"><?=_("Latest Expire")?></td>
|
<td class="DataTD"><?=_("Latest Expire")?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- server certificates -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="DataTD"><?=_("Server")?>:</td>
|
<td class="DataTD"><?=_("Server")?>:</td>
|
||||||
<?
|
<?
|
||||||
|
@ -564,7 +564,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
|
||||||
<?
|
<?
|
||||||
} ?>
|
} ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- client certificates -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="DataTD"><?=_("Client")?>:</td>
|
<td class="DataTD"><?=_("Client")?>:</td>
|
||||||
<?
|
<?
|
||||||
|
@ -619,7 +619,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
|
||||||
<?
|
<?
|
||||||
} ?>
|
} ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- gpg certificates -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="DataTD"><?=_("GPG")?>:</td>
|
<td class="DataTD"><?=_("GPG")?>:</td>
|
||||||
<?
|
<?
|
||||||
|
@ -645,7 +645,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
|
||||||
$valid = $drow['valid'];
|
$valid = $drow['valid'];
|
||||||
|
|
||||||
$query = "select COUNT(*) as `expired`
|
$query = "select COUNT(*) as `expired`
|
||||||
from `emailcerts`
|
from `gpg`
|
||||||
where `memid` = '".intval($row['id'])."'
|
where `memid` = '".intval($row['id'])."'
|
||||||
and `expire` <= NOW()";
|
and `expire` <= NOW()";
|
||||||
$dres = mysql_query($query);
|
$dres = mysql_query($query);
|
||||||
|
@ -666,7 +666,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
|
||||||
<?
|
<?
|
||||||
} ?>
|
} ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- org server certificates -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="DataTD"><a href="account.php?id=58&userid=<?=intval($row['id'])?>"><?=_("Org Server")?></a>:</td>
|
<td class="DataTD"><a href="account.php?id=58&userid=<?=intval($row['id'])?>"><?=_("Org Server")?></a>:</td>
|
||||||
<?
|
<?
|
||||||
|
@ -726,7 +726,7 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
|
||||||
<?
|
<?
|
||||||
} ?>
|
} ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
<!-- org client certificates -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="DataTD"><?=_("Org Client")?>:</td>
|
<td class="DataTD"><?=_("Org Client")?>:</td>
|
||||||
<?
|
<?
|
||||||
|
|
Loading…
Reference in a new issue