From b3aa13b6bb50aebd48e5c894f10d1b721f03be30 Mon Sep 17 00:00:00 2001 From: Sascha Greuel Date: Thu, 4 Jul 2013 21:00:05 +0200 Subject: [PATCH] Fixed usage of the script tag --- .../templates/__commentJavaScript.tpl | 6 +-- .../templates/__messageFormPoll.tpl | 4 +- .../templates/aclPermissionJavaScript.tpl | 2 +- com.woltlab.wcf/templates/aclPermissions.tpl | 4 +- com.woltlab.wcf/templates/avatarEdit.tpl | 2 +- com.woltlab.wcf/templates/benchmark.tpl | 4 +- .../birthdaySearchableOptionType.tpl | 2 +- .../templates/dashboardBoxRecentActivity.tpl | 2 +- com.woltlab.wcf/templates/following.tpl | 2 +- com.woltlab.wcf/templates/groupedUserList.tpl | 2 +- com.woltlab.wcf/templates/headInclude.tpl | 42 +++++++++---------- com.woltlab.wcf/templates/header.tpl | 2 +- com.woltlab.wcf/templates/ignoredUsers.tpl | 2 +- com.woltlab.wcf/templates/imageViewer.tpl | 6 +-- com.woltlab.wcf/templates/login.tpl | 4 +- com.woltlab.wcf/templates/lostPassword.tpl | 4 +- com.woltlab.wcf/templates/membersList.tpl | 2 +- .../templates/messageFormAttachments.tpl | 4 +- .../templates/messageFormMultilingualism.tpl | 2 +- .../templates/messageFormPreviewButton.tpl | 2 +- .../templates/messageFormSmilies.tpl | 4 +- com.woltlab.wcf/templates/messageFormTabs.tpl | 2 +- .../templates/messageOptionType.tpl | 2 +- com.woltlab.wcf/templates/messageSidebar.tpl | 2 +- .../templates/messageUserOptionOutput.tpl | 2 +- .../templates/moderationActivation.tpl | 4 +- .../templates/moderationReport.tpl | 4 +- .../multipleLanguageInputJavascript.tpl | 2 +- .../templates/notificationList.tpl | 2 +- .../templates/notificationSettings.tpl | 2 +- com.woltlab.wcf/templates/poll.tpl | 4 +- com.woltlab.wcf/templates/recaptcha.tpl | 4 +- .../templates/recentActivities.tpl | 2 +- .../templates/recentActivityList.tpl | 2 +- com.woltlab.wcf/templates/register.tpl | 4 +- com.woltlab.wcf/templates/search.tpl | 4 +- com.woltlab.wcf/templates/searchArea.tpl | 4 +- com.woltlab.wcf/templates/settings.tpl | 2 +- com.woltlab.wcf/templates/shareButtons.tpl | 2 +- com.woltlab.wcf/templates/signatureEdit.tpl | 2 +- com.woltlab.wcf/templates/sitemap.tpl | 2 +- .../templates/spoilerBBCodeTag.tpl | 2 +- com.woltlab.wcf/templates/tagInput.tpl | 4 +- com.woltlab.wcf/templates/team.tpl | 2 +- .../templates/textI18nOptionType.tpl | 2 +- .../templates/textareaI18nOptionType.tpl | 2 +- com.woltlab.wcf/templates/user.tpl | 4 +- com.woltlab.wcf/templates/userException.tpl | 2 +- com.woltlab.wcf/templates/userMenuSidebar.tpl | 2 +- com.woltlab.wcf/templates/userPanel.tpl | 10 ++--- .../templates/userProfilePreview.tpl | 2 +- com.woltlab.wcf/templates/userSearch.tpl | 2 +- com.woltlab.wcf/templates/usersOnlineList.tpl | 2 +- com.woltlab.wcf/templates/wysiwyg.tpl | 8 ++-- .../acp/templates/aclPermissionJavaScript.tpl | 2 +- .../files/acp/templates/aclPermissions.tpl | 4 +- .../files/acp/templates/applicationEdit.tpl | 2 +- .../files/acp/templates/attachmentList.tpl | 2 +- .../install/files/acp/templates/bbcodeAdd.tpl | 2 +- .../files/acp/templates/bbcodeList.tpl | 2 +- .../acp/templates/bbcodeMediaProviderList.tpl | 2 +- .../install/files/acp/templates/benchmark.tpl | 4 +- .../birthdaySearchableOptionType.tpl | 2 +- .../install/files/acp/templates/cacheList.tpl | 2 +- .../files/acp/templates/categoryList.tpl | 2 +- .../files/acp/templates/codemirror.tpl | 12 +++--- .../files/acp/templates/cronjobList.tpl | 2 +- .../files/acp/templates/cronjobLogList.tpl | 2 +- .../files/acp/templates/dashboardOption.tpl | 6 +-- .../files/acp/templates/dataImport.tpl | 2 +- .../files/acp/templates/exceptionLogView.tpl | 2 +- .../install/files/acp/templates/header.tpl | 18 ++++---- .../files/acp/templates/imageViewer.tpl | 6 +-- .../install/files/acp/templates/index.tpl | 2 +- .../install/files/acp/templates/labelAdd.tpl | 4 +- .../files/acp/templates/labelGroupAdd.tpl | 4 +- .../files/acp/templates/labelGroupList.tpl | 2 +- .../install/files/acp/templates/labelList.tpl | 2 +- .../files/acp/templates/languageItemList.tpl | 4 +- .../files/acp/templates/languageList.tpl | 2 +- .../acp/templates/languageMultilingualism.tpl | 2 +- .../acp/templates/languageServerList.tpl | 2 +- .../install/files/acp/templates/login.tpl | 2 +- .../files/acp/templates/masterPassword.tpl | 2 +- .../acp/templates/masterPasswordInit.tpl | 2 +- .../multipleLanguageInputJavascript.tpl | 2 +- .../install/files/acp/templates/option.tpl | 2 +- .../install/files/acp/templates/package.tpl | 2 +- .../templates/packageInstallationConfirm.tpl | 2 +- .../templates/packageInstallationSetup.tpl | 2 +- .../files/acp/templates/packageList.tpl | 4 +- .../acp/templates/packageStartInstall.tpl | 2 +- .../files/acp/templates/packageUpdate.tpl | 2 +- .../acp/templates/packageUpdateServerList.tpl | 2 +- .../files/acp/templates/pageMenuItemAdd.tpl | 2 +- .../files/acp/templates/pageMenuItemList.tpl | 2 +- .../files/acp/templates/smileyList.tpl | 2 +- .../install/files/acp/templates/styleAdd.tpl | 6 +-- .../files/acp/templates/styleExport.tpl | 2 +- .../install/files/acp/templates/styleList.tpl | 4 +- .../install/files/acp/templates/tagAdd.tpl | 4 +- .../install/files/acp/templates/tagList.tpl | 2 +- .../files/acp/templates/templateGroupList.tpl | 2 +- .../files/acp/templates/templateList.tpl | 2 +- .../acp/templates/textI18nOptionType.tpl | 2 +- .../acp/templates/textareaI18nOptionType.tpl | 2 +- .../acp/templates/userActivityPointOption.tpl | 2 +- .../install/files/acp/templates/userAdd.tpl | 12 +++--- .../acp/templates/userBulkProcessing.tpl | 4 +- .../acp/templates/userEmailAddressExport.tpl | 2 +- .../files/acp/templates/userException.tpl | 2 +- .../files/acp/templates/userGroupAdd.tpl | 2 +- .../files/acp/templates/userGroupList.tpl | 2 +- .../files/acp/templates/userGroupOption.tpl | 2 +- .../install/files/acp/templates/userList.tpl | 2 +- .../install/files/acp/templates/userMail.tpl | 2 +- .../acp/templates/userOptionCategoryList.tpl | 2 +- .../files/acp/templates/userOptionList.tpl | 2 +- .../files/acp/templates/userRankList.tpl | 2 +- .../files/acp/templates/userSearch.tpl | 2 +- .../ckeditor/plugins/wsc/dialogs/ciframe.html | 2 +- .../plugins/wsc/dialogs/tmpFrameset.html | 2 +- .../setup/template/stepInstallPackages.tpl | 2 +- wcfsetup/setup/template/stepNext.tpl | 2 +- wcfsetup/setup/template/stepSearchWcfDir.tpl | 4 +- 125 files changed, 206 insertions(+), 206 deletions(-) diff --git a/com.woltlab.wcf/templates/__commentJavaScript.tpl b/com.woltlab.wcf/templates/__commentJavaScript.tpl index 275474aa32..3981bf3ec5 100644 --- a/com.woltlab.wcf/templates/__commentJavaScript.tpl +++ b/com.woltlab.wcf/templates/__commentJavaScript.tpl @@ -1,6 +1,6 @@ - - - + + - + - + {if JQUERY_SOURCE == 'google'} - - + + {elseif JQUERY_SOURCE == 'microsoft'} - - + + {elseif JQUERY_SOURCE == 'cloudflare'} - - + + {else} - - + + {/if} {if JQUERY_SOURCE != 'local'} - {/if} - - - - + + + - - - + + + {event name='javascriptInclude'} @@ -67,7 +67,7 @@ - - - + + {event name='javascriptInclude'} - - + - - + + {event name='javascriptIncludes'} - - + - - - + + + + {/if} -{if $codemirrorMode|isset}{/if} +{if $codemirrorMode|isset}{/if} {event name='javascriptIncludes'} - - - - - - - - + + + + + + - - + + - + - + - + - - + + - + - + - - + + {/if} - - +