From 484312bd2982a41bae043b81f4e5e6b382491752 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 28 May 2013 15:36:46 +0200 Subject: [PATCH] Appending a hash of WCF's version to all JS files --- .../template/__commentJavaScript.tpl | 4 ++-- .../template/__messageFormPoll.tpl | 2 +- com.woltlab.wcf/template/aclPermissions.tpl | 2 +- com.woltlab.wcf/template/headInclude.tpl | 20 +++++++++---------- com.woltlab.wcf/template/imageViewer.tpl | 2 +- com.woltlab.wcf/template/login.tpl | 2 +- com.woltlab.wcf/template/lostPassword.tpl | 2 +- .../template/messageFormAttachments.tpl | 2 +- .../template/moderationActivation.tpl | 2 +- com.woltlab.wcf/template/moderationReport.tpl | 2 +- com.woltlab.wcf/template/poll.tpl | 2 +- com.woltlab.wcf/template/register.tpl | 2 +- com.woltlab.wcf/template/searchArea.tpl | 2 +- com.woltlab.wcf/template/tagInput.tpl | 2 +- com.woltlab.wcf/template/user.tpl | 2 +- com.woltlab.wcf/template/userPanel.tpl | 2 +- .../install/files/acp/templates/labelAdd.tpl | 2 +- .../files/acp/templates/labelGroupAdd.tpl | 2 +- .../install/files/acp/templates/tagAdd.tpl | 2 +- .../install/files/acp/templates/userAdd.tpl | 4 ++-- .../install/files/acp/templates/userList.tpl | 2 +- .../install/files/lib/system/WCF.class.php | 5 ++++- 22 files changed, 36 insertions(+), 33 deletions(-) diff --git a/com.woltlab.wcf/template/__commentJavaScript.tpl b/com.woltlab.wcf/template/__commentJavaScript.tpl index a65ddf6489..275474aa32 100644 --- a/com.woltlab.wcf/template/__commentJavaScript.tpl +++ b/com.woltlab.wcf/template/__commentJavaScript.tpl @@ -1,5 +1,5 @@ - - + + + + {else} - - + + {/if} {if JQUERY_SOURCE != 'local'} {/if} - - - + + + - - - + + + {event name='javascriptInclude'} diff --git a/com.woltlab.wcf/template/imageViewer.tpl b/com.woltlab.wcf/template/imageViewer.tpl index 602943bc80..b59ffd6324 100644 --- a/com.woltlab.wcf/template/imageViewer.tpl +++ b/com.woltlab.wcf/template/imageViewer.tpl @@ -1,6 +1,6 @@ {if !$__imageViewerLoaded|isset} - + + + + + + + + + + + {event name='javascriptInclude'} + + + + - + + +