From 6aefc9197d3f235ba1f7793bddac7369cd80f1f7 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 22 Sep 2014 14:05:28 +0200 Subject: [PATCH] Added lock icon for banned users --- com.woltlab.wcf/templates/messageSidebar.tpl | 1 + com.woltlab.wcf/templates/user.tpl | 2 +- com.woltlab.wcf/templates/userInformationHeadline.tpl | 2 +- wcfsetup/install/files/js/WCF.User.js | 6 +++++- wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 6 files changed, 10 insertions(+), 3 deletions(-) diff --git a/com.woltlab.wcf/templates/messageSidebar.tpl b/com.woltlab.wcf/templates/messageSidebar.tpl index 7e493711d4..b9777ce013 100644 --- a/com.woltlab.wcf/templates/messageSidebar.tpl +++ b/com.woltlab.wcf/templates/messageSidebar.tpl @@ -23,6 +23,7 @@ + {if $userProfile->banned}{/if} {event name='header'} diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index 55bc7962a7..9147e12881 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -162,7 +162,7 @@ > -

{$user->username}{if MODULE_USER_RANK && $user->getUserTitle()} {$user->getUserTitle()}{/if}

+

{$user->username}{if $user->banned} {/if}{if MODULE_USER_RANK && $user->getUserTitle()} {$user->getUserTitle()}{/if}