[feature/bbcode-icon-name] Switch font icon tags to twig as well

PHPBB3-17326
This commit is contained in:
Daniel James 2024-06-09 17:20:58 +01:00
parent 303fb8ecc9
commit 6db2bb6e08

View file

@ -98,9 +98,9 @@
<!-- BEGIN custom_tags -->
<button type="button" class="button button-secondary bbcode-{custom_tags.BBCODE_TAG_CLEAN}" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{{ custom_tags.BBCODE_HELPLINE }}">
{% if custom_tags.BBCODE_FONT_ICON != '' %}
<i class="icon fa-{custom_tags.BBCODE_FONT_ICON} fa-fw" aria-hidden="true"></i>
<i class="icon fa-{{ custom_tags.BBCODE_FONT_ICON }} fa-fw" aria-hidden="true"></i>
{% else %}
{custom_tags.BBCODE_TAG}
{{ custom_tags.BBCODE_TAG }}
{% endif %}
</button>
<!-- END custom_tags -->