Index: openacs-4/packages/acs-templating/www/doc/tagref/if.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/if.adp,v diff -u -r1.5.2.2 -r1.5.2.3 --- openacs-4/packages/acs-templating/www/doc/tagref/if.adp 6 Jun 2023 09:27:56 -0000 1.5.2.2 +++ openacs-4/packages/acs-templating/www/doc/tagref/if.adp 13 Jul 2023 12:48:33 -0000 1.5.2.3 @@ -9,11 +9,13 @@ : If

Summary

The if tag is used to output a template section only -when certain conditions are met. It has the form <if expression>.

- +when certain conditions are met. It has the form <if +expression>.

Expression Syntax

-The expressions used in the <if> tag have the following form +The expressions used in the <if> + tag have the +following form
x0 [not] opx1x2 ...
@@ -81,7 +83,8 @@

Any of these operators can be prefixed with not to invert the outcome.

Usage Examples

-
<if \@x\@ eq 5>True</if>
+
+<if \@x\@ eq 5>True</if>
 <if \@x\@ eq "Greta">True</if>
 
 <if \@x\@ ne 5>True</if>
@@ -109,7 +112,8 @@
 <if \@s\@ not nil>True</if>
 
 <if \@z\@ in "Greta" "Fred" "Sam">True</if>
-<if \@z\@ not in "Greta" "Fred" "Sam">True</if>
+<if \@z\@ not in "Greta" "Fred" "Sam">True</if> +

Notes