On Wed, Feb 20, 2008 at 5:48 AM, noskule <[EMAIL PROTECTED]> wrote:
> hi list
>  The condition below works well in config.php but not in skins.php where
>  I need it. Does anyone know way that is and how to solve it?
>  thank's for any hints.
>  nos
>
>
>     if ( @$GLOBALS["PCache"][$GLOBALS["pagename"]]["=auth"]['admin'] ) {
>         $contentbox_border = "1px sold red";
>         $horizontallist_border = "1px sold red";
>         $skinsection =  "1px sold red";
>         }

Try using CondAuth() , as in

   if (CondAuth($pagename, 'admin')) { ... }

Hagan

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to