[ticket/15538] Move style icon files to all/templates/macros/

PHPBB3-15538
This commit is contained in:
mrgoldy 2019-11-12 11:02:28 +01:00
parent cf429fd8d0
commit 5bb6218606
6 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ class icon extends \Twig\Extension\AbstractExtension
try try
{ {
return $environment->render("icons/{$type}.html", [ return $environment->render("macros/icons/{$type}.html", [
'ATTRIBUTES' => (string) $this->implode_attributes($attributes), 'ATTRIBUTES' => (string) $this->implode_attributes($attributes),
'CLASSES' => (string) $classes, 'CLASSES' => (string) $classes,
'ICON' => (string) $icon, 'ICON' => (string) $icon,

View file

@ -109,7 +109,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
$this->template->set_custom_style('tests', [ $this->template->set_custom_style('tests', [
$this->template_path, $this->template_path,
$phpbb_root_path . 'styles/prosilver/template', $phpbb_root_path . 'styles/all/templates',
]); ]);
} }