diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-07-11 09:55:18 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-07-11 10:00:30 +0200 |
commit | c945fc9355fca866bfb095a2e79c51408a709387 (patch) | |
tree | 52e88143885e0ce0fe04535b710c67dceb4069b6 /phpBB/styles/subsilver2 | |
parent | 09e0460e5b53f83f4c06703c8bd8f1cb0f22eb48 (diff) | |
download | forums-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/subsilver2')
-rw-r--r-- | phpBB/styles/subsilver2/template/overall_header.html | 1 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/simple_header.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html index a27c13624b..4ceebf848c 100644 --- a/phpBB/styles/subsilver2/template/overall_header.html +++ b/phpBB/styles/subsilver2/template/overall_header.html @@ -25,6 +25,7 @@ <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> +<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/jquery.js"></script> <script type="text/javascript"> // <![CDATA[ <!-- IF S_USER_PM_POPUP and S_NEW_PM --> diff --git a/phpBB/styles/subsilver2/template/simple_header.html b/phpBB/styles/subsilver2/template/simple_header.html index 9fcca4eb30..d2324e9048 100644 --- a/phpBB/styles/subsilver2/template/simple_header.html +++ b/phpBB/styles/subsilver2/template/simple_header.html @@ -14,6 +14,7 @@ <title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> +<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/jquery.js"></script> </head> <body class="{S_CONTENT_DIRECTION}"> |