From d2fbf646fd0a30f3949aee74747d38e3571f2bf6 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 7 Oct 2013 13:42:50 +0200 Subject: [PATCH] Added missing check for privacy settings --- com.woltlab.wcf/templates/messageSidebar.tpl | 2 +- .../templates/userInformationHeadline.tpl | 8 +++++--- com.woltlab.wcf/templates/userProfilePreview.tpl | 16 +++++++++------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/com.woltlab.wcf/templates/messageSidebar.tpl b/com.woltlab.wcf/templates/messageSidebar.tpl index f84a7b6862..da58d5499d 100644 --- a/com.woltlab.wcf/templates/messageSidebar.tpl +++ b/com.woltlab.wcf/templates/messageSidebar.tpl @@ -80,7 +80,7 @@
{#$userProfile->activityPoints}
{/if} {event name='userCredits'} - {if MESSAGE_SIDEBAR_USER_OPTIONS} + {if MESSAGE_SIDEBAR_USER_OPTIONS && $userProfile->isAccessible('canViewProfile')} {assign var='__sidebarUserOptions' value=','|explode:MESSAGE_SIDEBAR_USER_OPTIONS} {foreach from=$__sidebarUserOptions item='__sidebarUserOption'} {if $userProfile->getUserOption($__sidebarUserOption)} diff --git a/com.woltlab.wcf/templates/userInformationHeadline.tpl b/com.woltlab.wcf/templates/userInformationHeadline.tpl index 81e6d1c4fd..c18492064b 100644 --- a/com.woltlab.wcf/templates/userInformationHeadline.tpl +++ b/com.woltlab.wcf/templates/userInformationHeadline.tpl @@ -2,9 +2,11 @@

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