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 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www/profile.php') 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; -- cgit v1.2.3-54-g00ecf