{include file='userInformationHeadline'}
-{include file='userInformationButtons'}
+{if !$disableUserInformationButtons|isset || $disableUserInformationButtons != true}{include file='userInformationButtons'}{/if}
<dl class="plain inlineDataList small">
{include file='userInformationStatistics'}
<div class="box128 userProfilePreview">
<a href="{link controller='User' object=$user}{/link}" title="{$user->username}">{@$user->getAvatar()->getImageTag(128)}</a>
- {if $__wcf->getUser()->userID && $__wcf->getUser()->userID != $user->userID}
- <script data-relocate="true">
- //<![CDATA[
- $(function() {
- WCF.Language.addObject({
- 'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
- 'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
- 'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
- 'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
- });
-
- new WCF.User.Action.Follow($('.userInformation'));
-
- {if !$user->getPermission('user.profile.cannotBeIgnored')}
- new WCF.User.Action.Ignore($('.userInformation'));
- {/if}
- });
- //]]>
- </script>
- {/if}
-
<div class="userInformation">
- {include file='userInformation'}
+ {include file='userInformation' disableUserInformationButtons=true}
{if $user->canViewOnlineStatus() && $user->getLastActivityTime()}
<dl class="plain inlineDataList userStats">