[pmwiki-users] password question
Patrick R. Michaud
pmichaud at pobox.com
Tue Mar 28 10:06:21 CST 2006
On Mon, Mar 27, 2006 at 11:17:26PM -0700, H. Fox wrote:
> In config.php:
>
> $FmtPV['$action'] = $action;
>
> In markup:
>
> (:if equal {$action} edit:)...(:if:)
>
> (This works, but I don't know if it's the best solution.)
I'm likely to add {$Action} as a page variable to the core. This will
make it easier to do action-based items in skins and markup.
For those who want to add it now, it'll be defined as:
$FmtPV['$Action'] = "'$action'";
Pm
More information about the pmwiki-users
mailing list