[pmwiki-users] Checking permissions in the template?

Stirling Westrup sti at pooq.com
Sat Jul 1 14:48:34 CDT 2006


Dominique Faure wrote:

> In order to prevent automatic <p> tags inclusion, you should try using
> a <:block> directive as in:
> <!--markup:<:block>(:if auth edit:)(:include {$Group}.PageActions
> {$SiteGroup}.PageActions:)(:if !auth
> edit:)[[{$FullName}?action=login|Login]](:ifend:)-->

That's something I've been meaning to ask about: I've never seen mention
of the <:block> directive anywhere in the PmWiki docs. What exactly is
it, and are there any other's like it?

(I could swear I've seen other similar HTML-ish markups on this list
from time to time, with never an explanation.)




More information about the pmwiki-users mailing list