]> WPIA git - gigi.git/commitdiff
UPD: Fixed ambiguity in the template syntax documentation
authorJanis Streib <janis@dogcraft.de>
Wed, 31 Dec 2014 01:21:21 +0000 (02:21 +0100)
committerJanis Streib <janis@dogcraft.de>
Wed, 31 Dec 2014 01:41:06 +0000 (02:41 +0100)
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"