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:
parent
bdbfedc5b0
commit
98d89c7e1b
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@ $this->includeTemplate($GLOBALS['top_include']);
|
||||||
<dt><?php echo T_('Username'); ?></dt>
|
<dt><?php echo T_('Username'); ?></dt>
|
||||||
<dd><?php echo $user; ?></dd>
|
<dd><?php echo $user; ?></dd>
|
||||||
<?php
|
<?php
|
||||||
|
if ($currentUser->isAdmin()) {
|
||||||
|
?>
|
||||||
|
<dt><?php echo T_('Email'); ?></dt>
|
||||||
|
<dd><?php echo filter($objectUser->getEmail()) ?></dd>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
if ($objectUser->getName() != "") {
|
if ($objectUser->getName() != "") {
|
||||||
?>
|
?>
|
||||||
<dt><?php echo T_('Name'); ?></dt>
|
<dt><?php echo T_('Name'); ?></dt>
|
||||||
|
|
Loading…
Reference in a new issue