From d4fc958ec322938c7d8f43b4809feb9d247ac528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Mon, 7 Apr 2014 15:22:25 +0200 Subject: bug 1138: Code clean-up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Indentation and such Signed-off-by: Michael Tänzer --- includes/notary.inc.php | 132 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 94 insertions(+), 38 deletions(-) diff --git a/includes/notary.inc.php b/includes/notary.inc.php index 1b2145b..c3351aa 100644 --- a/includes/notary.inc.php +++ b/includes/notary.inc.php @@ -1591,12 +1591,14 @@ function output_log_se_header($support=0){ - - - + + + } + ?> - + } + ?> - + - + - + - + 0) $verified = _("Valid"); - if($row['timeleft'] < 0) + if($row['timeleft'] <= 0) $verified = _("Expired"); if($row['expired'] == 0) $verified = _("Pending"); @@ -1667,50 +1679,94 @@ function output_client_cert($row, $support=0){ ?> - - + if ($verified != _("Pending") && $verified != _("Revoked")) { + if (1 != $support) { + ?> + + + + - - - + + + + + + + - - - - + + + + + - +   - + - + - - + ?> + + + + + if (1 != $support) { + ?> /> - + DISABLED/> - - - - - + + + + + + + + +