]> WPIA git - gigi.git/blobdiff - doc/TemplateSyntax.txt
UPD: Fixed ambiguity in the template syntax documentation
[gigi.git] / doc / TemplateSyntax.txt
index 2ed1e546074493495a2012a4fced4118ea3d2cde..c399d7eb285968735c439d45a4ac23bd59fce755 100644 (file)
@@ -15,7 +15,7 @@ A template is constructed from a charstream. Everything that is not in "<?" to "
 - <?=s,!"some data",My %s text?> will insert "some data" into the translated text literally (not HTML-escaped)
   
 - <? if($variable) { ?>
-  Output/execute the text until "<? } ?>" only if $variable not null or Boolean.FALSE.
+  Output/execute the text until "<? } ?>" only if $variable is Boolean.TRUE (<=> !Boolean.FALSE) or not null. 
   
 - <? foreach($variable) { ?>
   If $variable is an "IterableDataset"