Removed unnecessary JavaScript file references
authorAlexander Ebert <ebert@woltlab.com>
Thu, 5 Jun 2014 09:55:11 +0000 (11:55 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 5 Jun 2014 09:55:11 +0000 (11:55 +0200)
16 files changed:
com.woltlab.wcf/templates/__commentJavaScript.tpl
com.woltlab.wcf/templates/__messageFormPoll.tpl
com.woltlab.wcf/templates/aclPermissions.tpl
com.woltlab.wcf/templates/imageViewer.tpl
com.woltlab.wcf/templates/login.tpl
com.woltlab.wcf/templates/lostPassword.tpl
com.woltlab.wcf/templates/messageFormAttachments.tpl
com.woltlab.wcf/templates/moderationActivation.tpl
com.woltlab.wcf/templates/moderationReport.tpl
com.woltlab.wcf/templates/poll.tpl
com.woltlab.wcf/templates/register.tpl
com.woltlab.wcf/templates/searchArea.tpl
com.woltlab.wcf/templates/tagInput.tpl
com.woltlab.wcf/templates/user.tpl
com.woltlab.wcf/templates/userPanel.tpl
com.woltlab.wcf/templates/wysiwyg.tpl

index bdc6dc9dd1cac88716415b95898547823d16bb96..2d2d936817563bd1dc240dfcb25ec0d1a6305bd5 100644 (file)
@@ -1,5 +1,3 @@
-<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>
 {if !$__wcf->user->userID}
        <script data-relocate="true" src="http{if $__wcf->secureConnection()}s{/if}://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
 {/if}
index d3aca6a9f07e120a020febb928bdcc81703e67a8..608aae0664fae8d33d2a121f0879da01aa95652a 100644 (file)
@@ -1,5 +1,4 @@
 {if $__showPoll|isset && $__showPoll}
-       <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() {
index e42010ae37f874356b2ec4be5fe747c5277d74bb..96e4ca165108348f7141fc124830f856d83191d4 100644 (file)
@@ -1,4 +1,3 @@
-<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() {
index 3ee12343b1cfe14080b87c765fd174ffc01aff76..a1b7c7d889b65c8b9923cdd670eb4db4312fa207 100644 (file)
@@ -1,6 +1,5 @@
 {if !$__imageViewerLoaded|isset}
        <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/slimbox2{if !ENABLE_DEBUG_MODE}.min{/if}.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;
index efff7d776c416feda92300b150e0330c1e5b4252..7fd7c171c69dd221e1050b7a99ab7e7a7bff2c2c 100644 (file)
@@ -5,7 +5,6 @@
        
        {include file='headInclude'}
        
-       <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() {
index 319a90b45804f6b002d2abb789874ae6ef1245ac..2a37999878045294c6dcec7dda0b1e705df8474d 100644 (file)
@@ -4,7 +4,6 @@
        <title>{lang}wcf.user.lostPassword{/lang} - {PAGE_TITLE|language}</title>
        {include file='headInclude'}
        
-       <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() {
index 70586ef8cea7f7d0ec0ce48a044606934876bbe5..7e95eea05756fe23e802d0e2d184f4397cbd38cd 100644 (file)
@@ -34,7 +34,6 @@
        {event name='fields'}
 </div>
 
-<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() {
index 0f5cd3a4881d99c6e2cf8ae8c7c5467466d60161..703a27725eed9cfd65582f212bb867cb67ef3bc8 100644 (file)
@@ -5,7 +5,6 @@
        
        {include file='headInclude'}
        
-       <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() {
index 96c34227e7a2938117cbcf21e635c85319bd50da..f12eb39212649fc9a9d665b12f5ecf3f4e99ef39 100644 (file)
@@ -5,7 +5,6 @@
        
        {include file='headInclude'}
        
-       <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() {
index ef272e2c2315ecca35eea517762e5ceed473ebcc..2bb2301247d1270fe929c19f7c1bee3d9dae0b09 100644 (file)
@@ -1,6 +1,5 @@
 {if ($__wcf->getUser()->userID || $poll->canSeeResult() || $poll->canViewParticipants()) && !$__pollLoadedJavaScript|isset}
        {assign var=__pollLoadedJavaScript value=true}
-       <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() {
index f464fedfb1af9a71e4a72ed878033e44f66a0c8d..f806ca097f368406c41166d9060a22ce9c6bd300 100644 (file)
@@ -4,7 +4,6 @@
        <title>{lang}wcf.user.register{/lang} - {PAGE_TITLE|language}</title>
        {include file='headInclude'}
        
-       <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() {
index 5a8a0eab22a5ee5e0cd635956ec7b1a2c43da3a0..0477b56a3938feb642ec46b9980a247d4d32af48 100644 (file)
@@ -27,7 +27,6 @@
 </aside>
 
 {if !OFFLINE || $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}
-       {*<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() {
index a598f93ddbc5436c583d43067e5ea1540b7f535a..dd779043c3530e96a4013f1957a57c575065b389 100644 (file)
@@ -6,7 +6,6 @@
                <small>{lang}wcf.tagging.tags.description{/lang}</small>
        </dd>
 </dl>
-<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() {
index 614c0f8b5bb17349d8a95617cb178ac894147696..c9eb6a65920a00e68dd3cca9643c50dcc27f1b04 100644 (file)
@@ -7,8 +7,6 @@
        
        <link rel="canonical" href="{link controller='User' object=$user}{/link}" />
 
-       <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Moderation{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>
        {event name='javascriptInclude'}
        <script data-relocate="true">
                //<![CDATA[
index de7a9d4dc5b129d74937d4f487c69edce72a3365..d359dc04ecf27526b710e910497df366e439756f 100644 (file)
                                {if $__wcf->getModerationQueueManager()->getOutstandingModerationCount()}<span class="badge badgeInverse">{#$__wcf->getModerationQueueManager()->getOutstandingModerationCount()}</span>{/if}
                        </a>
                        {if !OFFLINE || $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}
-                               <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() {
index 66b8b5b018325284b5664206a0d8bbce35f803eb..bb2c0f03b5920aa99b68ba3fed5ba669b34a0a86 100644 (file)
@@ -75,7 +75,6 @@ $(function() {
        });
        
        head.load([
-               '{@$__wcf->getPath()}js/WCF.Attachment{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}',
                '{@$__wcf->getPath()}js/3rdParty/redactor/redactor{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}',
                {if !ENABLE_DEBUG_MODE}
                        '{@$__wcf->getPath()}js/3rdParty/redactor/plugins/wcombined.min.js?v={@$__wcfVersion}',