[pmwiki-users] Page action won't disappear

marc gmane at auxbuss.com
Fri Jan 5 03:26:06 CST 2007


Patrick R. Michaud said...
> On Thu, Jan 04, 2007 at 05:31:59PM -0000, marc wrote:
> > In many places with non-user-editable text, I want:
> > 
> >   (:if ! auth admin:)(:noaction:)(:ifend:)
> > 
> > This works fine in local/Site.php and other places.
> > 
> > However, when authorisation is required and the login form appears, I 
> > can't find a way to stop PageActions from being displayed.
> > 
> > Is this possible?
> 
> I think it might work to just put (:noaction:) into
> Site.AuthForm.  Then the actions won't appear whenever the
> authorization form is displayed.

Hi,

No, it doesn't do the trick - this surprised me. I also tried the same 
thing in a Site.Header.

-- 
Cheers,
Marc





More information about the pmwiki-users mailing list