diff --git a/docs/designers.sgml b/docs/designers.sgml index 9904e802..bb8d8383 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -2454,7 +2454,7 @@ index.tpl {/if}. {else} and {elseif} are also permitted. All PHP conditionals are recognized, such as ||, or, - &&, and, etc. + &&, and, etc. @@ -2469,12 +2469,14 @@ index.tpl + Qualifier Alternates Syntax Example Meaning + PHP Equivalent @@ -2482,79 +2484,92 @@ index.tpl == eq $a eq $b - equals (PHP: ==) + equals + == != ne, neq $a neq $b - not equals (PHP: !=) + not equals + != > gt $a gt $b - greater than (PHP: >) + greater than + > < lt $a lt $b - less than (PHP: <) + less than + < >= gte, ge $a ge $b - greater than or equal (PHP: >=) + greater than or equal + >= <= lte, le $a le $b - less than or equal (PHP: <=) + less than or equal + <= ! not not $a - negation (unary) (PHP: !) + negation (unary) + ! % mod $a mod $b - modulous (PHP: %) + modulous + % is [not] div by -   + $a is not div by 4 - divisible by (PHP: $a % $b == 0) + divisible by + $a % $b == 0 - is [not] even -   - $a is not even - [not] an even number (unary) + is [not] even + + $a is not even + [not] an even number (unary) + $a % 2 == 0 - is [not] even by -   - $a is not even by $b - [not] an even grouping + is [not] even by + + $a is not even by $b + grouping level [not] even + ($a / $b) % 2 == 0 - is [not] odd -   - $a is not odd - [not] an odd number (unary) + is [not] odd + + $a is not odd + [not] an odd number (unary) + $a % 2 != 0 - is [not] odd by -   - $a is not odd by $b - [not] an odd grouping + is [not] odd by + + $a is not odd by $b + [not] an odd grouping + ($a / $b) % 2 != 0