summaryrefslogtreecommitdiff
path: root/templates/users_list.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/users_list.tpl')
-rw-r--r--templates/users_list.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/users_list.tpl b/templates/users_list.tpl
index e0169a8..8c346a3 100644
--- a/templates/users_list.tpl
+++ b/templates/users_list.tpl
@@ -31,7 +31,11 @@
{/if}
{if $users[user].real_name}
- <h2>{displayname hash=$users[user]} <small>{$users[user].login}</small></h2>
+ {if $gBitSystem->getConfig('users_display_name') == 'login'}
+ <h2>{$users[user].real_name} <small>[ {displayname hash=$users[user]} ]</small></h2>
+ {else}
+ <h2>{displayname hash=$users[user]} <small>[ {$users[user].login} ]</small></h2>
+ {/if}
{else}
<h2>{displayname hash=$users[user]}</h2>
{/if}