[pmwiki-users] Don't display "edit this page"

Neil Herber (nospam) nospam at eton.ca
Wed Jan 7 21:16:35 CST 2009

On 2009-01-07 10:09 PM, kevin wrote:
> Hello all,
> This issue has probably been raised before, but I was not able to find 
> in my archived e-mails.
> I would like to do a little programming so that pages that can be edited 
> by any user display "edit this page" and pages that have been locked for 
> editing to all but the admin to display "this page locked for editing". 
> Has anyone been able to do this successfully? Thanks in advance for any 
> help.

Try the following in the Sidebar:

(:if !auth edit :)
* this page locked for editing

(:if auth edit :)
* [[{$FullName}?action=edit | edit this page]]

Neil Herber

More information about the pmwiki-users mailing list