diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 3f0aa4009b..68f8ee634a 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -53,12 +53,19 @@ $module_id = $request->variable('i', ''); $mode = $request->variable('mode', ''); // Set custom style for admin area -$template->set_custom_style(array( - array( - 'name' => 'adm', - 'ext_path' => 'adm/style/', - ), -), $phpbb_admin_path . 'style'); +/** @var \phpbb\template\base $template */ +$template->set_custom_style( + [ + [ + 'name' => 'adm', + 'ext_path' => 'adm/style/', + ] + ], + [ + $phpbb_admin_path . 'style', + $phpbb_root_path . 'styles/all/template/', + ], +); $template->assign_var('T_ASSETS_PATH', $phpbb_root_path . 'assets'); $template->assign_var('T_TEMPLATE_PATH', $phpbb_admin_path . 'style'); diff --git a/phpBB/adm/style/acp_attachments.html b/phpBB/adm/style/acp_attachments.html index 6448c51c80..38be1baac0 100644 --- a/phpBB/adm/style/acp_attachments.html +++ b/phpBB/adm/style/acp_attachments.html @@ -37,7 +37,7 @@ - {% import "form_macros.twig" as form_macros %} + {% import 'macros/form_macros.twig' as form_macros %}