From 967ba79ece58dd0164accbf46078964c58fec230 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 9 May 2011 18:16:53 +0200 Subject: show current users certificates on profile page --- www/profile.php | 4 +++- www/scuttle.css | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/profile.php b/www/profile.php index 35864db..446c089 100644 --- a/www/profile.php +++ b/www/profile.php @@ -121,7 +121,9 @@ if (!$userservice->isLoggedOn() || $currentUser->getId() != $userid) { $templatename = 'editprofile.tpl.php'; $tplVars['formaction'] = createURL('profile', $user); $tplVars['token'] = $_SESSION['token']; - + $tplVars['sslClientCerts'] = SemanticScuttle_Service_Factory::get( + 'User_SslClientCert' + )->getUserCerts($currentUser->getId()); } $tplVars['objectUser'] = $userinfo; diff --git a/www/scuttle.css b/www/scuttle.css index 78f24e9..9e87857 100644 --- a/www/scuttle.css +++ b/www/scuttle.css @@ -455,6 +455,10 @@ table.profile th { width: 10em; } +table tr.ssl-current td { + background-color: #AFA; +} + /* OTHER GUFF */ dd { -- cgit v1.2.3