1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<HTML><BODY>
<H1> test_if6 -- if enambled COMPAT_ALLOW_NAME_IN_CLOSING_TAG </H1>
we test that tmpl_else should be invisible in invisible context
<tmpl_iF VAR4> <tmpl_var naMe="VAR4"> failed 1-0
<Tmpl_If VAR2> <tmpl_var naMe="VAR2"> failed 1-1
<tmpl_else> <tmpl_var naMe="VAR2"> failed 1-2
</tmpl_if NAME="VAAA">
</tmpl_if VAR3>
<tmpl_unless VAR1> failed 2-0
<Tmpl_If VAR2> <tmpl_var naMe="VAR2"> failed 2-1
<tmpl_else> <tmpl_var naMe="VAR2"> failed 2-2
</tmpl_if>
</tmpl_unless>
<tmpl_iF VAR2>
<tmpl_else> failed 3-0
<Tmpl_If VAR2> <tmpl_var naMe="VAR2"> failed 3-1
<tmpl_else> <tmpl_var naMe="VAR2"> failed 3-2
</tmpl_if>
</tmpl_if>
<tmpl_unless VAR4>
<tmpl_else> failed 4-0
<Tmpl_If VAR2> <tmpl_var naMe="VAR2"> failed 4-1
<tmpl_else> <tmpl_var naMe="VAR2"> failed 4-2
</tmpl_if>
</tmpl_unless>
<H1> END test_if6 </H1>
</body></html>
|