mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15538] Remove fa: from iconify function
PHPBB3-15538
This commit is contained in:
parent
fd95dfe5b3
commit
cf429fd8d0
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{% spaceless %}
|
||||
<i class="iconify o-icon{{ CLASSES ? ' ' ~ CLASSES }}"{% if S_HIDDEN %}{% if TITLE %} title="{{ lang(TITLE) }}"{% endif %} aria-hidden="true"{% endif %} data-icon="fa:{{ ICON }}" data-inline="true"{{ ATTRIBUTES }}></i>
|
||||
<i class="iconify o-icon{{ CLASSES ? ' ' ~ CLASSES }}"{% if S_HIDDEN %}{% if TITLE %} title="{{ lang(TITLE) }}"{% endif %} aria-hidden="true"{% endif %} data-icon="{{ ICON }}" data-inline="true"{{ ATTRIBUTES }}></i>
|
||||
{% if TITLE %}<span{% if S_HIDDEN %} class="sr-only"{% endif %}>{{ lang(TITLE) }}</span>{% endif %}
|
||||
{% endspaceless %}
|
||||
|
|
|
@ -306,7 +306,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
[
|
||||
[
|
||||
'type' => 'iconify',
|
||||
'icon' => 'phone',
|
||||
'icon' => 'fa:phone',
|
||||
'title' => '',
|
||||
'hidden' => false,
|
||||
'classes' => '',
|
||||
|
@ -319,7 +319,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
[
|
||||
[
|
||||
'type' => 'iconify',
|
||||
'icon' => 'pencil',
|
||||
'icon' => 'mdi:pencil',
|
||||
'title' => 'ICON_PENCIL',
|
||||
'hidden' => true,
|
||||
'classes' => 'icon-lg',
|
||||
|
@ -330,7 +330,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
[
|
||||
'ICON_PENCIL' => 'Pencil icon',
|
||||
],
|
||||
'<i class="iconify o-icon icon-lg" title="Pencil icon" aria-hidden="true" data-icon="fa:phone" data-inline="true" data-swap="Swap text"></i>
|
||||
'<i class="iconify o-icon icon-lg" title="Pencil icon" aria-hidden="true" data-icon="mdi:pencil" data-inline="true" data-swap="Swap text"></i>
|
||||
<span class="sr-only">Pencil icon</span>',
|
||||
],
|
||||
/** PNG: default */
|
||||
|
|
Loading…
Add table
Reference in a new issue