-<script src="{@$__wcf->getPath()}js/WCF.Comment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Comment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{if $__showPoll|isset && $__showPoll}
- <script src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
{if $aclValues[$objectTypeID]|isset}
-<script src="{@$__wcf->getPath()}js/WCF.ACL{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.ACL{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='footer'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
<p class="marginTop" id="benchmark"><small>Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}</small></p>
{if ENABLE_DEBUG_MODE}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#benchmarkDetails > li > span').click(function() {
{/foreach}
</ul>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#benchmark').click(function() {
<input type="number" id="{$option->optionName}" name="values[{$option->optionName}][ageFrom]" value="{@$valueAgeFrom}" placeholder="{lang}wcf.user.birthday.age.from{/lang}" min="0" max="120" class="tiny" />
<input type="number" id="{$option->optionName}_age_to" name="values[{$option->optionName}][ageTo]" value="{@$valueAgeTo}" placeholder="{lang}wcf.user.birthday.age.to{/lang}" min="0" max="120" class="tiny" />
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('#{$option->optionName}').parents('dl:eq(0)').find('> dt > label').text('{lang}wcf.user.birthday.age{/lang}');
</ul>
</div>
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
<title>{lang}wcf.user.following{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
{include file='headInclude'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\user\\follow\\UserFollowAction', '.jsFollowing');
<div class="contentNavigation"><div class="jsPagination"></div></div>
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{implode from=$__wcf->getMetaTagHandler() item=__metaTag glue="\n"}{@$__metaTag}{/implode}
{event name='metaTags'}
-<script>
+<script data-relocate="true">
//<![CDATA[
var SID_ARG_2ND = '{@SID_ARG_2ND_NOT_ENCODED}';
var WCF_PATH = '{@$__wcf->getPath()}';
//]]>
</script>
{if JQUERY_SOURCE == 'google'}
-<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
-<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
+<script data-relocate="true" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
+<script data-relocate="true" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
{elseif JQUERY_SOURCE == 'microsoft'}
-<script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.1.min.js"></script>
-<script src="//ajax.aspnetcdn.com/ajax/jquery.ui/1.10.3/jquery-ui.min.js"></script>
+<script data-relocate="true" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.1.min.js"></script>
+<script data-relocate="true" src="//ajax.aspnetcdn.com/ajax/jquery.ui/1.10.3/jquery-ui.min.js"></script>
{elseif JQUERY_SOURCE == 'cloudflare'}
-<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
-<script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
+<script data-relocate="true" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
+<script data-relocate="true" src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
{else}
-<script src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"></script>
-<script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"></script>
{/if}
{if JQUERY_SOURCE != 'local'}
-<script>
+<script data-relocate="true">
//<![CDATA[
if (!window.jQuery) {
- document.write('<script src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"><\/script>');
- document.write('<script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"><\/script>');
+ document.write('<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"><\/script>');
+ document.write('<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"><\/script>');
}
//]]>
</script>
{/if}
-<script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.js?v={@$__wcfVersion}"></script>
-<script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js?v={@$__wcfVersion}"></script>
-<script src="{@$__wcf->getPath()}js/WCF{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
WCF.User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
//]]>
</script>
-<script src="{@$__wcf->getPath()}js/WCF.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script src="{@$__wcf->getPath('wcf')}js/WCF.Like{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath('wcf')}js/WCF.Like{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
{event name='javascriptInclude'}
<!-- Stylesheets -->
</style>
</noscript>
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
//]]>
</script>
<!--[IF IE 9]>
- <script>
+ <script data-relocate="true">
$(function() {
function fixButtonTypeIE9() {
$('button').each(function(index, button) {
</aside>
{if $sidebarOrientation|isset && $sidebarOrientation == 'right'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Collapsible.Sidebar();
<title>{lang}wcf.user.ignoredUsers{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
{include file='headInclude'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\user\\ignore\\UserIgnoreAction', '.jsIgnoredUser');
{if !$__imageViewerLoaded|isset}
- <script src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
- <script src="{@$__wcf->getPath()}js/WCF.ImageViewer{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.ImageViewer{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
var $imageViewer = null;
$(function() {
{include file='headInclude'}
- <script src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.User.Login(false);
<title>{lang}wcf.user.lostPassword{/lang} - {PAGE_TITLE|language}</title>
{include file='headInclude'}
- <script src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.User.Registration.LostPassword();
{/if}
<link rel="canonical" href="{link controller='MembersList'}{if $pageNo > 1}pageNo={@$pageNo}&{/if}{@$canonicalURLParameters}{/link}" />
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{event name='fields'}
</div>
-<script src="{@$__wcf->getPath()}js/WCF.Attachment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Attachment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
</dd>
</dl>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
var $languages = {
<button id="previewButton" class="jsOnly" accesskey="p">{lang}wcf.global.button.preview{/lang}</button>
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{/if}
{/foreach}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Message.SmileyCategories();
{event name='fields'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Message.Smilies('{if $wysiwygSelector|isset}{$wysiwygSelector|encodeJS}{else}text{/if}');
{event name='tabMenuContents'}
</div>
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
if (jQuery.browser.mobile) $('#smiliesTab, #smilies').remove();
<textarea id="{$option->optionName}" name="values[{$option->optionName}]" cols="40" rows="10">{$value}</textarea>
{include file='wysiwyg' wysiwygSelector=$option->optionName}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('#{$option->optionName}').parents('dl:eq(0)').addClass('wide');
{if !$__messageSidebarJavascript|isset}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{/content}
</div>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#{$option->optionName}').parents('dl:eq(0)').addClass('wide');
{include file='headInclude'}
- <script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Moderation.Activation.Management({@$queue->queueID}, '{link controller='ModerationList'}{/link}');
{include file='headInclude'}
- <script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{if !$forceSelection|isset}{assign var=forceSelection value=false}{/if}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
<title>{lang}wcf.user.notification.notifications{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
{include file='headInclude'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='headInclude'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#notificationSettings > fieldset > dl > dd > label > input').each(function(index, value) {
{if $__wcf->getUser()->userID && !$__pollLoadedJavaScript|isset}
{assign var=__pollLoadedJavaScript value=true}
- <script src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Poll.Manager('.pollContainer');
<small>{lang}wcf.recaptcha.description{/lang}</small>
<dl class="wide reCaptcha{if $errorField == 'recaptchaString'} formError{/if}">
- <script>
+ <script data-relocate="true">
//<![CDATA[
var RecaptchaOptions = {
lang: '{@$recaptchaLanguageCode}',
</ul>
</dd>
- <script src="http{if $recaptchaUseSSL}s{/if}://www.google.com/recaptcha/api/challenge?k={$recaptchaPublicKey}"></script>
+ <script data-relocate="true" src="http{if $recaptchaUseSSL}s{/if}://www.google.com/recaptcha/api/challenge?k={$recaptchaPublicKey}"></script>
<noscript>
<dd>
<iframe src="http{if $recaptchaUseSSL}s{/if}://www.google.com/recaptcha/api/noscript?k={$recaptchaPublicKey}" height="300" width="500" seamless="seamless"></iframe><br />
{hascontent}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
<link rel="canonical" href="{link controller='RecentActivityList'}{/link}" />
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
<title>{lang}wcf.user.register{/lang} - {PAGE_TITLE|language}</title>
{include file='headInclude'}
- <script src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file=$objectType->getFormTemplateName() application=$objectType->getApplication()}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#{@$__jsID}').click(function() {
{include file='footer'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Search.User($('#searchAuthor'), function(data) {
</form>
</aside>
-<script src="{@$__wcf->getPath('wcf')}js/WCF.Search.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath('wcf')}js/WCF.Search.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Search.Message.SearchArea($('#search'));
<dl>
<dt><label>{lang}wcf.user.language{/lang}</label></dt>
<dd id="languageIDContainer">
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
var $languages = {
{event name='buttons'}
</ul>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='headInclude'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{/foreach}
</div>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
// fix anchor
</div>
<!-- begin:parser_nonessential -->
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $spoilerBox = $('.jsSpoilerBox').removeClass('jsSpoilerBox');
<small>{lang}wcf.tagging.tags.description{/lang}</small>
</dd>
</dl>
-<script src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $tagList = new WCF.Tagging.TagList('#tagList{if $tagInputSuffix|isset}{@$tagInputSuffix}{/if}', '#tagSearchInput{if $tagInputSuffix|isset}{@$tagInputSuffix}{/if}', {@TAGGING_MAX_TAG_LENGTH});
<link rel="canonical" href="{link controller='Team'}{/link}" />
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
<link rel="canonical" href="{link controller='User' object=$user}{/link}" />
- <script src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
{event name='javascriptInclude'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
{if $__wcf->getUser()->userID && $__wcf->getUser()->userID != $user->userID}
<p id="errorMessage" class="error">
{@$message}
</p>
-<script>
+<script data-relocate="true">
//<![CDATA[
if (document.referrer) {
$('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>');
{capture assign='sidebar'}
{assign var=__userMenuActiveItems value=$__wcf->getUserMenu()->getActiveMenuItems()}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
// mobile safari hover workaround
{if !$__hideUserMenu|isset}
<li id="userNotifications" data-count="{#$__wcf->getUserNotificationHandler()->getNotificationCount()}">
<a href="{link controller='NotificationList'}{/link}"><span class="icon icon16 icon-bell-alt"></span> <span>{lang}wcf.user.notification.notifications{/lang}</span>{if $__wcf->getUserNotificationHandler()->getNotificationCount()} <span class="badge badgeInverse">{#$__wcf->getUserNotificationHandler()->getNotificationCount()}</span>{/if}</a>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
</form>
</div>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{/if}
{if $__wcf->getLanguage()->getLanguages()|count > 1}
<li id="pageLanguageContainer">
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
var $languages = {
<span>{lang}wcf.moderation.moderation{/lang}</span>
{if $__wcf->getModerationQueueManager()->getOutstandingModerationCount()}<span class="badge badgeInverse">{#$__wcf->getModerationQueueManager()->getOutstandingModerationCount()}</span>{/if}
</a>
- <script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
<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>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='headInclude'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Search.User('#username', null, false, [ ], false);
<link rel="canonical" href="{link controller='UsersOnlineList'}{/link}" />
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
-<script>
+<script data-relocate="true">
//<![CDATA[
var CKEDITOR_BASEPATH = '{@$__wcf->getPath()}js/3rdParty/ckeditor/';
var __CKEDITOR_BUTTONS = [ {implode from=$__wcf->getBBCodeHandler()->getButtonBBCodes() item=__bbcode}{ icon: '../../../icon/{$__bbcode->wysiwygIcon}', label: '{$__bbcode->buttonLabel|language}', name: '{$__bbcode->bbcodeTag}' }{/implode} ];
//]]>
</script>
-<script src="{@$__wcf->getPath()}js/3rdParty/ckeditor/ckeditor.js"></script>
-<script src="{@$__wcf->getPath()}js/3rdParty/ckeditor/adapters/jquery.js"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/ckeditor/ckeditor.js"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/ckeditor/adapters/jquery.js"></script>
{event name='javascriptIncludes'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
if ($.browser.mobile) {
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
{if $aclValues[$objectTypeID]|isset}
-<script src="{@$__wcf->getPath()}js/WCF.ACL.js"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.ACL.js"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='header' pageTitle='wcf.acp.application.edit'}
{if $application->packageID != 1 && !$application->isPrimary}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='header' pageTitle='wcf.acp.attachment.list'}
{include file='imageViewer'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\attachment\\AttachmentAction', '.jsAttachmentRow');
{event name='attributeFields'}
</fieldset>
{/capture}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('.jsDeleteButton').click(function (event) {
<header class="boxHeadline">
<h1>{lang}wcf.acp.bbcode.list{/lang}</h1>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\bbcode\\BBCodeAction', '.jsBBCodeRow');
<header class="boxHeadline">
<h1>{lang}wcf.acp.bbcode.mediaProvider.list{/lang}</h1>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\bbcode\\media\\provider\\BBCodeMediaProviderAction', '.jsMediaProviderRow');
<p class="marginTop" id="benchmark"><small>Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}</small></p>
{if ENABLE_DEBUG_MODE}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#benchmarkDetails > li > span').click(function() {
{/foreach}
</ul>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#benchmark').click(function() {
<input type="number" id="{$option->optionName}_age_from" name="values[{$option->optionName}][ageFrom]" value="{@$valueAgeFrom}" placeholder="{lang}wcf.user.birthday.age.from{/lang}" min="0" max="120" class="tiny" />
<input type="number" id="{$option->optionName}_age_to" name="values[{$option->optionName}][ageTo]" value="{@$valueAgeTo}" placeholder="{lang}wcf.user.birthday.age.to{/lang}" min="0" max="120" class="tiny" />
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('#{$option->optionName}_age_from').parents('dl:eq(0)').find('> dt > label').text('{lang}wcf.user.birthday.age{/lang}').attr('for', '{$option->optionName}_age_from');
{include file='header' pageTitle='wcf.acp.cache.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Collapsible.Simple.init();
{include file='header'}
{if $categoryNodeList->hasChildren()}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
{if $collapsibleObjectTypeID}
{if !$codemirrorLoaded|isset}
- <script src="{@$__wcf->getPath()}js/3rdParty/codemirror/codemirror.js"></script>
- <script src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/dialog/dialog.js"></script>
- <script src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/searchcursor.js"></script>
- <script src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/search.js"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/codemirror/codemirror.js"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/dialog/dialog.js"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/searchcursor.js"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/search.js"></script>
{/if}
-{if $codemirrorMode|isset}<script src="{@$__wcf->getPath()}js/3rdParty/codemirror/mode/{$codemirrorMode}/{$codemirrorMode}.js"></script>{/if}
+{if $codemirrorMode|isset}<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/codemirror/mode/{$codemirrorMode}/{$codemirrorMode}.js"></script>{/if}
{event name='javascriptIncludes'}
-<script>
+<script data-relocate="true">
//<![CDATA[
{if !$codemirrorLoaded|isset}
$('<link rel="stylesheet" href="{@$__wcf->getPath()}js/3rdParty/codemirror/codemirror.css" />').appendTo('head');
<p>{lang}wcf.acp.cronjob.subtitle{/lang}</p>
</header>
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\cronjob\\CronjobAction', '.jsCronjobRow');
{include file='header' pageTitle='wcf.acp.cronjob.log'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='header' pageTitle='wcf.acp.dashboard.option'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.TabMenu.init();
<button data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
</div>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Sortable.List('dashboard-content', 'wcf\\data\\dashboard\\box\\DashboardBoxAction', 0, { }, true, { boxType: 'content', objectTypeID: {@$objectTypeID} });
<button data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
</div>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Sortable.List('dashboard-sidebar', 'wcf\\data\\dashboard\\box\\DashboardBoxAction', 0, { }, true, { boxType: 'sidebar', objectTypeID: {@$objectTypeID} });
{include file='header' pageTitle='wcf.acp.dataImport'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
{if $queue|isset}
{include file='header' pageTitle='wcf.acp.exceptionLog'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
{if $exceptionID}window.location.hash = '{$exceptionID|encodeJS}';{/if}
<base href="{$baseHref}" />
<meta charset="utf-8" />
<title>{if $pageTitle|isset}{@$pageTitle|language} - {/if}{lang}wcf.global.acp{/lang}{if PACKAGE_ID} - {PAGE_TITLE|language}{/if}</title>
- <script>
+ <script data-relocate="true">
//<![CDATA[
var SID_ARG_2ND = '{@SID_ARG_2ND_NOT_ENCODED}';
var WCF_PATH = '{@$__wcf->getPath()}';
var TIME_NOW = {@TIME_NOW};
//]]>
</script>
- <script src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"></script>
- <script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"></script>
- <script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.js?v={@$__wcfVersion}"></script>
- <script src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js?v={@$__wcfVersion}"></script>
- <script src="{@$__wcf->getPath()}js/WCF.js?v={@$__wcfVersion}"></script>
- <script src="{@$__wcf->getPath()}acp/js/WCF.ACP.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}acp/js/WCF.ACP.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
WCF.User.init({$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
//]]>
{@$__wcf->getStyleHandler()->getStylesheet()}
{event name='stylesheets'}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
{* work-around for unknown core-object during WCFSetup *}
{if !$__imageViewerLoaded|isset}
- <script src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
- <script src="{@$__wcf->getPath()}js/WCF.ImageViewer.js"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.ImageViewer.js"></script>
+ <script data-relocate="true">
//<![CDATA[
var $imageViewer = null;
$(function() {
{include file='header'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.TabMenu.init();
<a class="twitter-timeline" href="https://twitter.com/woltlab" data-chrome="nofooter transparent" data-widget-id="335166618281865217">Tweets by @woltlab</a>
{/if}
{literal}
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ <script data-relocate="true">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
{/literal}
</div>
{/if}
{include file='header'}
-<script src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='header'}
{include file='aclPermissions'}
-<script src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACL.List($('#groupPermissions'), {@$objectTypeID}{if $groupID|isset}, '', {@$groupID}{/if});
{include file='header'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\label\\group\\LabelGroupAction', '.jsLabelGroupRow');
{include file='header'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\label\\LabelAction', '.jsLabelRow');
{include file='header' pageTitle="wcf.acp.language.item.list"}
-<script src="{@$__wcf->getPath()}acp/js/WCF.ACP.Language.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}acp/js/WCF.ACP.Language.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACP.Language.ItemList();
{include file='header' pageTitle='wcf.acp.language.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\language\\LanguageAction', '.jsLanguageRow');
{include file='header' pageTitle='wcf.acp.language.multilingualism'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $languageIDs = $('#languageIDs');
{include file='header' pageTitle='wcf.acp.languageServer.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\language\\server\\LanguageServerAction', '.jsLanguageServerRow');
{include file='header' pageTitle='wcf.user.login'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
if (!$('#username').val() || '{$errorField}' == 'username') {
{include file='header' pageTitle='wcf.acp.masterPassword.enter'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('#masterPassword').focus();
{include file='header' pageTitle='wcf.acp.masterPassword.init'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('#setPassword').click(function() {
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
{event name='javascriptInclude'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.TabMenu.init();
{include file='header' pageTitle=$package->getName()}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.TabMenu.init()
{capture assign='pageTitle'}{lang}wcf.acp.package.{@$queue->action}.title{/lang}: {$archive->getLocalizedPackageInfo('packageName')}{/capture}
{include file='header'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='header' templateName='packageInstallationSetup'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.add('wcf.acp.package.install.title', '{lang}wcf.acp.package.install.title{/lang}');
{include file='header' pageTitle='wcf.acp.package.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{@$pagesLinks}
{hascontent}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACP.Package.Uninstallation($('.jsPluginContainer .jsUninstallButton'));
{/if}
{include file='header'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='header' pageTitle='wcf.acp.package.update.title'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.Language.addObject({
{include file='header' pageTitle='wcf.acp.updateServer.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\package\\update\\server\\PackageUpdateServerAction', '.jsUpdateServerRow');
{include file='header' pageTitle='wcf.acp.pageMenu.'|concat:$action}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $menuPosition = $('#menuPosition');
{include file='header' pageTitle='wcf.acp.pageMenu.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\page\\menu\\item\\PageMenuItemAction', '.sortableNode', '> .sortableNodeLabel .jsDeleteButton');
<a class="button small" id="rebuildData{@$objectType->objectTypeID}">{lang}wcf.acp.rebuildData.{@$objectType->objectType}{/lang}</a>
<small>{lang}wcf.acp.rebuildData.{@$objectType->objectType}.description{/lang}</small>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#rebuildData{@$objectType->objectTypeID}').click(function () {
{include file='header' pageTitle='wcf.acp.smiley.list'}
{if $objects|count}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\smiley\\SmileyAction', $('.smileyRow'));
{include file='header' pageTitle='wcf.acp.style.'|concat:$action}
-<script src="{@$__wcf->getPath()}acp/js/WCF.ACP.Style.js?v={@$__wcfVersion}"></script>
-<script src="{@$__wcf->getPath()}js/WCF.ColorPicker.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}acp/js/WCF.ACP.Style.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.ColorPicker.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ColorPicker('.jsColorPicker');
{include file='header' pageTitle='wcf.acp.style.exportStyle'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('#exportAsPackage').change(function (event) {
{include file='header' pageTitle='wcf.acp.style.list'}
-<script src="{@$__wcf->getPath()}acp/js/WCF.ACP.Style.js?v={@$__wcfVersion}"></script>
-<script>
+<script data-relocate="true" src="{@$__wcf->getPath()}acp/js/WCF.ACP.Style.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Toggle('wcf\\data\\style\\StyleAction', '.buttonList');
</dd>
</dl>
- <script src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
var $tagList = new WCF.Tagging.TagList('#synonymList', '#synonyms');
{include file='header' pageTitle='wcf.acp.tag.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\tag\\TagAction', '.jsTagRow');
<header class="boxHeadline">
<h1>{lang}wcf.acp.template.group.list{/lang}</h1>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\template\\group\\TemplateGroupAction', '.jsTemplateGroupRow');
{include file='header' pageTitle="wcf.acp.template.list"}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\template\\TemplateAction', '.jsTemplateRow');
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
{include file='header' pageTitle='wcf.acp.user.activityPoint.option'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
$('#updateEvents').click(function () {
{include file='header' pageTitle='wcf.acp.user.'|concat:$action}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.TabMenu.init();
{event name='banFields'}
</fieldset>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$('#banned').change(function (event) {
if ($('#banned').is(':checked')) {
</dl>
</fieldset>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$('#disableSignature').change(function (event) {
if ($('#disableSignature').is(':checked')) {
</dl>
</fieldset>
- <script src="{@$__wcf->getPath()}js/WCF.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
- <script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
$('#disableAvatar').change(function (event) {
{include file='header' pageTitle='wcf.acp.user.bulkProcessing'}
{if $mailID|isset}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACP.Worker('mail', 'wcf\\system\\worker\\MailWorker', '', {
</script>
{/if}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
function toggleContainer(value) {
{include file='header' pageTitle='wcf.acp.user.exportEmailAddress'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACP.Options();
{@$message}
</p>
-<script>
+<script data-relocate="true">
//<![CDATA[
if (document.referrer) {
$('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>');
{include file='header' pageTitle='wcf.acp.group.'|concat:$action}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.TabMenu.init();
{include file='header' pageTitle='wcf.acp.group.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\user\\group\\UserGroupAction', '.jsUserGroupRow');
{include file='header'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACP.Options.Group({if $canEditEveryone}true{else}false{/if});
{include file='header'}
{event name='javascriptInclude'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
var actionObjects = { };
{include file='header'}
{if $mailID|isset}
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACP.Worker('mail', 'wcf\\system\\worker\\MailWorker', '', {
<header class="boxHeadline">
<h1>{lang}wcf.acp.user.option.category.list{/lang}</h1>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\user\\option\\category\\UserOptionCategoryAction', '.jsCategoryRow');
<header class="boxHeadline">
<h1>{lang}wcf.acp.user.option.list{/lang}</h1>
- <script>
+ <script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\user\\option\\UserOptionAction', '.jsOptionRow');
{include file='header' pageTitle='wcf.acp.user.rank.list'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('wcf\\data\\user\\rank\\UserRankAction', '.jsUserRankRow');
{include file='header' pageTitle='wcf.acp.user.search'}
-<script>
+<script data-relocate="true">
//<![CDATA[
$(function() {
WCF.TabMenu.init();
// move script tags to the bottom of the page
$javascript = array();
- self::$output = preg_replace_callback('~(?P<conditionBefore><!--\[IF [^<]+\s*)?<script(?P<script>.*?)</script>(?P<conditionAfter>\s*<!\[ENDIF]-->)?~s', function($matches) use (&$javascript) {
+ self::$output = preg_replace_callback('~(?P<conditionBefore><!--\[IF [^<]+\s*)?<script data-relocate="true"(?P<script>.*?)</script>(?P<conditionAfter>\s*<!\[ENDIF]-->)?~s', function($matches) use (&$javascript) {
$match = '';
if (isset($matches['conditionBefore'])) $match .= $matches['conditionBefore'];
$match .= '<script' . $matches['script'] . '</script>';
</div>
</form>
-<script>
+<script data-relocate="true">
//<![CDATA[
window.onload = function() {
document.forms[0].submit();
</div>
</form>
-<script>
+<script data-relocate="true">
//<![CDATA[
window.onload = function() {
document.forms[0].submit();
{include file='header'}
-<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
-<script>
+<script data-relocate="true" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
+<script data-relocate="true">
//<![CDATA[
if (window.jQuery) {
$(function() {