mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 04:18:55 +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 -->
|
<!-- 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 }}">
|
<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>
|
<i class="icon fa-{custom_tags.BBCODE_FONT_ICON} fa-fw" aria-hidden="true"></i>
|
||||||
<!-- ELSE -->
|
{% else %}
|
||||||
{custom_tags.BBCODE_TAG}
|
{custom_tags.BBCODE_TAG}
|
||||||
<!-- ENDIF -->
|
{% endif %}
|
||||||
</button>
|
</button>
|
||||||
<!-- END custom_tags -->
|
<!-- END custom_tags -->
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue