Fixed usage of the script tag
authorSascha Greuel <sascha@softcreatr.de>
Thu, 4 Jul 2013 19:00:05 +0000 (21:00 +0200)
committerSascha Greuel <sascha@softcreatr.de>
Thu, 4 Jul 2013 19:00:05 +0000 (21:00 +0200)
125 files changed:
com.woltlab.wcf/templates/__commentJavaScript.tpl
com.woltlab.wcf/templates/__messageFormPoll.tpl
com.woltlab.wcf/templates/aclPermissionJavaScript.tpl
com.woltlab.wcf/templates/aclPermissions.tpl
com.woltlab.wcf/templates/avatarEdit.tpl
com.woltlab.wcf/templates/benchmark.tpl
com.woltlab.wcf/templates/birthdaySearchableOptionType.tpl
com.woltlab.wcf/templates/dashboardBoxRecentActivity.tpl
com.woltlab.wcf/templates/following.tpl
com.woltlab.wcf/templates/groupedUserList.tpl
com.woltlab.wcf/templates/headInclude.tpl
com.woltlab.wcf/templates/header.tpl
com.woltlab.wcf/templates/ignoredUsers.tpl
com.woltlab.wcf/templates/imageViewer.tpl
com.woltlab.wcf/templates/login.tpl
com.woltlab.wcf/templates/lostPassword.tpl
com.woltlab.wcf/templates/membersList.tpl
com.woltlab.wcf/templates/messageFormAttachments.tpl
com.woltlab.wcf/templates/messageFormMultilingualism.tpl
com.woltlab.wcf/templates/messageFormPreviewButton.tpl
com.woltlab.wcf/templates/messageFormSmilies.tpl
com.woltlab.wcf/templates/messageFormTabs.tpl
com.woltlab.wcf/templates/messageOptionType.tpl
com.woltlab.wcf/templates/messageSidebar.tpl
com.woltlab.wcf/templates/messageUserOptionOutput.tpl
com.woltlab.wcf/templates/moderationActivation.tpl
com.woltlab.wcf/templates/moderationReport.tpl
com.woltlab.wcf/templates/multipleLanguageInputJavascript.tpl
com.woltlab.wcf/templates/notificationList.tpl
com.woltlab.wcf/templates/notificationSettings.tpl
com.woltlab.wcf/templates/poll.tpl
com.woltlab.wcf/templates/recaptcha.tpl
com.woltlab.wcf/templates/recentActivities.tpl
com.woltlab.wcf/templates/recentActivityList.tpl
com.woltlab.wcf/templates/register.tpl
com.woltlab.wcf/templates/search.tpl
com.woltlab.wcf/templates/searchArea.tpl
com.woltlab.wcf/templates/settings.tpl
com.woltlab.wcf/templates/shareButtons.tpl
com.woltlab.wcf/templates/signatureEdit.tpl
com.woltlab.wcf/templates/sitemap.tpl
com.woltlab.wcf/templates/spoilerBBCodeTag.tpl
com.woltlab.wcf/templates/tagInput.tpl
com.woltlab.wcf/templates/team.tpl
com.woltlab.wcf/templates/textI18nOptionType.tpl
com.woltlab.wcf/templates/textareaI18nOptionType.tpl
com.woltlab.wcf/templates/user.tpl
com.woltlab.wcf/templates/userException.tpl
com.woltlab.wcf/templates/userMenuSidebar.tpl
com.woltlab.wcf/templates/userPanel.tpl
com.woltlab.wcf/templates/userProfilePreview.tpl
com.woltlab.wcf/templates/userSearch.tpl
com.woltlab.wcf/templates/usersOnlineList.tpl
com.woltlab.wcf/templates/wysiwyg.tpl
wcfsetup/install/files/acp/templates/aclPermissionJavaScript.tpl
wcfsetup/install/files/acp/templates/aclPermissions.tpl
wcfsetup/install/files/acp/templates/applicationEdit.tpl
wcfsetup/install/files/acp/templates/attachmentList.tpl
wcfsetup/install/files/acp/templates/bbcodeAdd.tpl
wcfsetup/install/files/acp/templates/bbcodeList.tpl
wcfsetup/install/files/acp/templates/bbcodeMediaProviderList.tpl
wcfsetup/install/files/acp/templates/benchmark.tpl
wcfsetup/install/files/acp/templates/birthdaySearchableOptionType.tpl
wcfsetup/install/files/acp/templates/cacheList.tpl
wcfsetup/install/files/acp/templates/categoryList.tpl
wcfsetup/install/files/acp/templates/codemirror.tpl
wcfsetup/install/files/acp/templates/cronjobList.tpl
wcfsetup/install/files/acp/templates/cronjobLogList.tpl
wcfsetup/install/files/acp/templates/dashboardOption.tpl
wcfsetup/install/files/acp/templates/dataImport.tpl
wcfsetup/install/files/acp/templates/exceptionLogView.tpl
wcfsetup/install/files/acp/templates/header.tpl
wcfsetup/install/files/acp/templates/imageViewer.tpl
wcfsetup/install/files/acp/templates/index.tpl
wcfsetup/install/files/acp/templates/labelAdd.tpl
wcfsetup/install/files/acp/templates/labelGroupAdd.tpl
wcfsetup/install/files/acp/templates/labelGroupList.tpl
wcfsetup/install/files/acp/templates/labelList.tpl
wcfsetup/install/files/acp/templates/languageItemList.tpl
wcfsetup/install/files/acp/templates/languageList.tpl
wcfsetup/install/files/acp/templates/languageMultilingualism.tpl
wcfsetup/install/files/acp/templates/languageServerList.tpl
wcfsetup/install/files/acp/templates/login.tpl
wcfsetup/install/files/acp/templates/masterPassword.tpl
wcfsetup/install/files/acp/templates/masterPasswordInit.tpl
wcfsetup/install/files/acp/templates/multipleLanguageInputJavascript.tpl
wcfsetup/install/files/acp/templates/option.tpl
wcfsetup/install/files/acp/templates/package.tpl
wcfsetup/install/files/acp/templates/packageInstallationConfirm.tpl
wcfsetup/install/files/acp/templates/packageInstallationSetup.tpl
wcfsetup/install/files/acp/templates/packageList.tpl
wcfsetup/install/files/acp/templates/packageStartInstall.tpl
wcfsetup/install/files/acp/templates/packageUpdate.tpl
wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl
wcfsetup/install/files/acp/templates/pageMenuItemAdd.tpl
wcfsetup/install/files/acp/templates/pageMenuItemList.tpl
wcfsetup/install/files/acp/templates/smileyList.tpl
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/acp/templates/styleExport.tpl
wcfsetup/install/files/acp/templates/styleList.tpl
wcfsetup/install/files/acp/templates/tagAdd.tpl
wcfsetup/install/files/acp/templates/tagList.tpl
wcfsetup/install/files/acp/templates/templateGroupList.tpl
wcfsetup/install/files/acp/templates/templateList.tpl
wcfsetup/install/files/acp/templates/textI18nOptionType.tpl
wcfsetup/install/files/acp/templates/textareaI18nOptionType.tpl
wcfsetup/install/files/acp/templates/userActivityPointOption.tpl
wcfsetup/install/files/acp/templates/userAdd.tpl
wcfsetup/install/files/acp/templates/userBulkProcessing.tpl
wcfsetup/install/files/acp/templates/userEmailAddressExport.tpl
wcfsetup/install/files/acp/templates/userException.tpl
wcfsetup/install/files/acp/templates/userGroupAdd.tpl
wcfsetup/install/files/acp/templates/userGroupList.tpl
wcfsetup/install/files/acp/templates/userGroupOption.tpl
wcfsetup/install/files/acp/templates/userList.tpl
wcfsetup/install/files/acp/templates/userMail.tpl
wcfsetup/install/files/acp/templates/userOptionCategoryList.tpl
wcfsetup/install/files/acp/templates/userOptionList.tpl
wcfsetup/install/files/acp/templates/userRankList.tpl
wcfsetup/install/files/acp/templates/userSearch.tpl
wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wsc/dialogs/ciframe.html
wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
wcfsetup/setup/template/stepInstallPackages.tpl
wcfsetup/setup/template/stepNext.tpl
wcfsetup/setup/template/stepSearchWcfDir.tpl

