Removed type="text/javascript" for script elements
authorAlexander Ebert <ebert@woltlab.com>
Sun, 7 Jul 2013 22:19:43 +0000 (00:19 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 7 Jul 2013 22:19:43 +0000 (00:19 +0200)
templates/__userPanelConversationDropdown.tpl
templates/conversation.tpl
templates/conversationAdd.tpl
templates/conversationList.tpl
templates/conversationMessageAdd.tpl
templates/conversationMessageEdit.tpl
templates/conversationMessageInlineEditor.tpl
templates/conversationQuickReply.tpl

index 47dd9c335d86e78f6571b4b5b0d877bc5c8a00a6..9ed371b016f8301dc2b52ded17830814cee44227 100644 (file)
@@ -1,8 +1,8 @@
 {if MODULE_CONVERSATION && $__wcf->user->userID && $__wcf->session->getPermission('user.conversation.canUseConversation')}     
        <li id="unreadConversations" data-count="{#$__wcf->getConversationHandler()->getUnreadConversationCount()}">
                <a href="{link controller='ConversationList'}{/link}"><span class="icon icon16 icon-comments"></span> <span>{lang}wcf.conversation.conversations{/lang}</span> {if $__wcf->getConversationHandler()->getUnreadConversationCount()}<span class="badge badgeInverse">{#$__wcf->getConversationHandler()->getUnreadConversationCount()}</span>{/if}</a>
-               <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-               <script type="text/javascript">
+               <script src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+               <script>
                        //<![CDATA[
                        $(function() {
                                WCF.Language.addObject({
index fd4abf442738b07b5a358e562f8f894cdf52c69d..5dc52af944d527671316d60a93de7033a69ba798 100644 (file)
@@ -6,9 +6,9 @@
        {include file='headInclude'}
        {include file='__signatureMaxImageDimensions'}
        
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{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.Conversation{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 d6663e58e623ca1ac33e010c635a57c028fde247..40707480c611bc69f65deab3a914f1b5dbb4707a 100644 (file)
@@ -5,7 +5,7 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Search.User('#participants', null, false, [ ], true);
index b2fb34dbbb5cbf9f88b6b30f24bad81abbe16318..16699c3d72f0ea772023f5e747aad82c1c634206 100644 (file)
@@ -6,8 +6,8 @@
        {include file='headInclude'}
        
        <link rel="alternate" type="application/rss+xml" title="{lang}wcf.global.button.rss{/lang}" href="{link controller='ConversationFeed' appendSession=false}at={@$__wcf->getUser()->userID}-{@$__wcf->getUser()->accessToken}{/link}" />
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Language.addObject({
index d9052deb7b87c6454b323234f4de8b962a9f5202..f5c72722108aabcdb82915ad8f0fec131ef85309 100644 (file)
@@ -5,8 +5,8 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
-       <script type="text/javascript">
+       <script src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+       <script>
                //<![CDATA[
                $(function() {
                        {include file='__messageQuoteManager' wysiwygSelector='text' supportPaste=true}
index 767efbc20254a16543374550bae35712804596d9..71b8d87dd99054b55fe129c1247eb0f8f2c87fdb 100644 (file)
@@ -5,7 +5,7 @@
        
        {include file='headInclude'}
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        WCF.Message.Submit.registerButton('text', $('#messageContainer > .formSubmit > input[type=submit]'));
index 54ba01aaac535db00e7ea8ad6fdb319a178a0d3a..84430c603bd7be58e7618c5e9715f69d77bf3042 100644 (file)
@@ -7,7 +7,7 @@
                <button data-type="cancel">{lang}wcf.global.button.cancel{/lang}</button>
        </div>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Message.UserMention('messageEditor{@$message->messageID}');
index b4c533f2b3d8d6a9532369b1b26127ed59b57cf2..f094d653c048c72c37dfad3bd9c36888853ff50c 100644 (file)
@@ -22,7 +22,7 @@
                </div>
        </article>
        
-       <script type="text/javascript">
+       <script>
                //<![CDATA[
                $(function() {
                        new WCF.Message.UserMention('text');