$(function() {
WCF.Language.addObject({
'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.jsGroupedUserList > li'));
- new WCF.User.Action.Ignore($('.jsGroupedUserList > li'));
});
</script>
$(function() {
WCF.Language.addObject({
'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.jsGroupedUserList > li'));
- new WCF.User.Action.Ignore($('.jsGroupedUserList > li'));
});
</script>
$(function() {
WCF.Language.addObject({
'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userList > li'));
- new WCF.User.Action.Ignore($('.userList > li'));
});
require(['WoltLabSuite/Core/Ui/User/Search/Input'], (UiUserSearchInput) => {
$(function() {
WCF.Language.addObject({
'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userList > li'));
- new WCF.User.Action.Ignore($('.userList > li'));
});
</script>
$(function() {
WCF.Language.addObject({
'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.jsGroupedUserList > li'));
- new WCF.User.Action.Ignore($('.jsGroupedUserList > li'));
});
</script>
<li class="jsOnly"><a href="#" data-following="0" data-object-id="{@$user->userID}" class="jsFollowButton jsTooltip" title="{lang}wcf.user.button.follow{/lang}"><span class="icon icon16 fa-plus"></span> <span class="invisible">{lang}wcf.user.button.follow{/lang}</span></a></li>
{/if}
{/if}
-
- {if $__wcf->getUserProfileHandler()->isIgnoredUser($user->userID)}
- <li class="jsOnly"><a href="#" data-ignored="1" data-object-id="{@$user->userID}" class="jsIgnoreButton jsTooltip" title="{lang}wcf.user.button.unignore{/lang}"><span class="icon icon16 fa-circle-o"></span> <span class="invisible">{lang}wcf.user.button.unignore{/lang}</span></a></li>
- {else}
- <li class="jsOnly"><a href="#" data-ignored="0" data-object-id="{@$user->userID}" class="jsIgnoreButton jsTooltip" title="{lang}wcf.user.button.ignore{/lang}"><span class="icon icon16 fa-ban"></span> <span class="invisible">{lang}wcf.user.button.ignore{/lang}</span></a></li>
- {/if}
{/if}
{event name='buttons'}
$(function() {
WCF.Language.addObject({
'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userInformation'));
-
- {if !$user->getPermission('user.profile.cannotBeIgnored')}
- new WCF.User.Action.Ignore($('.userInformation'));
- {/if}
});
</script>
{/if}
$(function() {
WCF.Language.addObject({
'wcf.user.button.follow': '{jslang}wcf.user.button.follow{/jslang}',
- 'wcf.user.button.ignore': '{jslang}wcf.user.button.ignore{/jslang}',
'wcf.user.button.unfollow': '{jslang}wcf.user.button.unfollow{/jslang}',
- 'wcf.user.button.unignore': '{jslang}wcf.user.button.unignore{/jslang}'
});
new WCF.User.Action.Follow($('.userList > li'));
- new WCF.User.Action.Ignore($('.userList > li'));
});
</script>