[pmwiki-users] conditional (:if enabled ...:)
Hans
design at flutesong.net
Sat Apr 16 08:36:33 CDT 2005
Saturday, April 16, 2005, 2:20:36 PM, Patrick wrote:
> $Conditions['enabled'] = "\$GLOBALS[\$condparm]>''";
> since (in the standard programming sense) any non-zero value is
> considered "enabled", not just 1.
good, this works, and is not just restricted to "1".
> Was this one of those conditions that we were thinking of putting
> directly into the core...?
yes, I hoped it could go into the core, since it may prove to be
generally useful.
~Hans
More information about the pmwiki-users
mailing list