From 910b9b59b39ffab0614a310cfa9ddcf42723fe89 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Tue, 13 May 2014 23:25:44 +0200 Subject: [ticket/12509] Update acp custom_style setter PHPBB3-12509 --- phpBB/adm/index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'phpBB/adm/index.php') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index c1e8edbd03..973ce8fe5d 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -50,7 +50,11 @@ $module_id = request_var('i', ''); $mode = request_var('mode', ''); // Set custom style for admin area -$template->set_custom_style('adm', $phpbb_admin_path . 'style'); +$template->set_custom_style(array( + 'name' => 'adm', + 'ex_path' => 'adm/', +), $phpbb_admin_path . 'style'); + $template->assign_var('T_ASSETS_PATH', $phpbb_root_path . 'assets'); $template->assign_var('T_TEMPLATE_PATH', $phpbb_admin_path . 'style'); -- cgit v1.2.1 From 1e427fa031eea8dd6a1e04f1407f996d1d948203 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Tue, 13 May 2014 23:39:42 +0200 Subject: [ticket/12509] Fix the call to set_custom_file in adm/index and messenger PHPBB3-12509 --- phpBB/adm/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'phpBB/adm/index.php') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 973ce8fe5d..31965cec28 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -51,8 +51,10 @@ $mode = request_var('mode', ''); // Set custom style for admin area $template->set_custom_style(array( - 'name' => 'adm', - 'ex_path' => 'adm/', + array( + 'name' => 'adm', + 'ex_path' => 'adm/', + ) ), $phpbb_admin_path . 'style'); $template->assign_var('T_ASSETS_PATH', $phpbb_root_path . 'assets'); -- cgit v1.2.1 From 57d08dc77b61157ee53272ec0ba0154d7a416f0c Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 14 May 2014 00:27:04 +0200 Subject: [ticket/12509] Fix typo in adm/index.php PHPBB3-12509 --- phpBB/adm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/adm/index.php') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 31965cec28..f83a491e97 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -53,7 +53,7 @@ $mode = request_var('mode', ''); $template->set_custom_style(array( array( 'name' => 'adm', - 'ex_path' => 'adm/', + 'ext_path' => 'adm/', ) ), $phpbb_admin_path . 'style'); -- cgit v1.2.1 From c8080d6464a406deaa4b5b2d375eea119f049dff Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 14 May 2014 01:11:43 +0200 Subject: [ticket/12509] Fix path in adm/index.php PHPBB3-12509 --- phpBB/adm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/adm/index.php') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index f83a491e97..19482b6d6a 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -53,7 +53,7 @@ $mode = request_var('mode', ''); $template->set_custom_style(array( array( 'name' => 'adm', - 'ext_path' => 'adm/', + 'ext_path' => 'adm/style/', ) ), $phpbb_admin_path . 'style'); -- cgit v1.2.1 From 9a846e447ba98b175c510d9fbe7741648296a1ba Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 26 May 2014 23:44:30 +0200 Subject: [ticket/12509] Add missing ',' in arrays PHPBB3-12509 --- phpBB/adm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/adm/index.php') diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 19482b6d6a..b87b43945c 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -54,7 +54,7 @@ $template->set_custom_style(array( array( 'name' => 'adm', 'ext_path' => 'adm/style/', - ) + ), ), $phpbb_admin_path . 'style'); $template->assign_var('T_ASSETS_PATH', $phpbb_root_path . 'assets'); -- cgit v1.2.1