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 %}
|
{% 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 %}
|
{% if TITLE %}<span{% if S_HIDDEN %} class="sr-only"{% endif %}>{{ lang(TITLE) }}</span>{% endif %}
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
|
|
|
@ -306,7 +306,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
'type' => 'iconify',
|
'type' => 'iconify',
|
||||||
'icon' => 'phone',
|
'icon' => 'fa:phone',
|
||||||
'title' => '',
|
'title' => '',
|
||||||
'hidden' => false,
|
'hidden' => false,
|
||||||
'classes' => '',
|
'classes' => '',
|
||||||
|
@ -319,7 +319,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
'type' => 'iconify',
|
'type' => 'iconify',
|
||||||
'icon' => 'pencil',
|
'icon' => 'mdi:pencil',
|
||||||
'title' => 'ICON_PENCIL',
|
'title' => 'ICON_PENCIL',
|
||||||
'hidden' => true,
|
'hidden' => true,
|
||||||
'classes' => 'icon-lg',
|
'classes' => 'icon-lg',
|
||||||
|
@ -330,7 +330,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||||
[
|
[
|
||||||
'ICON_PENCIL' => 'Pencil icon',
|
'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>',
|
<span class="sr-only">Pencil icon</span>',
|
||||||
],
|
],
|
||||||
/** PNG: default */
|
/** PNG: default */
|
||||||
|
|
Loading…
Add table
Reference in a new issue