[pmwiki-users] (:if enabled:), (:if true:)

Patrick R. Michaud pmichaud at pobox.com
Thu Dec 29 11:05:46 CST 2005


In 2.1.beta15 I eliminated the (:if enabled [var]:) markup in favor
of (:if true [var]:).  I've since decided that I like the earlier
form better, so here's the way things will be starting in 2.1.beta16
and through the 2.1 series:

    (:if enabled [var]:)    tests the PHP global variable "var"

    (:if true:)             always true 

    (:if false:)            always false


In 2.1.beta16 there is no longer an (:if true [var]:) or (:if false [var]:)
conditional -- I'm reserving those to be potentially used for something
else in the future.

With extreme apologies to all who are affected by this switch + switchback.

Pm




More information about the pmwiki-users mailing list