Using this statement, you can set variable definitions that can be used by the Phorum template language.
{VAR <TEMPLATE VARIABLE> <VALUE>}
<TEMPLATE VARIABLE>
can be an
existing or a new variable name
(see Section 1.4.3.4, “Template variables”).
The <VALUE>
can be any of
the data types that are supported by the template
language (see Section 1.4.3, “Data types”).
Example 1.16. VAR statement usage
{VAR MY_VAR "This is my first variable!"} {VAR MY_VAR OTHER_VAR} {VAR MY_VAR 1234} {VAR IS_COOL true} {IF IS_COOL} Yes, this is cool {/IF}