{event name='javascriptLanguageImport'}
});
+ User.init(
+ {@$__wcf->user->userID},
+ '{@$__wcf->user->username|encodeJS}',
+ {if $__wcf->user->userID}'{@$__wcf->user->getLink()|encodeJS}'{else}''{/if}
+ );
+
BootstrapFrontend.setup({
backgroundQueue: {
url: '{link controller="BackgroundQueuePerform"}{/link}',
{/if}
styleChanger: {if $__wcf->getStyleHandler()->showStyleChanger()}true{else}false{/if}
});
-
- User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}', {if $__wcf->user->userID}'{@$__wcf->user->getLink()|encodeJS}'{else}''{/if});
});
// prevent jQuery and other libraries from utilizing define()
{event name='javascriptLanguageImport'}
});
+ User.init(
+ {@$__wcf->user->userID},
+ '{@$__wcf->user->username|encodeJS}',
+ {if $__wcf->user->userID}'{@$__wcf->user->getLink()|encodeJS}'{else}''{/if}
+ );
+
AcpBootstrap.setup({
bootstrap: {
enableMobileMenu: {if PACKAGE_ID && $__isLogin|empty}true{else}false{/if}
}
});
-
- User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}', {if $__wcf->user->userID}'{@$__wcf->user->getLink()|encodeJS}'{else}''{/if});
});
</script>