summaryrefslogtreecommitdiff
path: root/templates/profile.tpl.php
diff options
context:
space:
mode:
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>