summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2001-03-25 07:32:59 +0000
committerPeter Thoeny <web-hurd@gnu.org>2001-03-25 07:32:59 +0000
commitf54e0babd02fabbcfa7b997cfb1d162cd0b56a1b (patch)
treea7e5430e3a6fa8ce3f66ab858eab0a9d43b5143d /TWiki
parent052e32694538071e70bdd07c39f1e7c4317c0a6d (diff)
none
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TWikiVariables.mdwn15
1 files changed, 11 insertions, 4 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn
index 277d7579..4e3021cb 100644
--- a/TWiki/TWikiVariables.mdwn
+++ b/TWiki/TWikiVariables.mdwn
@@ -201,15 +201,20 @@
</tr>
<tr>
<td><code>%<nop>SEARCH{"str" ...}%</nop></code></td>
- <td> Inline search, shows a search result embedded in a topic. Parameter is composed of the search string, followed by optional <code>name="value"</code> pairs: <table border="1" cellpadding="1" cellspacing="0">
+ <td> Inline search, shows a search result embedded in a topic. Parameter is composed of the search term (enclosed in double quotes), followed by optional <code>name="value"</code> pairs: [1] <table border="1" cellpadding="1" cellspacing="0">
<tr>
<th bgcolor="#99CCCC"><strong>Pair:</strong></th>
<th bgcolor="#99CCCC"><strong>Description:</strong></th>
<th bgcolor="#99CCCC"><strong>Default:</strong></th>
</tr>
<tr>
+ <td><code>search="food"</code></td>
+ <td> Search term, (either regex or literal, depending on the <code>regex</code> parameter) </td>
+ <td> (used if initial search term is missing) </td>
+ </tr>
+ <tr>
<td><code>web="Name"</code><br /><code>web="%MAINWEB% Know"</code><br /><code>web="all"</code></td>
- <td> Wiki web to search: A web, a list of webs separated by whitespace, or all webs <code>[1]</code></td>
+ <td> Wiki web to search: A web, a list of webs separated by whitespace, or all webs <code>[2]</code></td>
<td> Current web </td>
</tr>
<tr>
@@ -279,7 +284,9 @@
</tr>
</table>
-[1] **_Note_**: A web can be excluded from a `web="all"` search if you define a `NOSEARCHALL=on` variable in its %WEBPREFSTOPIC%.
+[1] **_Note_**: The search form uses identical names for input fields.
+
+[2] **_Note_**: A web can be excluded from a `web="all"` search if you define a `NOSEARCHALL=on` variable in its %WEBPREFSTOPIC%.
### <a name="Preferences_Variables"> Preferences Variables </a>
@@ -395,4 +402,4 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in
* Additional preferences variables can be defined on all three level as needed. Example:
* <code>Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif</code>
--- [[PeterThoeny]] - 15 Mar 2001 <br />
+-- [[PeterThoeny]] - 24 Mar 2001 <br />