Show status of disablelogin for all client certificates

pull/1/head
root 17 years ago
parent e6a1f75c2b
commit 46b4a1b986

@ -18,7 +18,7 @@
<form method="post" action="account.php">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
<td colspan="5" class="title"><?=_("Client Certificates")?> - <a href="account.php?id=5&viewall=<?=intval(!$_GET['viewall'])?>"><?=_("View all certificates")?></a></td>
<td colspan="6" class="title"><?=_("Client Certificates")?> - <a href="account.php?id=5&viewall=<?=intval(!$_GET['viewall'])?>"><?=_("View all certificates")?></a></td>
</tr>
<tr>
<td class="DataTD"><?=_("Renew/Revoke/Delete")?></td>
@ -26,6 +26,7 @@
<td class="DataTD"><?=_("Email Address")?></td>
<td class="DataTD"><?=_("Revoked")?></td>
<td class="DataTD"><?=_("Expires")?></td>
<td class="DataTD"><?=_("Login")?></td>
<?
$query = "select UNIX_TIMESTAMP(`emailcerts`.`created`) as `created`,
@ -33,7 +34,7 @@
UNIX_TIMESTAMP(`emailcerts`.`expire`) as `expired`,
`emailcerts`.`expire` as `expires`, `emailcerts`.`revoked` as `revoke`,
UNIX_TIMESTAMP(`emailcerts`.`revoked`) as `revoked`, `emailcerts`.`id`,
`email`.`email` as `email`
`email`.`email` as `email`, emailcerts.disablelogin as `disablelogin`
from `emailcerts`, `emaillink`, `email`
where `emailcerts`.`memid`='".$_SESSION['profile']['id']."'
and `emailcerts`.`id`=`emaillink`.`emailcertsid`
@ -82,6 +83,7 @@
<? } ?>
<td class="DataTD"><?=$row['revoke']?></td>
<td class="DataTD"><?=$row['expires']?></td>
<td class="DataTD"><?=$row['disablelogin']?_("disabled"):_("allowed")?></td>
</tr>
<? } ?>
<tr>

Loading…
Cancel
Save