summaryrefslogtreecommitdiff
path: root/TWiki/TWikiVariables.mdwn
diff options
context:
space:
mode:
authorJohn Talintyre <john.talintyre@drkw.com>2001-08-07 15:11:42 +0000
committerJohn Talintyre <john.talintyre@drkw.com>2001-08-07 15:11:42 +0000
commit385d3c7473200e2ea706274697158918b3eba5c6 (patch)
tree0657af5cd7f46e252c3572c0d0c75afccba0058b /TWiki/TWikiVariables.mdwn
parentabdda6e8c917c94cb865ab67afd4f2c3e002e9d8 (diff)
none
Diffstat (limited to 'TWiki/TWikiVariables.mdwn')
-rw-r--r--TWiki/TWikiVariables.mdwn42
1 files changed, 40 insertions, 2 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn
index a793404b..fac2ec11 100644
--- a/TWiki/TWikiVariables.mdwn
+++ b/TWiki/TWikiVariables.mdwn
@@ -153,7 +153,7 @@
</tr>
<tr>
<td><code>%<nop>WEBLIST{"format"}%</nop></code></td>
- <td> Web index, e.g. list of all webs. Hidden webs are excluded, e.g. webs with a <code>NOSEARCHALL=on</code> preference variable. The <code>"format"</code> defines the format of one web item. The <code>$name</code> variable gets expanded to the name of the web. Parameters are format, separator and web: <table border="1" cellpadding="1" cellspacing="0">
+ <td> Web index, e.g. list of all webs. Hidden webs are excluded, e.g. webs with a <code>NOSEARCHALL=on</code> preference variable. The <code>"format"</code> defines the format of one web item. The <code>$name</code> variable gets expanded to the name of the web, <code>$qname</code> gets expanded to double quoted name, <code>$marker</code> to <code>marker</code> where web matches <code>selection</code>. Parameters are format, separator and web: <table border="1" cellpadding="1" cellspacing="0">
<tr>
<th bgcolor="#99CCCC"><strong>Parameter:</strong></th>
<th bgcolor="#99CCCC"><strong>Description:</strong></th>
@@ -174,7 +174,21 @@
<td> line separator </td>
<td><code>"\n"</code> (new line) </td>
</tr>
- </table> Example: <br /><code>%<nop>WEBLIST{"   * [<nop>[$name.%HOMETOPIC%]]"}%</nop></nop></code> creates a bullet list of all webs. </td>
+ <tr>
+ <td><code>webs="public"</code></td>
+ <td> comma sep list of Web, public expands to all non-hidden </td>
+ <td><code>"public"</code></td>
+ </tr>
+ <tr>
+ <td><code>marker="selected"</code></td>
+ <td> Text for <code>$marker</code> where item matches <code>selection</code>, otherwise equals <code>""</code></td>
+ <td><code>"selected"</code></td>
+ </tr>
+ <tr>
+ <td><code>selection</code></td>
+ <td> Current value e.g. current for current Web, =section="%<nop>WEB%" </nop></td>
+ </tr>
+ </table> Examples: <br /><code>%<nop>WEBLIST{"   * [<nop>[$name.%HOMETOPIC%]]"}%</nop></nop></code> creates a bullet list of all webs. <br /><code>%<nop>WEBLIST{"<select><option $marker="$marker" value="$qname">$name</option>" webs="Trash,public" selection="%WEB%" separator=" "}%</select></nop></code> Dropdown of all public Webs + Trash Web, current Web highlighted. </td>
</tr>
<tr>
<td><code>%<nop>GMTIME%</nop></code></td>
@@ -514,6 +528,30 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in
<td> List of users and groups who are <strong>allowed</strong> to change the current topic. (More in <span style="background:"><font color="">TWiki Access Control</font></span><a href="http://LOCATION/TWikiAccessControl">?</a>) </td>
</tr>
<tr>
+ <td><code>%<nop>DENYWEBRENAME%</nop></code></td>
+ <td><strong><em>WL</em></strong></td>
+ <td> List of users and groups who are <strong>not allowed</strong> to rename topics in the %WIKITOOLNAME% web. (More in <span style="background:"><font color="">TWiki Access Control</font></span><a href="http://LOCATION/TWikiAccessControl">?</a>) </td>
+ </tr>
+ <tr>
+ <td><code>%<nop>ALLOWWEBRENAME%</nop></code></td>
+ <td><strong><em>WL</em></strong></td>
+ <td> List of users and groups who are <strong>allowed</strong> to rename topics in the %WIKITOOLNAME% web. (More in <span style="background:"><font color="">TWiki Access Control</font></span><a href="http://LOCATION/TWikiAccessControl">?</a>) </td>
+ </tr>
+ <tr>
+ <td><code>%<nop>DENYTOPICRENAME%</nop></code></td>
+ <td><strong><em>(any topic)</em></strong></td>
+ <td> List of users and groups who are <strong>not allowed</strong> to rename the current topic. (More in <span style="background:"><font color="">TWiki Access Control</font></span><a href="http://LOCATION/TWikiAccessControl">?</a>) </td>
+ </tr>
+ <tr>
+ <td><code>%<nop>ALLOWTOPICRENAME%</nop></code></td>
+ <td><strong><em>(any topic)</em></strong></td>
+ <td> List of users and groups who are <strong>allowed</strong> to rename the current topic. (More in <span style="background:"><font color="">TWiki Access Control</font></span><a href="http://LOCATION/TWikiAccessControl">?</a>) </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ </p>
+ </td>
<td><code>%<nop>FINALPREFERENCES%</nop></code></td>
<td><strong><em>SL</em></strong> , <strong><em>WL</em></strong></td>
<td> List of preferences that are not allowed to be overridden by next level preferences</td>