[pmwiki-devel] skin php question

The Editor editor at fast.st
Wed May 30 08:07:18 CDT 2007


On 5/30/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Wed, May 30, 2007 at 04:52:15AM -0400, The Editor wrote:
> > I have a condition in my skin php I'd like to change to a specific group. ie
> >
> > from:  if (CondAuth($pagename, 'edit') == true) ...
> >
> > to: if (in_group @editors = true) ...
> >
> > Can anyone suggest the code for this?
>
> Currently:
>
>  global $AuthList;
>  if ($AuthList['@editors'] > 0) ...
>
> Pm


Thanks Pm!  Very helpful as always...

Cheers,
Dan



More information about the pmwiki-devel mailing list