[pmwiki-users] Another question
DaveG
pmwiki at solidgone.com
Tue Mar 21 17:59:58 CST 2006
Something like this should work:
Markup('htpasswdform', '<split', '/\\(:membership (.*):\\)/ei',
"HtpasswdForm(\$pagename, $1)");
The Editor wrote:
> Here's a simple question (I think)
>
> I am using a recipe called (:membership:). I'd like to change it to
> allow me to optionally pass in a variable such as (:membership
> Group.Name:) and then use that variable in the script.
>
> The current markup is
>
> Markup('htpasswdform', '<split', '/\\(:membership:\\)/ei',
> "HtpasswdForm(\$pagename)");
>
> Also, please explain how to declare the variable so it can be used in
> one of the functions in this recipe. Thanks so much!
>
> Caveman
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list