[ic] ITL in item comments.
Davor Ocelic
docelic at mail.inet.hr
Wed Feb 9 08:55:46 EST 2005
> Is the restrict tag used to allow ceartain tags to be input by ceartain
> users, or does it restrict which tags can be output in a block of code
> on an page irregardless of who entered the data being output? How does
> it work?
* Add ability to restrict tag execution in a region. If a restricted tag is
encountered, it is simply output. Based on an idea from Jon Jensen.
[restrict policy=deny*|accept enable="tag1 tag2" disable="tag1 tag2"]
restricted area
[/restrict]
options:
policy "allow" or "deny". Default is deny.
enable space or comma-separated list of tag names, including
UserTag names.
disable space or comma-separated list of tag names, including
UserTag names.
For instance, this:
[restrict enable=page]
[area something]
[page aboutus]A link[/page]
[/restrict]
will output something like:
[area something]
<a href="http://sam.heins.net/cgi-bin/mfound/aboutus.html">A link</a>
Defaults are important:
interpolate=0
reparse=0
It would defeat the purpose to set interpolate or reparse, but it can be
done.
More information about the interchange-users
mailing list