aboutsummaryrefslogtreecommitdiff
path: root/www
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
parent2fba3020034cae12c244713311a7c76d5a6a4800 (diff)
downloadsemanticscuttle-967ba79ece58dd0164accbf46078964c58fec230.tar.gz
semanticscuttle-967ba79ece58dd0164accbf46078964c58fec230.tar.bz2
show current users certificates on profile page
Diffstat (limited to 'www')
-rw-r--r--www/profile.php4
-rw-r--r--www/scuttle.css4
2 files changed, 7 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;
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 {