[pmwiki-devel] skin php question
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?
> global $AuthList;
> if ($AuthList['@editors'] > 0) ...
Thanks Pm! Very helpful as always...
More information about the pmwiki-devel