Re: [pmwiki-users] meaning of =protectsafe (was: (:pagelist:) broken ...)

2007-05-20 Thread ThomasP
On Sun, May 20, 2007 14:35, ThomasP wrote: On Sat, May 19, 2007 20:26, Patrick R. Michaud wrote: More critical are the two remaining fields. Therefore the question: what is the exact meaning of '=protectexclude' and '=protectsafe' These aren't fields of the $page array (returned by the

Re: [pmwiki-users] meaning of =protectsafe (was: (:pagelist:) broken ...)

2007-05-20 Thread Patrick R. Michaud
On Sun, May 20, 2007 at 04:00:07PM +0200, ThomasP wrote: On Sun, May 20, 2007 14:35, ThomasP wrote: But the question for me is how should I set $page['=passwd'] such that in the end the behaviour of (:pagelist:) is acceptable: if (!$page['=passwd']['read']) $opt['=protectsafe'][$pn]

Re: [pmwiki-users] meaning of =protectsafe (was: (:pagelist:) broken ...)

2007-05-20 Thread Patrick R. Michaud
On Sun, May 20, 2007 at 05:23:56PM +0200, ThomasP wrote: On Sun, May 20, 2007 16:10, Patrick R. Michaud wrote: (II): Another approach I could use is that pagelist and other functions assume that a page has a password unless $page['=passwd']['read'] is explicitly set to an empty string.