Non-functional <xf:if>

XF's template syntax supports <xf:if contentcheck="true"> and <xf:if contentcheck="true" is="$test1">.

However combining them doesn't work or give an error.

The following:
XML:

Код:
<xf:if contentcheck="true" is="$test1">
    <xf:contentcheck>{$test2}</xf:contentcheck>
</xf:if>
Compiles to:
PHP:

Код:
return array(
'code' => function($__templater, array $__vars, $__extensions = null)
{
    $__finalCompiled = '';
    $__compilerTemp1 = '';
    $__compilerTemp1 .=...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