The condition between the two quotes is parsed as a boolean expression.
Quote:
Originally Posted by PHP Manual
When converting to boolean, the following values are considered FALSE: Every other value is considered TRUE (including any resource).
|
Usually in templates, you'd check the value of options or user settings. Unless you really understand the above, it's best to use comparisons to avoid mix ups.
Code:
<if condition="$variable == 'Yes'">
<if condition="$variable > 10">
<if condition="$vbulletin->options['something_enabled']">
etc.