Software: SSTP: Directives:
SSTP-IF
Usage:
SSTP-IF condition [boolean_operator condition]
SSTP-IF starts a conditional statement. HTML or tags can be included between it. To see what conditional and boolean operators are supported, go to the conditions section.
The required condition argument is the condition that will be evaluated. The optional boolean_operator allows chaining another if, and condition is the condition to be combined with that boolean operator.
SSTP-IF should always be followed by an SSTP-ELSEIF, SSTP-ELSE, or SSTP-ENDIF. Nesting is not supported in the current release.
Example:
The code:
<!--SSTP-IF _hello != ""-->
Hello World
<!--SSTP-ENDIF-->
Would display:
Hello World
only if the variable _hello was set.