[pmwiki-users] Maybe i'm dumb

Radu radu at monicsoft.net
Fri Apr 15 15:52:04 CDT 2005


It's a new addition

(:if auth !admin:)
code seen by other than admins
(:if auth admin:)
code seen by admins
(:if:)

Hey, what happens to these kind of things when someone looks at such a page 
and presses "Show Source"?

At 04:36 PM 4/15/2005, Stefano wrote:
>.. and this is a trivial question, i looked on wiki but without
>finding the ansewer.
>
>There is a way to
>
>A) check is an user is logged as admin
>B) if not making the password form show up and then check against the
>    admin password setted in config.php

Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list