summaryrefslogtreecommitdiff
path: root/templates/profile.tpl.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-09 10:22:51 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-09 10:22:51 +0000
commit98d89c7e1b9b045ba49a7ebca827f7043af0cf23 (patch)
treeffd3dead1513167d9225f946a6900f395929a327 /templates/profile.tpl.php
parentbdbfedc5b098efa7da2088d7e0030e3e0bc0bcf5 (diff)
downloadsemanticscuttle-98d89c7e1b9b045ba49a7ebca827f7043af0cf23.tar.gz
semanticscuttle-98d89c7e1b9b045ba49a7ebca827f7043af0cf23.tar.bz2
Interface fix: display users' emails to admins
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@255 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/profile.tpl.php')
-rw-r--r--templates/profile.tpl.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/profile.tpl.php b/templates/profile.tpl.php
index a7a92ba..dda9c80 100644
--- a/templates/profile.tpl.php
+++ b/templates/profile.tpl.php
@@ -6,6 +6,12 @@ $this->includeTemplate($GLOBALS['top_include']);
<dt><?php echo T_('Username'); ?></dt>
<dd><?php echo $user; ?></dd>
<?php
+if ($currentUser->isAdmin()) {
+?>
+<dt><?php echo T_('Email'); ?></dt>
+ <dd><?php echo filter($objectUser->getEmail()) ?></dd>
+<?php
+}
if ($objectUser->getName() != "") {
?>
<dt><?php echo T_('Name'); ?></dt>