diff options
Diffstat (limited to 'TWiki')
-rw-r--r-- | TWiki/TWikiVariables.mdwn | 15 |
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 /> |