Changes

Jump to: navigation, search

SSlogic

43 bytes removed, 17:20, 2 June 2009
no edit summary
'''ConditionExample:''' is replaced with the logical condition that your case calls for. * The following code sample will display a Christmas tree image if and only if it is currently December:
<pre>
<!--@sslogic(month(now())=12)-->
</pre>
'''Else Logic:'''* Often, you will want to display one of two texts--one text in the case that a condition is met and another in the case that the condition is not met. This is achieved through the use of an "else" operator.* The following sample code will display one message if a user is male and another if the user is female:
<pre>
<!--@sslogic('@sex@'='M')-->
0
edits

Navigation menu