summaryrefslogtreecommitdiff
path: root/www/profile.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-09 18:16:53 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-09 18:16:53 +0200
commit967ba79ece58dd0164accbf46078964c58fec230 (patch)
tree07711ae871ac8f32b581216eb3c15c900995fecb /www/profile.php
parent2fba3020034cae12c244713311a7c76d5a6a4800 (diff)
downloadsemanticscuttle-967ba79ece58dd0164accbf46078964c58fec230.tar.gz
semanticscuttle-967ba79ece58dd0164accbf46078964c58fec230.tar.bz2
show current users certificates on profile page
Diffstat (limited to 'www/profile.php')
-rw-r--r--www/profile.php4
1 files changed, 3 insertions, 1 deletions
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;