[pmwiki-devel] skin php question

Patrick R. Michaud pmichaud at pobox.com
Wed May 30 07:59:44 CDT 2007


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



More information about the pmwiki-devel mailing list