Adds or removes config options.
Config options are simple toggles that are stored in the cookie
roxen-config. This ensures that they are persistent for that
user, the same user will have the same config options even if he
returns to the site another day. If cookies cannot be used, prestate
variables are used instead.
Use <if config=...> to test for the presence of a config
option. <aconf> works just like the <a href=...>
container tag, but if no href attribute is specified, the
current page is used.
Example
<aconf +foo>Add the option</aconf>
<br><aconf -foo>Remove the option</aconf>
<p><if config=foo>
The option is set.
</if>
<else>
The option is not set.
</else>
Add the option
Remove the option
The option is not set.
|