Interface fix: display users' emails to admins

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@255 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2009-02-09 10:22:51 +00:00
parent bdbfedc5b0
commit 98d89c7e1b

View file

@ -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>