diff options
author | Matt Friedman <maf675@gmail.com> | 2011-09-25 15:12:56 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2011-09-26 11:15:22 -0700 |
commit | 56c6476233646e7c735aa4e3b98c4a6b62df5c7d (patch) | |
tree | fb428fc655e39150c57f1a23f027443b3d6c2e87 /phpBB/styles/subsilver2 | |
parent | 5e768036f773e461283d0f65841d2ff0618ec7b7 (diff) | |
download | forums-56c6476233646e7c735aa4e3b98c4a6b62df5c7d.tar forums-56c6476233646e7c735aa4e3b98c4a6b62df5c7d.tar.gz forums-56c6476233646e7c735aa4e3b98c4a6b62df5c7d.tar.bz2 forums-56c6476233646e7c735aa4e3b98c4a6b62df5c7d.tar.xz forums-56c6476233646e7c735aa4e3b98c4a6b62df5c7d.zip |
[ticket/10390] Allow option for jQuery to be hosted by a remote CDN
Add an option to the ACP so admins can choose to host jQuery
from the local version shipped with phpBB, or via a popular CDN.
PHPBB3-10390
Diffstat (limited to 'phpBB/styles/subsilver2')
-rw-r--r-- | phpBB/styles/subsilver2/template/overall_footer.html | 3 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/simple_footer.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/styles/subsilver2/template/overall_footer.html b/phpBB/styles/subsilver2/template/overall_footer.html index 3cdd071211..9b0b95372e 100644 --- a/phpBB/styles/subsilver2/template/overall_footer.html +++ b/phpBB/styles/subsilver2/template/overall_footer.html @@ -8,7 +8,8 @@ <!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span> </div> -<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/jquery.js"></script> +<script type="text/javascript" src="{T_JQUERY_LINK}"></script> +<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> </body> </html> diff --git a/phpBB/styles/subsilver2/template/simple_footer.html b/phpBB/styles/subsilver2/template/simple_footer.html index f03d1094f2..b51be3ac4c 100644 --- a/phpBB/styles/subsilver2/template/simple_footer.html +++ b/phpBB/styles/subsilver2/template/simple_footer.html @@ -5,7 +5,8 @@ <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Group</span> </div> -<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/jquery.js"></script> +<script type="text/javascript" src="{T_JQUERY_LINK}"></script> +<!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF --> </body> </html> |