{include file='header' pageTitle='wcf.acp.tag.list'}
<script data-relocate="true">
- require(['WoltLabSuite/Core/Controller/Clipboard', 'Language'], function(ControllerClipboard, Language) {
+ require(['WoltLabSuite/Core/Controller/Clipboard', 'WoltLabSuite/Core/Language'], (ControllerClipboard, Language) => {
Language.add('wcf.acp.tag.setAsSynonyms', '{jslang}wcf.acp.tag.setAsSynonyms{/jslang}');
- WCF.Clipboard.init('wcf\\acp\\page\\TagListPage', {@$hasMarkedItems});
+ ControllerClipboard.setup({
+ pageClassName: 'wcf\\acp\\page\\TagListPage',
+ hasMarkedItems: {if $hasMarkedItems}true{else}false{/if},
+ });
new WCF.ACP.Tag.SetAsSynonymsHandler();
});
{event name='javascriptInclude'}
<script data-relocate="true">
+ require(['WoltLabSuite/Core/Controller/Clipboard'], (ControllerClipboard) => {
+ ControllerClipboard.setup({
+ pageClassName: 'wcf\\acp\\page\\UserListPage',
+ hasMarkedItems: {if $hasMarkedItems}true{else}false{/if},
+ });
+ });
+
$(function() {
- WCF.Clipboard.init('wcf\\acp\\page\\UserListPage', {@$hasMarkedItems});
-
WCF.Language.addObject({
'wcf.acp.user.banReason': '{jslang}wcf.acp.user.banReason{/jslang}',
'wcf.acp.user.banReason.description': '{jslang}wcf.acp.user.banReason.description{/jslang}',