mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15538] Move style icon files to all/templates/macros/
PHPBB3-15538
This commit is contained in:
parent
cf429fd8d0
commit
5bb6218606
6 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue