From bf45af6ea44798c992de1353a407ff9f0ff35268 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 17 Apr 2016 13:58:57 +0200 Subject: [PATCH] Removed user profile buttons from preview popover --- com.woltlab.wcf/templates/userInformation.tpl | 2 +- .../templates/userProfilePreview.tpl | 23 +------------------ 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/com.woltlab.wcf/templates/userInformation.tpl b/com.woltlab.wcf/templates/userInformation.tpl index 03c080ee1b..d244f554bf 100644 --- a/com.woltlab.wcf/templates/userInformation.tpl +++ b/com.woltlab.wcf/templates/userInformation.tpl @@ -1,6 +1,6 @@ {include file='userInformationHeadline'} -{include file='userInformationButtons'} +{if !$disableUserInformationButtons|isset || $disableUserInformationButtons != true}{include file='userInformationButtons'}{/if}
{include file='userInformationStatistics'} diff --git a/com.woltlab.wcf/templates/userProfilePreview.tpl b/com.woltlab.wcf/templates/userProfilePreview.tpl index edfc0a2409..b6467425e4 100644 --- a/com.woltlab.wcf/templates/userProfilePreview.tpl +++ b/com.woltlab.wcf/templates/userProfilePreview.tpl @@ -4,29 +4,8 @@
{@$user->getAvatar()->getImageTag(128)} - {if $__wcf->getUser()->userID && $__wcf->getUser()->userID != $user->userID} - - {/if} -
- {include file='userInformation'} + {include file='userInformation' disableUserInformationButtons=true} {if $user->canViewOnlineStatus() && $user->getLastActivityTime()}
-- 2.20.1