]> WPIA git - gigi.git/blobdiff - doc/TemplateSyntax.txt
[DB-Struct] implement SPKAC signing.
[gigi.git] / doc / TemplateSyntax.txt
index ab4cc37d37060a2e0b229629bf70df791df0a1c8..40dff59cf7ac770ec26caaeef28b6fcbe0e81735 100644 (file)
@@ -7,10 +7,10 @@ A template is constructed from a charstream. Everything that is not in "<?" to "
 - <?=_This is free Text.?> will translate "This is free Text." into the users language, (escaped) and output it.
    
 - <?=s,$var1,$var2,$var3,...,$varn,This %s is, %s free.?>
-  Translate the last string. Output $var1,...,$varn sprintf-ed into the translated string.
+  Translate the last string. Output $var1,...,$varn replaced into the %s positions in the translated string.
   
 - <? if($variable) { ?>
-  Output/execute the text until "<? } ?>" only if $variable is boolean and true.
+  Output/execute the text until "<? } ?>" only if $variable not null or Boolean.FALSE.
   
 - <? foreach($variable) { ?>
   If $variable is an "IterableDataset"