]> WPIA git - gigi.git/blobdiff - doc/TemplateSyntax.txt
Merge "upd: remove 'browser install'"
[gigi.git] / doc / TemplateSyntax.txt
index ad8e09ae170f0e9f82326af1f60b06199f37f890..b6979469003b55510af92317d1e1d8238bda1c76 100644 (file)
@@ -13,6 +13,8 @@ Syntax:
        Text may not contain "?>".
        If the text contains "$" or "!'" it is interpreted as "advanced replacement".
           - ${variablename} is interpreted as "output this variable at this point"
+          - $!{variablename} is interpreted as "output this variable unescaped at this point"
+          - !(/link) is interpreted as "output an opening <a>-tag to '/link' at this point" (which must be closed, e.g. using !'</a>', see below)
           - !'literal content' output "literal content" here and do not translate or escape. (literal content may not contain any of: {}'$   )
        Then the whole text than also may not contain "{" and "}".
 
@@ -26,4 +28,5 @@ Syntax:
   Special variables that $variable defines can be used in the inner text.
  
   
-  
\ No newline at end of file
+Adding a "\" before a newline will cause both the backslash and the newline get removed. This allows non-visible line-breaks in templates.
+Note: Mail templates consist of a template for subject and a template for the body. Prolonging the subject-line with this feature is not possible.