mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-31 05:53:14 +02:00
[ticket/15538] Update 404 source path to all/imgs
PHPBB3-15538
This commit is contained in:
parent
5a1be4611c
commit
ac2b95c1fa
@ -142,7 +142,7 @@ class icon extends \Twig\Extension\AbstractExtension
|
||||
$base_path = $board_url ? generate_board_url() . '/' : $environment->get_web_root_path();
|
||||
}
|
||||
|
||||
$source = "{$base_path}styles/chameleon/theme/icons/png/404.png";
|
||||
$source = "{$base_path}styles/all/imgs/icons/png/404.png";
|
||||
$type = 'png';
|
||||
$icon = '404';
|
||||
}
|
||||
|
@ -386,7 +386,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||
[
|
||||
'ICON_USER' => 'User icon',
|
||||
],
|
||||
'<img class="o-icon o-icon-png png-404 my-class" src="phpBB/styles/chameleon/theme/icons/png/404.png" alt="User icon" />',
|
||||
'<img class="o-icon o-icon-png png-404 my-class" src="phpBB/styles/all/imgs/icons/png/404.png" alt="User icon" />',
|
||||
],
|
||||
/** SVG: default */
|
||||
[
|
||||
@ -439,7 +439,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||
'attributes' => [],
|
||||
],
|
||||
[],
|
||||
'<img class="o-icon o-icon-png png-404" src="phpBB/styles/chameleon/theme/icons/png/404.png" alt="Just a title" />',
|
||||
'<img class="o-icon o-icon-png png-404" src="phpBB/styles/all/imgs/icons/png/404.png" alt="Just a title" />',
|
||||
],
|
||||
/** SVG: Sanitization */
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user