In 2.2 I had a very simple conditional like this:
Code:
Read more
Читать далее...
Code:
Код:
<xf:if is="property('xbFooterLogo')">
<a href="{{ ($xf.options.logoLink && $xf.homePageUrl) ? $xf.homePageUrl : link('index') }}">
<img src="{{ base_url(property('xbFooterLogo')) }}" alt="{$xf.options.boardTitle}" width="{{ property('footerLogoWidth') ?: '' }}" height="{{ property('footerLogoHeight') ?: '' }}" />
</a>...
Read more
Читать далее...