[pmwiki-users] Displaying text based on user privelege
    Tegan Dowling 
    tmdowling at gmail.com
       
    Fri Feb 24 13:26:39 CST 2006
    
    
  
On 2/24/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
> On Fri, Feb 24, 2006 at 02:03:26PM -0500, Susan wrote:
> > I want to make some parts of the sidebar (or other pages) visible only
> > to those with edit privileges for the page. E.g., a link to edit the
> page.
> >
> > Can this be done through wiki text, and if so, how?
>
> (:if auth edit:)
>    You can see this only if you have edit privileges
> (:if:)
Even  fancier:
(:if ! auth edit:)
[[{$Name}?action=login | log in]](:if auth edit:)
[[{$Name}?action=edit | edit ]] | [[{$Name}?action=logout | log out]](:if:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060224/39b8afbd/attachment.html 
    
    
More information about the pmwiki-users
mailing list