aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-07-11 09:55:18 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-07-11 10:00:30 +0200
commitc945fc9355fca866bfb095a2e79c51408a709387 (patch)
tree52e88143885e0ce0fe04535b710c67dceb4069b6 /phpBB/styles/prosilver/template
parent09e0460e5b53f83f4c06703c8bd8f1cb0f22eb48 (diff)
downloadforums-c945fc9355fca866bfb095a2e79c51408a709387.tar
forums-c945fc9355fca866bfb095a2e79c51408a709387.tar.gz
forums-c945fc9355fca866bfb095a2e79c51408a709387.tar.bz2
forums-c945fc9355fca866bfb095a2e79c51408a709387.tar.xz
forums-c945fc9355fca866bfb095a2e79c51408a709387.zip
[ticket/10155] Add jQuery, introduce global assets path
Add the jQuery JavaScript library to all pages, giving modifications instant access and allowing for any future core JavaScript to take advantage of it. Also introduce a global /assets directory for assets that are shared between styles. PHPBB3-10155
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/overall_header.html1
-rw-r--r--phpBB/styles/prosilver/template/simple_header.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index 4d6fbf4dae..e80c8dd55c 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -34,6 +34,7 @@
about phpBB please visit http://www.phpbb.com
-->
+<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/jquery.js"></script>
<script type="text/javascript">
// <![CDATA[
var jump_page = '{LA_JUMP_PAGE}:';
diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html
index f983a8ef8d..f7851a2c39 100644
--- a/phpBB/styles/prosilver/template/simple_header.html
+++ b/phpBB/styles/prosilver/template/simple_header.html
@@ -13,6 +13,7 @@
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
+<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/jquery.js"></script>
<script type="text/javascript">
// <![CDATA[