[pmwiki-users] AuthUser (was UserAuth)

H. Fox haganfox at users.sourceforge.net
Thu Mar 2 18:14:05 CST 2006


On 3/2/06, Marco Ferretti <marco.ferretti at gmail.com> wrote:
> On Thursday 02 March 2006 22:22, Susan wrote:
> > (:if !authid:)
> > [[{$FullName}?action=login|Login]]\\
> > (:if authid:)
> > !User: {$Author}
> > [[{$FullName}?action=logout|Logout]]\\
> > (:if auth edit:)
> > [[{$FullName}?action=edit|Edit]]\\
> > (:if auth admin:)
> > [[{$FullName}?action=attr|Page Password]]\\
> > [[Site.Admin|Site Admin]]\\
> > (:if:)
>
> Now I am at a latter stage : can somebody point me @ some docs in how to
> activate the attr buttons on any new/edit wiki page ? The goal I wish to
> reach is to enable users to protect their pages without having to
> type ?action=attr after they created a page.

Change

(:if auth edit:)
[[{$FullName}?action=edit|Edit]]\\
(:if auth admin:)
[[{$FullName}?action=attr|Page Password]]\\
[[Site.Admin|Site Admin]]\\
(:if:)

to

(:if auth edit:)
[[{$FullName}?action=edit|Edit]]\\
[[{$FullName}?action=attr|Page Password]]\\
(:if auth admin:)
[[Site.Admin|Site Admin]]\\
(:if:)

Hagan




More information about the pmwiki-users mailing list