[pmwiki-users] Conditional fails when encountering !! Header

Brent Zupp bplotter at yahoo.com
Fri Oct 13 22:18:23 CDT 2006


Sorry for omission:

Version: 2.2.0-beta14
OS: Linux PHP Version 4.4.1

On 10/13/06, Tegan Dowling <tmdowling at gmail.com> wrote:
> On 10/13/06, Brent Zupp <atticus4 at gmail.com> wrote:
> > I'm trying to keep some text private using (:if auth admin:)
> > conditional. I just noticed that when I have a header markup (!!)
> > between the conditional, it fails. If I remove the header markup (!!),
> > it works.
> >
> > <<Start Example of failing markup:>>
> >
> > Public text Public text Public text Public text Public text Public
> > text Public text Public text Public text
> >
> > (:if auth admin:)
> >
> > !!Header
> >
> > Private text Private text Private text Private text Private text
> > Private text Private text Private text Private text Private text
> >
> > (:ifend:)
> >
> >
> > <<End Example of failing markup:>>
> >
> > The above markup should hide the "private text" for anyone except
> > "admin", but it doesn't work. All private and public text is viewable
> > to public.
> >
> > I believe this is a bug, so I entered this in PITS:
> > http://pmwiki.org/wiki/PITS/00814
> >
> > Any thoughts?
> >
> > Best,
> >
> > Brent
>
> What version of PmWiki?
>


-- 
Brent Zupp
http://www.wanderings.net/books
http://www.wanderings.net/notebook
http://www.flickr.com/photos/62142788@N00/

To invent, you need a good imagination and a pile of junk.
 ~ Thomas A. Edison




More information about the pmwiki-users mailing list