index 275474aa32340b7e4ecc52d612e0c9dba3424dbd..3981bf3ec5757ab7738905d76e0496968d34637e 100644 (file)
@@ -1,6 +1,6 @@
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Comment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<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>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index 129619702ddee1c431f13f375645b02ad1725323..8eef1cf9b66b55c264ced8134d349c5e0f50b0a7 100644 (file)
@@ -1,6 +1,6 @@
 {if $__showPoll|isset && $__showPoll}
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index 897fd83d672e8f1d0fd00b2fd1fa1ad74215b6bb..645f5249bd8397677793d009710b1c06e2ad6344 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                {if $aclValues[$objectTypeID]|isset}
index 01750219e1cdeefc919aa2dc10614a70d85a44ef..97a646b9ac21658a25471b3df3279cebc8fa7bd0 100644 (file)
@@ -1,5 +1,5 @@
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.ACL{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}js/WCF.ACL{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index 694f6267163eedaa54a4e2beff017a0d69635664..48fae060076eaff43eb66567514d7803c2d1938c 100644 (file)
 
 {include file='footer'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index a118ec3169c86930f693c20c5fd6ddaed813c95a..42259ffc3c3946c2bdef1a1ee881fca0ee329959 100644 (file)
@@ -1,7 +1,7 @@
 <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 type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        $('#benchmarkDetails > li > span').click(function() {
@@ -23,7 +23,7 @@
                {/foreach}
        </ul>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        $('#benchmark').click(function() {
index 29760df57b3e343a7d2f35fe72ffc513b98e5ca5..14e149757d37e3b9eb41ad2abf7f571e7f9a2fb8 100644 (file)
@@ -1,7 +1,7 @@
 <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 type="text/javascript">
+<script>
 //<![CDATA[
 $(function() {
        $('#{$option->optionName}').parents('dl:eq(0)').find('> dt > label').text('{lang}wcf.user.birthday.age{/lang}');
index fa9d92338f95794b51c3789341f6506a22adb6de..0426c0a5ea0451ba5203093bbaef768573f25397 100644 (file)
@@ -9,7 +9,7 @@
        </ul>
 </div>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index bea4d634228eba77276fdedc309a2c3dcf54a18b..1949595338d137d6910d0d9f3eec65b0779888b1 100644 (file)
@@ -4,7 +4,7 @@
        <title>{lang}wcf.user.following{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\user\\follow\\UserFollowAction', '.jsFollowing');
index a54acccba9a00be79fe0120faee870287bacc4e0..83746793e901d00f2089d12f51dcc18ed7a89b22 100644 (file)
@@ -20,7 +20,7 @@
 
 <div class="contentNavigation"><div class="jsPagination"></div></div>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index 490164017db2ca2a1b35d7185d82c04fac352b68..dfe24067e232b4e00aeeda9e416afa5396a9cc27 100644 (file)
@@ -6,7 +6,7 @@
 {implode from=$__wcf->getMetaTagHandler() item=__metaTag glue="\n"}{@$__metaTag}{/implode}
 {event name='metaTags'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        var SID_ARG_2ND = '{@SID_ARG_2ND_NOT_ENCODED}';
        var WCF_PATH = '{@$__wcf->getPath()}';
        //]]>
 </script>
 {if JQUERY_SOURCE == 'google'}
-<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
-<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
+<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>
 {elseif JQUERY_SOURCE == 'microsoft'}
-<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.1.min.js"></script>
-<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jquery.ui/1.10.3/jquery-ui.min.js"></script>
+<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>
 {elseif JQUERY_SOURCE == 'cloudflare'}
-<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.1/jquery.min.js"></script>
-<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
+<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>
 {else}
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"></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>
 {/if}
 {if JQUERY_SOURCE != 'local'}
-<script type="text/javascript">
+<script>
        //<![CDATA[
        if (!window.jQuery) {
-               document.write('<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"><\/script>');
-               document.write('<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"><\/script>');
+               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>');
        }
        //]]>
 </script>
 {/if}
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<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>
        //<![CDATA[
        WCF.User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
        //]]>
 </script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript" src="{@$__wcf->getPath('wcf')}js/WCF.Like{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></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>
 {event name='javascriptInclude'}
 
 <!-- Stylesheets -->
@@ -67,7 +67,7 @@
        </style>
 </noscript>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
        //]]>
 </script>
  <!--[IF IE 9]>
- <script type="text/javascript">
+ <script>
        $(function() {
                function fixButtonTypeIE9() {
                        $('button').each(function(index, button) {
index cd7dc120989b8142192ee12558a83a2714dd7226..6409879b1b3f38fbd4554ca31b1c770a1314bda7 100644 (file)
@@ -59,7 +59,7 @@
                                        </aside>
                                        
                                        {if $sidebarOrientation|isset && $sidebarOrientation == 'right'}
-                                               <script type="text/javascript">
+                                               <script>
                                                        //<![CDATA[
                                                        $(function() {
                                                                new WCF.Collapsible.Sidebar();
index f70ad26b12ce04c995b271716fae38667e3bae2d..a3f45604fb9d99a040cd9fd103e83fc0f1b0589a 100644 (file)
@@ -4,7 +4,7 @@
        <title>{lang}wcf.user.ignoredUsers{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\user\\ignore\\UserIgnoreAction', '.jsIgnoredUser');
index b59ffd6324ec2d2cbeee6f866629996ee5ed7d7c..d21b01753dc90cab47fdf3d9bbb3deba6351ea93 100644 (file)
@@ -1,7 +1,7 @@
 {if !$__imageViewerLoaded|isset}
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.ImageViewer{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <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>
                //<![CDATA[
                var $imageViewer = null;
                $(function() {
index 577656bc900de12a13f78a1aec05c7a792c1dccf..999d7d731d5b89adee3bdd0decbf28867d7d5a73 100644 (file)
@@ -5,8 +5,8 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript" src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.User.Login(false);
index 7be49bfce74a3bb7afc5f87ecd94588fd967c8d9..706a9cb7bb1f75d8898ff1a9dc083d9fd4096886 100644 (file)
@@ -4,8 +4,8 @@
        <title>{lang}wcf.user.lostPassword{/lang} - {PAGE_TITLE|language}</title>
        {include file='headInclude'}
        
-       <script type="text/javascript" src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.User.Registration.LostPassword();
index 91cd06673e135d00eeb85dae468391c6ed3374d6..e5b71eaf2acf55dfcada14ae308646beb75acfa7 100644 (file)
@@ -14,7 +14,7 @@
        {/if}
        <link rel="canonical" href="{link controller='MembersList'}{if $pageNo > 1}pageNo={@$pageNo}&{/if}{@$canonicalURLParameters}{/link}" />
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                        $(function() {
                                WCF.Language.addObject({
index 4aeffef9624212810f1cfa6e4585720ad0c4a2ad..e1a87b7df2a50db44af84983d5e0cf027e3dd1dc 100644 (file)
@@ -33,8 +33,8 @@
        {event name='fields'}
 </div>
 
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Attachment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}js/WCF.Attachment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index bcfa5681c2fc5388054dc058260c12314b9d4dde..ad7a3b408b171e1f940195cafa845393d11471c0 100644 (file)
@@ -12,7 +12,7 @@
                </dd>
        </dl>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        var $languages = {
index b175ced1bfe353c4f935ed8de9f56d549339d1b9..ca209a81c18ee9eedebdad272f23b769800397e2 100644 (file)
@@ -1,6 +1,6 @@
 <button id="previewButton" class="jsOnly" accesskey="p">{lang}wcf.global.button.preview{/lang}</button>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index d7c7e7cdf069581b78bef011ae3f26086fd5ea29..6a48c2e798f8e2fdb1c866a56babb15e2de3b88f 100644 (file)
@@ -27,7 +27,7 @@
                        {/if}
                {/foreach}
                
-               <script type="text/javascript">
+               <script>
                        //<![CDATA[
                        $(function() {
                                new WCF.Message.SmileyCategories();
@@ -40,7 +40,7 @@
        
        {event name='fields'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Message.Smilies('{if $wysiwygSelector|isset}{$wysiwygSelector|encodeJS}{else}text{/if}');
index b81e937a97bf4b1ad3caf8381e6eaf3685ca0fa4..f3e8d33a35d7b78efa3702a16b94e0ccb000dab7 100644 (file)
@@ -18,7 +18,7 @@
        {event name='tabMenuContents'}
 </div>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                if (jQuery.browser.mobile) $('#smiliesTab, #smilies').remove();
index 15009ac8c051295e320948c9d581e29261197657..79571b400a96800632ce797514d40c22c7f53e19 100644 (file)
@@ -1,7 +1,7 @@
 <textarea id="{$option->optionName}" name="values[{$option->optionName}]" cols="40" rows="10">{$value}</textarea>
 {include file='wysiwyg' wysiwygSelector=$option->optionName}
 
-<script type="text/javascript">
+<script>
 //<![CDATA[
 $(function() {
        $('#{$option->optionName}').parents('dl:eq(0)').addClass('wide');
index 559eb30b05fb23c2629c332001ffb0758fd182ff..df5c93313042a00adbe1fe023dcab342929de53e 100644 (file)
@@ -1,5 +1,5 @@
 {if !$__messageSidebarJavascript|isset}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index 0260af3b0ed16aa0ff7c3ca0271057e15214334d..4b46481301bd7de5cf9ab893b2a78cc919089f4a 100644 (file)
@@ -5,7 +5,7 @@
                {/content}
        </div>
        
-       <script type="text/javascript">
+       <script>
        //<![CDATA[
        $(function() {
                $('#{$option->optionName}').parents('dl:eq(0)').addClass('wide');
index 010f00cb50b1acdebe1b17b8669c6ee4baf4f155..1ddd77cb5eb925d6b98a476fe69cc9d07c6e4cd0 100644 (file)
@@ -5,8 +5,8 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Moderation.Activation.Management({@$queue->queueID}, '{link controller='ModerationList'}{/link}');
index b4a3432d04e25daf7f80922ddd719888a2612329..f2d52bff5e509d13be5a1fb8499db5635db8281c 100644 (file)
@@ -5,8 +5,8 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Moderation.Report.Management({@$queue->queueID}, '{link controller='ModerationList'}{/link}');
index 2a4a32a834a96b91da733297cdbd67c4bf9acad8..22ea3e1bf0c880a7c5476091d51d2201f37ca036 100644 (file)
@@ -1,5 +1,5 @@
 {if !$forceSelection|isset}{assign var=forceSelection value=false}{/if}
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
index 373b4965563b60c579eef43bebf62ddc078ca8f6..3fac798d583ccae919e65752ebdffd881d8a8c32 100644 (file)
@@ -4,7 +4,7 @@
        <title>{lang}wcf.user.notification.notifications{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language}</title>
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index dbb021ad2ae9281e537b0f8706809cae784d5c77..3c805b163b80ec8eff027768f2364b4c05f0707e 100644 (file)
@@ -5,7 +5,7 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        $('#notificationSettings > fieldset > dl > dd > label > input').each(function(index, value) {
index 9810cb73417244d12329c631264ae4cc9effcbfe..a352b3a84440237646193042e1c6697c36b004e9 100644 (file)
@@ -1,7 +1,7 @@
 {if $__wcf->getUser()->userID && !$__pollLoadedJavaScript|isset}
        {assign var=__pollLoadedJavaScript value=true}
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/WCF.Poll{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Poll.Manager('.pollContainer');
index c8aa647afcb59d15795473cd7ee03ddda98dc9a0..d801058603f2a44ed668504306700f4ee194989b 100644 (file)
@@ -3,7 +3,7 @@
        <small>{lang}wcf.recaptcha.description{/lang}</small>
        
        <dl class="wide reCaptcha{if $errorField == 'recaptchaString'} formError{/if}">
-               <script type="text/javascript">
+               <script>
                        //<![CDATA[
                        var RecaptchaOptions = {
                                lang: '{@$recaptchaLanguageCode}',
@@ -37,7 +37,7 @@
                        </ul>
                </dd>
                
-               <script type="text/javascript" src="http{if $recaptchaUseSSL}s{/if}://www.google.com/recaptcha/api/challenge?k={$recaptchaPublicKey}"></script>
+               <script 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 />
index 713c5b4555e0773db9e43d979b0d229ee0a18a16..2130cf86cca9b377516b20b9c409b4618a83b9d9 100644 (file)
@@ -1,5 +1,5 @@
 {hascontent}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index 8cfcc4b6fdc421f670713cf14dd892aefcedbe12..e6f200257d924450a16a34fc10ef13eb2fbd3d55 100644 (file)
@@ -7,7 +7,7 @@
        
        <link rel="canonical" href="{link controller='RecentActivityList'}{/link}" />
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index a1dac1c8ac65ecd803cc3b521b09d18416250b61..6d8aea3b74bc43d3007da5f72d9ac33573480e6c 100644 (file)
@@ -4,8 +4,8 @@
        <title>{lang}wcf.user.register{/lang} - {PAGE_TITLE|language}</title>
        {include file='headInclude'}
        
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index dc94079699218800605a34a06ce3d10d8ad642b6..f718916229055a06b91f022503ebb4ecc5d199ea 100644 (file)
                                        
                                        {include file=$objectType->getFormTemplateName() application=$objectType->getApplication()}
                                        
-                                       <script type="text/javascript">
+                                       <script>
                                                //<![CDATA[
                                                $(function() {
                                                        $('#{@$__jsID}').click(function() {
 
 {include file='footer'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Search.User($('#searchAuthor'), function(data) {
index a6427880a1c9f4c03ce1e184f4e9351a72d5bf3f..c0e061c7a4e1cfe316c3594102a50e3fe36b6b81 100644 (file)
@@ -25,8 +25,8 @@
        </form>
 </aside>
 
-<script type="text/javascript" src="{@$__wcf->getPath('wcf')}js/WCF.Search.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath('wcf')}js/WCF.Search.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Search.Message.SearchArea($('#search'));
index 103137646973a6f18c7409feddbde98e1bbb1e63..d88785a99f9da60e06370a4439151898b22c68a1 100644 (file)
@@ -43,7 +43,7 @@
                                        <dl>
                                                <dt><label>{lang}wcf.user.language{/lang}</label></dt>
                                                <dd id="languageIDContainer">
-                                                       <script type="text/javascript">
+                                                       <script>
                                                                //<![CDATA[
                                                                $(function() {
                                                                        var $languages = {
index 83514dc6605a107703ca09febacde48f4dba4f5a..55808ec5a8e3b5b0b5aa42804c45232190ed6a5c 100644 (file)
@@ -32,7 +32,7 @@
                {event name='buttons'}
        </ul>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index c7a282108624c1a91009b4b525642ce249cfeb51..2bba8eab0baa3fc68ba14e32f5f3b3d375a562e8 100644 (file)
@@ -5,7 +5,7 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index 4a752c20495857cf72651d9b70cf604e8817ef0d..5fe6d0685607cede7e10f63d316afb5adf3d3b3e 100644 (file)
@@ -18,7 +18,7 @@
                        {/foreach}
                </div>
                
-               <script type="text/javascript">
+               <script>
                        //<![CDATA[
                        $(function() {
                                // fix anchor
index 515e214585f3b083d28946e3b5fea1f116855028..ff6be9d1d4aeda316183ea41d799088c4d9a9adf 100644 (file)
@@ -11,7 +11,7 @@
 </div>
 
 <!-- begin:parser_nonessential -->
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $spoilerBox = $('.jsSpoilerBox').removeClass('jsSpoilerBox');
index b81ac0b56dfe6a9872efe6f34e10dacc322251e6..8cea3fecc770c2ffbd63db35df227a40298f8b04 100644 (file)
@@ -6,8 +6,8 @@
                <small>{lang}wcf.tagging.tags.description{/lang}</small>
        </dd>
 </dl>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                var $tagList = new WCF.Tagging.TagList('#tagList{if $tagInputSuffix|isset}{@$tagInputSuffix}{/if}', '#tagSearchInput{if $tagInputSuffix|isset}{@$tagInputSuffix}{/if}', {@TAGGING_MAX_TAG_LENGTH});
index 940eb520617f720c528e2f5327e28cb7d83bfe3e..f8174dbcae976e54722af6a1a2deadebbf9d38b5 100644 (file)
@@ -7,7 +7,7 @@
        
        <link rel="canonical" href="{link controller='Team'}{/link}" />
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                        $(function() {
                                WCF.Language.addObject({
index 8caccffa7c749709d391c8b9613852c5c5e5b2bb..bd92a3713ac2d54b19338f144f1b927043c42794 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
index ecc8981bc2c73fe0ed18b2ee83d3efd6415dd6ec..18d22971e424e16ad6d1dac12001ec081781d552 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
index 59f2854e89c081e69fccfd31f14f335ef88d550c..8a735a0039600c780bab51e955daa29c0e3c32cc 100644 (file)
@@ -7,9 +7,9 @@
        
        <link rel="canonical" href="{link controller='User' object=$user}{/link}" />
        
-       <script type="text/javascript" src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
        {event name='javascriptInclude'}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        {if $__wcf->getUser()->userID && $__wcf->getUser()->userID != $user->userID}
index 7d7052c1599f7459f2f43e695c6ed9d27c68a26b..f444cf7ffb4f1b9f1dcbdf214c54c83c99ed6721 100644 (file)
@@ -12,7 +12,7 @@
 <p id="errorMessage" class="error">
        {@$message}
 </p>
-<script type="text/javascript">
+<script>
        //<![CDATA[
        if (document.referrer) {
                $('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>'); 
index 42d0a9733b03786d79dbfad31c72389ca88e344f..936466c8598d5179482a232b2390470c45ec7a87 100644 (file)
@@ -1,7 +1,7 @@
 {capture assign='sidebar'}
        {assign var=__userMenuActiveItems value=$__wcf->getUserMenu()->getActiveMenuItems()}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        // mobile safari hover workaround
index 2e012225dbf8feb2c0e433706d12391d036a18f1..d39fff42070432b7bc867d76540825bd16c49d0f 100644 (file)
@@ -31,7 +31,7 @@
        {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 type="text/javascript">
+                       <script>
                                //<![CDATA[
                                $(function() {
                                        WCF.Language.addObject({
                                </form>
                        </div>
                        
-                       <script type="text/javascript">
+                       <script>
                                //<![CDATA[
                                $(function() {
                                        WCF.Language.addObject({
        {/if}
        {if $__wcf->getLanguage()->getLanguages()|count > 1}
                <li id="pageLanguageContainer">
-                       <script type="text/javascript">
+                       <script>
                                //<![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 type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-                       <script type="text/javascript">
+                       <script src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+                       <script>
                                //<![CDATA[
                                $(function() {
                                        WCF.Language.addObject({
index fa8a2c86fbcbb271291e057f26dfddec3253ecbf..f3f3f27ae6d39305c3f82fc99dfc2d22f1350222 100644 (file)
@@ -2,7 +2,7 @@
        <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 type="text/javascript">
+               <script>
                        //<![CDATA[
                                $(function() {
                                        WCF.Language.addObject({
index db534a1ddbc6cfe7a2fc53b330aa145eabb2cf92..42505c9bcf580a1a241155b729d055fed963d4a9 100644 (file)
@@ -5,7 +5,7 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Search.User('#username', null, false, [ ], false);
index 3b11d2e8e9e27527e5406b9d094996b88a0fab7a..02ea8c79e91f6dd82b5ba7b1cb0753895cf263d2 100644 (file)
@@ -7,7 +7,7 @@
        
        <link rel="canonical" href="{link controller='UsersOnlineList'}{/link}" />
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                        $(function() {
                                WCF.Language.addObject({
index c89e28f720017d8536b2f2fe91c0cfa739c6b3ee..44422ec9a9480bd96f960ed40a4816c554d9f8e7 100644 (file)
@@ -1,14 +1,14 @@
-<script type="text/javascript">
+<script>
 //<![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 type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/ckeditor/ckeditor.js"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/ckeditor/adapters/jquery.js"></script>
+<script src="{@$__wcf->getPath()}js/3rdParty/ckeditor/ckeditor.js"></script>
+<script src="{@$__wcf->getPath()}js/3rdParty/ckeditor/adapters/jquery.js"></script>
 {event name='javascriptIncludes'}
 
-<script type="text/javascript">
+<script>
 //<![CDATA[
 $(function() {
        if ($.browser.mobile) {
index 897fd83d672e8f1d0fd00b2fd1fa1ad74215b6bb..645f5249bd8397677793d009710b1c06e2ad6344 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                {if $aclValues[$objectTypeID]|isset}
index 044330f7297103b58ef5c9622dc43ef2d052a8b4..a2434ed10aae3d203af62e0edbc6cd7e20e0f0ac 100644 (file)
@@ -1,5 +1,5 @@
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.ACL.js"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}js/WCF.ACL.js"></script>
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index e8ce28f16a78257897e462979d916a1bbbd97ccb..e9d310e0b6d18845f578e629d6a7f46322d0f1fc 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header' pageTitle='wcf.acp.application.edit'}
 
 {if $application->packageID != 1 && !$application->isPrimary}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index c32f3fd80a048d40996815ba26853c4d5a64b1bb..1e0c0c4cfdf68de86faa8da7049a89029a47366d 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header' pageTitle='wcf.acp.attachment.list'}
 
 {include file='imageViewer'}
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\attachment\\AttachmentAction', '.jsAttachmentRow');
index 193c7203999b6b567f9b602b99da0df45c6508ef..0079bb019cddc6a50dad7f49a54f31c93ad91d89 100644 (file)
@@ -33,7 +33,7 @@
                {event name='attributeFields'}
        </fieldset>
 {/capture}
-<script type="text/javascript">
+<script>
 //<![CDATA[
        $(function() {
                $('.jsDeleteButton').click(function (event) {
index f1449fb04f001cf89534c7b75af592c3cea398eb..d2dd73b513c5845dd311771dbd351e891d0eb8b5 100644 (file)
@@ -3,7 +3,7 @@
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.bbcode.list{/lang}</h1>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\bbcode\\BBCodeAction', '.jsBBCodeRow');
index 101d3bb915a0d1c830f2d042149acd5a6d51f401..08414d990e85330d2135492c6806770e654b694c 100644 (file)
@@ -3,7 +3,7 @@
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.bbcode.mediaProvider.list{/lang}</h1>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\bbcode\\media\\provider\\BBCodeMediaProviderAction', '.jsMediaProviderRow');
index a118ec3169c86930f693c20c5fd6ddaed813c95a..42259ffc3c3946c2bdef1a1ee881fca0ee329959 100644 (file)
@@ -1,7 +1,7 @@
 <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 type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        $('#benchmarkDetails > li > span').click(function() {
@@ -23,7 +23,7 @@
                {/foreach}
        </ul>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        $('#benchmark').click(function() {
index c8e5aeb9e188293dc834cbd7ba5212af72e8fa52..314f7d10c111996ceb0520427c711ce6dd26a97c 100644 (file)
@@ -1,7 +1,7 @@
 <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 type="text/javascript">
+<script>
 //<![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');
index f02a6eb34229bfb62e87005b1d0aa5237cbad187..743ceffce1991db87bfc42b66121170924998314 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.cache.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Collapsible.Simple.init();
index 9ce3114182375a82b7241805b95a9baa60019b3d..a9f0f4e3a67b5899ccb241f7f5ad4fd50426954c 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header'}
 
 {if $categoryNodeList->hasChildren()}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        {if $collapsibleObjectTypeID}
index 12f5c353c2b79d00f96c1b1ca4bb7684334b1e4e..ab30233d72f254a1a8f6bc806afaab56aaf73ab8 100644 (file)
@@ -1,13 +1,13 @@
 {if !$codemirrorLoaded|isset}
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/codemirror.js"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/dialog/dialog.js"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/searchcursor.js"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/search.js"></script>
+       <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>
 {/if}
-{if $codemirrorMode|isset}<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/mode/{$codemirrorMode}/{$codemirrorMode}.js"></script>{/if}
+{if $codemirrorMode|isset}<script src="{@$__wcf->getPath()}js/3rdParty/codemirror/mode/{$codemirrorMode}/{$codemirrorMode}.js"></script>{/if}
 {event name='javascriptIncludes'}
 
-<script type="text/javascript">
+<script>
 //<![CDATA[
        {if !$codemirrorLoaded|isset}
                $('<link rel="stylesheet" href="{@$__wcf->getPath()}js/3rdParty/codemirror/codemirror.css" />').appendTo('head');
index 6c5c404feac87a23f5e5ee31b70a81372fa760ac..766ebea64ad3a580784f5ffa0cb67557df04d68d 100644 (file)
@@ -5,7 +5,7 @@
        <p>{lang}wcf.acp.cronjob.subtitle{/lang}</p>
 </header>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\cronjob\\CronjobAction', '.jsCronjobRow');
index 69133c9aa08a93bad3b9e3fdb4779f4794094946..0cc39e52111715f4457a2b3a29478387ac6f6d6a 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.cronjob.log'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index d14b57fdd71a13648fd8e5d54ed4f58ffb3d2516..15f432c9676a07a7d4cf519ce3541270c81b0db1 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.dashboard.option'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.TabMenu.init();
@@ -77,7 +77,7 @@
                                <button data-type="submit">{lang}wcf.global.button.saveSorting{/lang}</button>
                        </div>
                        
-                       <script type="text/javascript">
+                       <script>
                                //<![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 type="text/javascript">
+                       <script>
                                //<![CDATA[
                                $(function() {
                                        new WCF.Sortable.List('dashboard-sidebar', 'wcf\\data\\dashboard\\box\\DashboardBoxAction', 0, { }, true, { boxType: 'sidebar', objectTypeID: {@$objectTypeID} });
index 987bfe7eb8847abd0b1c9b901cd9a15d421fb094..bdd6997c7b522238fb28f63719cb1b98cb810f65 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.dataImport'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                {if $queue|isset}
index 22dbd8415fe8d65a5ab232ef867e35b2c138de51..609aeb79df93496eb0d9b57cbd9029c820d463b4 100644 (file)
@@ -1,5 +1,5 @@
 {include file='header' pageTitle='wcf.acp.exceptionLog'}
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                {if $exceptionID}window.location.hash = '{$exceptionID|encodeJS}';{/if}
index e9e416267407d36dbfa1c12eb092d614975759d0..6e240d6fd143d83f98af99319d76baee7cdfd2d1 100644 (file)
@@ -4,7 +4,7 @@
        <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 type="text/javascript">
+       <script>
                //<![CDATA[
                var SID_ARG_2ND = '{@SID_ARG_2ND_NOT_ENCODED}';
                var WCF_PATH = '{@$__wcf->getPath()}';
                var TIME_NOW = {@TIME_NOW};
                //]]>
        </script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}acp/js/WCF.ACP.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <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>
                //<![CDATA[
                WCF.User.init({$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
                //]]>
@@ -30,7 +30,7 @@
        {@$__wcf->getStyleHandler()->getStylesheet()}
        {event name='stylesheets'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        {* work-around for unknown core-object during WCFSetup *}
index 72c51f6111043eb19ea2c5332e37e22dac597a2d..d41fa9e272fccbe5b0b9e10d7de3674a8812f5c3 100644 (file)
@@ -1,7 +1,7 @@
 {if !$__imageViewerLoaded|isset}
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.ImageViewer.js"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
+       <script src="{@$__wcf->getPath()}js/WCF.ImageViewer.js"></script>
+       <script>
                //<![CDATA[
                var $imageViewer = null;
                $(function() {
index cb09902e7f2c4c162c786b8bb5a919efa5806436..df70ba1913647dac74637e753d3a3bcf24b3240d 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.TabMenu.init();
index abfddde241eec9178cee50a13dedb1eef9eab52e..4e992c391b8f6c1f83cdc5a6bd3e506868f36582 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header'}
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index 2cf58522faba50c8c653de7fdfd5d2ce583a77ee..11fa040b3ffd5825eece5758a2f7d7b20933ca3c 100644 (file)
@@ -1,8 +1,8 @@
 {include file='header'}
 
 {include file='aclPermissions'}
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}js/WCF.Label{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                new WCF.ACL.List($('#groupPermissions'), {@$objectTypeID}{if $groupID|isset}, '', {@$groupID}{/if});
index 21e5d886439704290c743a9864fc94996487ddbd..7af3305b2ca84a07957bbb9f13ae2b5d697fb7ef 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\label\\group\\LabelGroupAction', '.jsLabelGroupRow');
index 48dc4ded27b3e94b263db224414b7c92f2ae3080..a21e7c807e4dbe0db95c55664a60426f49e3a2fe 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\label\\LabelAction', '.jsLabelRow');
index fec2b07b97381391622a50486f1657684bf103b3..61af39f9bcbe70e70f23cc42142ae089df51ffbd 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header' pageTitle="wcf.acp.language.item.list"}
 
-<script type="text/javascript" src="{@$__wcf->getPath()}acp/js/WCF.ACP.Language.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}acp/js/WCF.ACP.Language.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                new WCF.ACP.Language.ItemList();
index 4274798cfe5eebeaadcd085f20bd93056042de10..91414274dd6fb25cb8e4a984312aa8c475b5bde1 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.language.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\language\\LanguageAction', '.jsLanguageRow');
index ef5dc01590a2664f8192c5ba1d743947f8f65a4e..40fe92a017fbf5045f0ec60b50d19bb4537fab5d 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.language.multilingualism'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $languageIDs = $('#languageIDs');
index e423d17cdb83050587b686bc70551b2894e370da..67b3d89d041399777b3a3c807b42aee079e10c86 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.languageServer.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\language\\server\\LanguageServerAction', '.jsLanguageServerRow');
index fce276da15a1083b340824235dc04d98fd9f5609..cbaa9e264555b57b18d6a79892d526c5e26eee28 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.user.login'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                if (!$('#username').val() || '{$errorField}' == 'username') {
index a16198e8f45a37bca1b90efdbfa0b09b52113623..62d9e39f50d596f7bfbb0d050149b00c62b4c367 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.masterPassword.enter'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                $('#masterPassword').focus();
index cdf67a4a6df8b09c32e23851401ecc82532c9383..2dfd6fc16b2acb3b74413661ca146ca2930344f5 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.masterPassword.init'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                $('#setPassword').click(function() {
index 57b8d55c7e18e2985077b1ec72aecc69bf2cae6b..022dc01a66faae14bd4d72e224909b9671993108 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
index 3813a6f2f345c6cbd7bb2803bb866d4bc30d04d0..15ed4034d54a74e11e085e27c04f2c9550e24c46 100644 (file)
@@ -2,7 +2,7 @@
 
 {event name='javascriptInclude'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.TabMenu.init();
index ff82d88bd9b63d48373175390ae2c5cb32dc3027..0d4dc7ff55541fe729c5e0f4366a7cef2c9fafb5 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle=$package->getName()}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.TabMenu.init()
index 8f28c0ee4a7dafa2c75b892c97e9fc8cab54c3c4..4e52dbba092f07674bd803f390439be8768212c4 100644 (file)
@@ -1,7 +1,7 @@
 {capture assign='pageTitle'}{lang}wcf.acp.package.{@$queue->action}.title{/lang}: {$archive->getLocalizedPackageInfo('packageName')}{/capture}
 {include file='header'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index 2612d6f2e6c17fc7e63ce0b3a107c04334188c05..86186698965f0ba4722896ea4cc38fd014fea359 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' templateName='packageInstallationSetup'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.add('wcf.acp.package.install.title', '{lang}wcf.acp.package.install.title{/lang}');
index 28b5fb3998c11563ea9ae5a45de465be002ca14b..74201d7f85ceac43ee7c8e65221258e443837a43 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.package.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
@@ -94,7 +94,7 @@
                {@$pagesLinks}
                
                {hascontent}
-                       <script type="text/javascript">
+                       <script>
                                //<![CDATA[
                                $(function() {
                                        new WCF.ACP.Package.Uninstallation($('.jsPluginContainer .jsUninstallButton'));
index 18a7f184cf56303fbff6f8933a4c344cb2ae6ee0..503b8d1464b2ee5ed7ce7220e676754a8d2d3563 100644 (file)
@@ -5,7 +5,7 @@
 {/if}
 {include file='header'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index f8f72d3af91ae50a3212c2387f0b010af8b6fd3d..480fffe98e2039a829102e41bbc1f3fb99a1493f 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.package.update.title'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.Language.addObject({
index adfde058fe987c4d4abe66c7fc8dbf1a092b8395..f494be91364bfaee10932211e658e62edd30109d 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.updateServer.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\package\\update\\server\\PackageUpdateServerAction', '.jsUpdateServerRow');
index 4750e11f953bfbebb3483fb7e8a50910e03183a5..e8f3877f2628274b65740842afc06a6b48828060 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.pageMenu.'|concat:$action}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $menuPosition = $('#menuPosition');
index 07a53fd12507679b6a3c5353fd6d5cf62490b9cd..a470768f558af29677c414e40124a0b9a38d778b 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.pageMenu.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\page\\menu\\item\\PageMenuItemAction', '.sortableNode', '> .sortableNodeLabel .jsDeleteButton');
index 57c3c7d69d5939b29ec3d699a53ec3e41290b33f..a50644d91adead655500d456fa85962e1e9fd1d8 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header' pageTitle='wcf.acp.smiley.list'}
 
 {if $objects|count}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\smiley\\SmileyAction', $('.smileyRow'));
index 0f44d3df99388f33cdec1dfb70d4f00397cf6a92..91be3b83c27671a935cfc280f1e1fdcffe9da8fc 100644 (file)
@@ -1,8 +1,8 @@
 {include file='header' pageTitle='wcf.acp.style.'|concat:$action}
 
-<script type="text/javascript" src="{@$__wcf->getPath()}acp/js/WCF.ACP.Style.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.ColorPicker.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<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>
        //<![CDATA[
        $(function() {
                new WCF.ColorPicker('.jsColorPicker');
index 885afed46c094fa08bbeb2dfc2ad3509d70149e9..b7291c707a46deef4ddd3e3795dd213f7d61ce58 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.style.exportStyle'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                $('#exportAsPackage').change(function (event) {
index 941403a4725c7c34e3adb5cd003a264cfb850ade..40c3857caff291805285bd3268ade27e008f6d35 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header' pageTitle='wcf.acp.style.list'}
 
-<script type="text/javascript" src="{@$__wcf->getPath()}acp/js/WCF.ACP.Style.js?v={@$__wcfVersion}"></script>
-<script type="text/javascript">
+<script src="{@$__wcf->getPath()}acp/js/WCF.ACP.Style.js?v={@$__wcfVersion}"></script>
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Toggle('wcf\\data\\style\\StyleAction', '.buttonList');
index 799a8d7361475c9a5bc2ee6dbf922dca984ea764..c826629f1f983a95da8436aa7b7ffaf1e0af780b 100644 (file)
@@ -79,8 +79,8 @@
                                        </dd>
                                </dl>
                                
-                               <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-                               <script type="text/javascript">
+                               <script src="{@$__wcf->getPath()}js/WCF.Tagging{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+                               <script>
                                        //<![CDATA[
                                        $(function() {
                                                var $tagList = new WCF.Tagging.TagList('#synonymList', '#synonyms');
index 11ad852106f26481c462b5bc2de32d6e1d836deb..1de04491a959015d85f5d1af9cc0893affb76851 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.tag.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\tag\\TagAction', '.jsTagRow');
index bdd9a170b3ced6278ddeb4b3438eb07699fe4ea1..47c5fbf69b57bb2d536aecf73d8fd77d5656c6f5 100644 (file)
@@ -3,7 +3,7 @@
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.template.group.list{/lang}</h1>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\template\\group\\TemplateGroupAction', '.jsTemplateGroupRow');
index 7905137ec9301f2a3cd1c5ae6ef37589058a183c..e68bd3b2ddd21e2cbd1c9389795e695120cd10a9 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle="wcf.acp.template.list"}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\template\\TemplateAction', '.jsTemplateRow');
index 8caccffa7c749709d391c8b9613852c5c5e5b2bb..bd92a3713ac2d54b19338f144f1b927043c42794 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
index ecc8981bc2c73fe0ed18b2ee83d3efd6415dd6ec..18d22971e424e16ad6d1dac12001ec081781d552 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var $availableLanguages = { {implode from=$availableLanguages key=languageID item=languageName}{@$languageID}: '{$languageName}'{/implode} };
index d6eeed831753c2cfc37555ac84ba0c9e77e1e877..366ef05c24fc37cc82f9e47e61edf6fa0b044b40 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.user.activityPoint.option'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                $('#updateCache').click(function () {
index 8d2d01c2d4da9a224f349a2d2f446920c8b5967b..0d4ce3da383ae95cec7058798ad4bc52cfcb2b96 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.user.'|concat:$action}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.TabMenu.init();
                                        {event name='banFields'}
                                </fieldset>
                                
-                               <script type="text/javascript">
+                               <script>
                                        //<![CDATA[
                                        $('#banned').change(function (event) {
                                                if ($('#banned').is(':checked')) {
                                        </dl>
                                </fieldset>
                                
-                               <script type="text/javascript">
+                               <script>
                                        //<![CDATA[
                                        $('#disableSignature').change(function (event) {
                                                if ($('#disableSignature').is(':checked')) {
                                        </dl>
                                </fieldset>
                                
-                               <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Message{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-                               <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-                               <script type="text/javascript">
+                               <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>
                                        //<![CDATA[
                                        $(function() {
                                                $('#disableAvatar').change(function (event) {
index e36ed4a1d53dbb86eb1d283f6fdd3fb3d4f9d426..10e94543b30cb842c793ea7c1ffd6a1197615a0e 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header' pageTitle='wcf.acp.user.bulkProcessing'}
 
 {if $mailID|isset}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.ACP.Worker('mail', 'wcf\\system\\worker\\MailWorker', '', {
@@ -12,7 +12,7 @@
        </script>
 {/if}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                function toggleContainer(value) {
index fac1b5d58b6c3ce6e1d3587800b3f797e49f54d1..8b77f99fe5b19a1067d3d225f6c7528a38e5b1a2 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.user.exportEmailAddress'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.ACP.Options();
index 1516e703df1f58c2dc5aeaddf2a193c7e5189dd7..345c74cb8af4e42a483b72e91387004310ceb75a 100644 (file)
@@ -4,7 +4,7 @@
        {@$message}
 </p>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        if (document.referrer) {
                $('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>'); 
index 97309ced0b52d68d9544f7e2c5ddd1315c7a1f3c..5ef23e58a9f18d5e9aa041831e7f5f43ee5c2e79 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.group.'|concat:$action}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.TabMenu.init();
index 24a23cff508a9f816f75c0bd3cca1623192b005c..2c3912279437d72620a3dd10eb9d6d2687cd3113 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.group.list'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.Action.Delete('wcf\\data\\user\\group\\UserGroupAction', '.jsUserGroupRow');
index c11b569af70e11ed0cfb7c93c45540bc4d7f3342..2ad5e4295acf41434dba792b22ddf15f2cc12d3c 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                new WCF.ACP.Options.Group({if $canEditEveryone}true{else}false{/if});
index 8cbd16500879c339461ce33a949a0c6355107615..0cca2fe22ee3f4460b86f85617a17476bef7336f 100644 (file)
@@ -7,7 +7,7 @@
 {include file='header'}
 
 {event name='javascriptInclude'}
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                var actionObjects = { };
index 90178539555fb1ebbdf3744a26941f391ca483a5..a4f862429e3ddebfb2a62e37c0804d9f9bfe7481 100644 (file)
@@ -9,7 +9,7 @@
 {include file='header'}
 
 {if $mailID|isset}
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.ACP.Worker('mail', 'wcf\\system\\worker\\MailWorker', '', {
index 7f96565771d5ff8ed4b05117cba63cba3efbac18..6565770e2d0d5e23f99cf1b2c363d332f5cc6cc4 100644 (file)
@@ -3,7 +3,7 @@
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.user.option.category.list{/lang}</h1>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\user\\option\\category\\UserOptionCategoryAction', '.jsCategoryRow');
index e3a71f7a50182f0ccde9dee8f01b6f2b78484ba6..c3d8a9edef2aad365cd5f3e22eaa7338c4a49b18 100644 (file)
@@ -3,7 +3,7 @@
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.user.option.list{/lang}</h1>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\user\\option\\UserOptionAction', '.jsOptionRow');
index 42b0e7e8fd5414a45551bd9ad64d5c1095091355..e33e9002b32dbbe22154e2fb7b63e4ea0ba438f7 100644 (file)
@@ -3,7 +3,7 @@
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.user.rank.list{/lang}</h1>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Action.Delete('wcf\\data\\user\\rank\\UserRankAction', '.jsUserRankRow');
index 169301b3b47edbdc6905c9a9a70d93be7c79feed..5da912c9f6f3a59b764c45b9c976241f9bfe174d 100644 (file)
@@ -1,6 +1,6 @@
 {include file='header' pageTitle='wcf.acp.user.search'}
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        $(function() {
                WCF.TabMenu.init();
index 5cc9254c57c74c70e0d79d827119ea5b8d3675b8..535014b5494c528521d9568633d6b298763f48ac 100644 (file)
@@ -7,7 +7,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-       <script type="text/javascript">
+       <script>
 
 function gup( name )
 {
index 0d675f4d6927faddc1bdc8fb2309fbd24111db5c..7c478feee317c07a803f0dd42dc407bcc2035184 100644 (file)
@@ -7,7 +7,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-       <script type="text/javascript">
+       <script>
 
 function doLoadScript( url )
 {
index 26969f18f8f9fded4d534af99b781903990e3b59..09a55804e7de8688a0b5215bb00546b9c946fad8 100644 (file)
@@ -13,7 +13,7 @@
        </div>
 </form>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        window.onload = function() {
                document.forms[0].submit();
index d4c01829011a1a7a875cf3edf93aaf539eff72f3..93da3a6e3aa6f58e2964afccd8992ddf23bcc925 100644 (file)
@@ -22,7 +22,7 @@
        </div>
 </form>
 
-<script type="text/javascript">
+<script>
        //<![CDATA[
        window.onload = function() {
                document.forms[0].submit();
index c087fc37b6943b18dcde9c20a3f6a452c2092bf2..17757905e31cd8e954f0b05a01ae275226fe745d 100644 (file)
@@ -1,7 +1,7 @@
 {include file='header'}
 
-<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
-<script type="text/javascript">
+<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
+<script>
        //<![CDATA[
        if (window.jQuery) {
                $(function() {