syntax
< def name="tagname" [option="option1 [option2 ...]" ] [global] [expand]>
< /def>
synopsis
This is a simple comment that is not included in the output. This is useful
when commenting metatags, since the metatags do not appear the output either.
Example:
< set time="0">
< block name=a>
a is expanded at time < use time>.
< /block>
< block name=b expand>
b is expanded at time < use time>.
< /block>
< set time="1">
< use a>
< use b>
contents of a: < use a noexpand>
contents of b: < use b noexpand>
< block name=c expand>
c is expanded at time < use time>; < use a>
< /block>
< block name=d expand>
d is expanded at time < use time>; < use a noexpand>
< /block>
< block name=e>
e is expanded at time < use time>; < use a noexpand>
< /block>
< set time="2">
< block name=a>
a is defined for the 2nd time < use time>.
< /block>
< use c>
< use d>
< use e>
Note that these comments should not include < or >, that is you
should not use it to comment out htp code. For that purpose use something
like this:
< file execute="command-line" (output="filename" | redirect) [noerror]>
< file include="includefilename" [parameters ...]>
< file name>
< file [ name="filename" ] size[ = (byte|kbyte|mbyte|gbyte) ] [precision=n]>
< file [ name="filename" ] time[ ="format" ]>
< file [ name="filename" ] date[ ="format" ]>
< file search="searchpath">
< file template="templatefilename">
Make sure that the variable is never defined and xyz should be the
reason why you don't want to include this block
|