mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00:00
[feature/bbcode-icon-name] Update if statement syntax to twig
PHPBB3-17326
This commit is contained in:
parent
be2ea4fa80
commit
303fb8ecc9
1 changed files with 3 additions and 3 deletions
|
@ -97,11 +97,11 @@
|
|||
|
||||
<!-- 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 != '' -->
|
||||
{% if custom_tags.BBCODE_FONT_ICON != '' %}
|
||||
<i class="icon fa-{custom_tags.BBCODE_FONT_ICON} fa-fw" aria-hidden="true"></i>
|
||||
<!-- ELSE -->
|
||||
{% else %}
|
||||
{custom_tags.BBCODE_TAG}
|
||||
<!-- ENDIF -->
|
||||
{% endif %}
|
||||
</button>
|
||||
<!-- END custom_tags -->
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue