[pmwiki-users] Method to selectively include template markup based on auth level

H. Fox haganfox at users.sourceforge.net
Fri Sep 2 12:10:54 CDT 2005


On 9/2/05, Mr Wappy <mrwappy at yahoo.co.uk> wrote:
> but it's not clear to me how I can either
> i) conditionally include this function within the
> syntax provided within a template
> or
> ii) identify programmatically, within my function that
> I have placed in config.php, the auth level of the
> current user.
> 
> Can anybody provide some more information that would
> help me with this task?

Related question: How do I do the equivalent of

     (:if auth read:)
     (:if auth edit:)
     (:if auth attr:)
     (:if auth admin:)

in skin.php?

Hagan




More information about the pmwiki-users mailing list