aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/index.php
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/adm/index.php
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/adm/index.php')
-rw-r--r--phpBB/adm/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index 726cb1644c..2444a1b597 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -53,6 +53,7 @@ $mode = request_var('mode', '');
// Set custom template for admin area
$template->set_custom_template($phpbb_admin_path . 'style', 'admin');
+$template->assign_var('T_ASSETS_PATH', $phpbb_root_path . 'assets');
$template->assign_var('T_TEMPLATE_PATH', $phpbb_admin_path . 'style');
// the acp template is never stored in the database