}%
%TMPL:DEF{"editfields"}%TopicTitle, Summary%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"detailstab"}%%TMPL:PREV%%ADDTOZONE{
"script"
id="TOPICTYPE::JS"
requires="JQUERYPLUGIN"
text="<script type='text/javascript' src='%PUBURLPATH%/Applications/TopicTypeEditTemplate/script.js'></script>"
}%%TMPL:END%
%{}%
jQuery(function($) {
var $modeElem = $("[name=TopicNamingMode]"),
$set1 = $("[name=TopicNameTemplate]").parent(),
$set2 = $("[name=TopicNameSource]").parent()
.add($("[name=TopicNamePrefix]").parent())
.add($("[name=TopicNameSuffix]").parent())
.add($("[name=TopicNameTransliterate]").parents("div.foswikiFormStep:first"));
function updateTopicNaming() {
var val = $modeElem.filter(":checked").val();
$set1.hide();
$set2.hide();
if (val === 'template') {
$set1.fadeIn();
} else if (val === 'derived') {
$set2.fadeIn();
} else {
$modeElem.filter("[value=manual]").prop("checked", true);
}
}
$modeElem.on("change", updateTopicNaming);
updateTopicNaming();
});
]]>| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | Icon | WikiApplication | Editor | Changed |
|---|
}%
%TMPL:DEF{"firsttab"}%%TMPL:P{"detailstab"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"formfields"}%%TMPL:PREV%%TMPL:P{"texttab"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"detailstab"}%%TAB{"%TRANSLATE{"Details"}%"}%
%RENDERFOREDIT{
exclude="\b(TopicType)\b"
TopicTitle_default="%BASETOPIC%"
}%
%ENDTAB%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"texttab"}%%TAB{"%TRANSLATE{"Text"}%"}%
%TMPL:P{"textarea"}%
%ENDTAB%%TMPL:END%
%{}%
]]>}%
%TMPL:DEF{"beforetext"}%%TMPL:PREV%%TMPL:P{"weblexicon"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"weblexicon"}%%NEWMETADATA{"lexicon" title="%TRANSLATE{"Add translation"}%"}%
<div class='jqDataTablesContainer foswikiFlatTable foswikiStripes' data-searching='true' data-order='[ [1, "asc"] ]'>
%RENDERMETADATA{
"lexicon"
showindex="on"
sort="String"
}%
</div>
%JQREQUIRE{"datatables"}%%TMPL:END%
%{}%
]]>| topic | index | TopicTitle | Summary | ForTopicType | Changed |
|---|
| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | Summary | Changed |
|---|
| topic | index | TopicTitle | Summary | TopicType | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
}%
%TMPL:DEF{"atomhead"}%<?xml version="1.0" encoding="%CHARSET%" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>%WEB% - %WIKITOOLNAME%</title>
<subtitle>%WEBSUMMARY%</subtitle>
<link href="%SCRIPTURL{"view"}%/%WEB%" />
<link href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?%QUERYSTRING%" rel="self" />
<updated>%DBQUERY{"%FILTER%" sort="modified" reverse="on" limit="1" format="$formatTime(info.date, '$year-$mo-$dayT$hour:$minute:$secondsZ')"}%</updated>
<logo>%WIKILOGOIMG%</logo>
<id>%SCRIPTURL{"view"}%/%WEB%</id>
<rights>%WEBRSSCOPYRIGHT%</rights>
%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"atomfooter"}%</feed>%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"atombody"}%%DBQUERY{"%FILTER%"
exclude="WebTopicEditTemplate"
sort="created"
reverse="on"
limit="%LIMIT%"
separator="$n"
format=" <entry>
<title>$expand(topictitle)</title>
<id>%SCRIPTURL{"view"}%/$web/$topic</id>
<link rel=\"alternate\" type=\"text/html\" href=\"%SCRIPTURL{"view"}%/$web/$topic\"/>
<updated>$formatTime(createdate, '$year-$mo-$dayT$hour:$minute:$secondsZ')</updated>
$percntFORMATLIST{\"$expand(Author or createauthor)\"
split=\"\s*,\s*\"
format=\"<author><name>$1</name></author>\"
}$percnt$percntCATINFO{\"$web.$topic\"
format=\"<category label=\\"$title\\" term=\\"$dollartopic\\" />\"
separator=\"$n \"
}$percnt$percntTAGINFO{\"$web.$topic\"
format=\"<category term=\\"$dollarname\\" />\"
separator=\"$n \"
}$percnt
<content type=\"html\"><![CDATA[
$percntDBCALL{\"$web.$topic\"}$percnt
$percntTAGINFO{
\"$web.$topic\"
header=\"<p>%TRANSLATE{"Tags"}%: \"
format=\"$dollarname\"
footer=\"</p>\"
}$percnt
]]></content>
</entry>"
}%
%TMPL:END%
%{}%
]]>| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
}%
%TMPL:DEF{"formfields"}%%TMPL:PREV%%TMPL:P{"detailstab"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"detailstab"}%%TAB{"%TRANSLATE{"Details"}%"}%
%RENDERFOREDIT{
form="%TMPL:P{"formdefinition"}%"
exclude="^(TopicType|Summary|TopicTitle)$"
}%
%ENDTAB%%TMPL:END%
%{}%
]]>}%
%TMPL:DEF{"formdefinition"}%%QUERY{"form.name"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"beforetext"}%%IF{
"$'DISPLAYTOPICTITLE'!='off'"
then="$percntTMPL:P{\"beforetext::title\"}$percnt"
}%%IF{
"$'ENABLEQUALITYCHECK'='on' and '%WEB%.%TOPIC%' allows 'change'"
then="$percntTMPL:P{\"qualitycheck\"}$percnt"
}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"beforetext::title"}%<div class="foswikiTopicInfo">
%DBCALL{"Applications.RenderWikiTopicView"
TITLE_EXTRA="%TMPL:P{"titleextra"}%"
TITLE_PREFIX="%TMPL:P{"titleicon"}%"
}%
</div>%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"form"}%%TMPL:END%
%TMPL:DEF{"topicinfo"}%%TMPL:END%
%TMPL:DEF{"revinfo"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"qualitycheck"}%%TMPL:P{"qualitycheck::multipleh1"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"qualitycheck::multipleh1"}%%IF{
"'%BASEWEB%.%BASETOPIC%'/text=~'\-\-\-\+[^\+]'"
then="<p class='foswikiWarningMessage'>%TRANSLATE{"There are multiple h1 titles on this page. Please use only one h1 for the title and h2-h6 within the text."}%</p>
"
}%%TMPL:END%
%{}%
]]>| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
}%
%TMPL:DEF{"formdefinition"}%%URLPARAM{"formtemplate"
default="%IF{"'%URLPARAM{"templatetopic"}%'!='' and '%URLPARAM{"templatetopic"}%'/form.name!=''"
then="$percntQUERY{\"'%URLPARAM{"templatetopic"}%'/form.name\"}$percnt"
else="%IF{"istopic '%WEB%.%TOPIC%'"
then="$percntQUERY{\"form.name\"}$percnt"
else="$percntQUERY{\"'WebTopicEditTemplate'/form.name\"}$percnt"
}%"
}%"
}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"edittoolbar::paragraphmenu::h1"}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"firsttab"}%%IF{
"$'URLPARAM{action}'!='form'"
then="$percntTMPL:P{\"firsttab::impl\"}$percnt"
else="$percntTMPL:P{\"hiddentextarea\"}$percnt"
}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"hiddentextarea"}%<textarea class='natedit foswikiHidden' data-hidden='true' data-show-toolbar='false'></textarea>%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"firsttab::impl"}%%TAB{"%TRANSLATE{"Text"}%"}%
%TMPL:P{"topicmeta"}%
%TMPL:P{"textarea"}%
%ENDTAB%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"formfields"}%<!-- disabled -->%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"editfields"}%TopicTitle, Summary%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"topicmeta"}%%RENDERFOREDIT{
form="%TMPL:P{"formdefinition"}%"
fields="%TMPL:P{"editfields"}%"
header="<div class='natEditTopicInfo'><table class='foswikiLayoutTable jqTooltip'>"
format="<tr title='$description'><th valign='top'>$title$mandatory:</th><td valign='top'>$edit</td></tr>"
footer="</table></div>"
TopicTitle_title="%TRANSLATE{"Title"}%"
TopicTitle_default="%BASETOPIC%"
Summary_title="%TRANSLATE{"Summary"}%"
}%<!-- --> %TMPL:END%
%{}%
%{}%
%TMPL:DEF{"formattop"}%<noautolink>%IF{"not '%TMPL:P{"formdefinition"}%'=~'^(none)?$'"
then="<input type='hidden' name='TopicType' value='$percntRENDERFORMDEF{\"%TMPL:P{"formdefinition"}%\" field=\"TopicType\" format=\"$value\"}$percnt' />"
}%
</noautolink>%TMPL:END%
%{}%
]]><fieldName1>=<value1>;<fieldName2>=<value2>;...
INCLUDINGWEB.INCLUDINGTOPIC
BASETOPIC
save or edit, defaults to edit
save
jpeg, jpg, gif, bmp, svg or png. If there are multiple image attachments
then the first one ordered by comment and name is taken. The empty string
is returned if no image attachment is found.
on
comment:name which will take the one that sorts first wrt the comment, falling back to the name
global or one per column using multi, default global
| # | Name | Type |
|---|---|---|
| 1 | ApplicationLicense | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| a license for wiki applications | ||
| 2 | ApplicationTopic | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| a part of an application | ||
| 3 | ApplicationTopicEditTemplate | TopicView, ApplicationTopic, WikiTopic |
| Editor for ApplicationTopics | ||
| 4 | ApplicationTopicViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| TopicView for ApplicationTopics | ||
| 5 | AtomViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| View for the atom feeds | ||
| 6 | DataForm | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| form definition for structured wiki content | ||
| 7 | DataFormAttribute | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| value definition for formfields in a DataForm | ||
| 8 | DocuTopic | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| application documentation | ||
| 9 | FirstSteps | DocuTopic, ApplicationTopic, WikiTopic |
| What's next: first steps after creating a new workbench web | ||
| 10 | FormEditTemplate | TopicView, ApplicationTopic, WikiTopic |
| TopicView to edit the DataForm only | ||
| 11 | GetTopicTypes | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| returns a list of TopicTypes known in the base web | ||
| 12 | GnuGeneralPublicLicense | ApplicationLicense, ApplicationTopic, WikiTopic |
| Standard Open Source License | ||
| 13 | HiddenFormViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| View to hide System.DataForms | ||
| 14 | LexiconForm | DataForm, ApplicationTopic, WikiTopic |
| DataForm for WebLexicon entries | ||
| 15 | RenderApplicationDocumentation | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Extracts the documentation section from all parts of a WikiApplication | ||
| 16 | RenderApplicationManifest | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Render a list of all files making up a given application | ||
| 17 | RenderDataFormList | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Renders a list of DataForms that make use of the given DataFormAttribute | ||
| 18 | RenderFunctionCallers | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Render a list of topics that use a given TopicFunction | ||
| 19 | RenderImageSelector | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Renders a widget to select an image attached to a topic | ||
| 20 | RenderIndexItem | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Fallback to render a summary for WikiTopic that does not have a type specific version of to render an index item | ||
| 21 | RenderInheritanceGraph | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| a directed graph of TopicType inheritance | ||
| 22 | RenderRecentChanges | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| renders a list of recent changes in a web | ||
| 23 | RenderRss | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| default implementation of an rss view of a single topic | ||
| 24 | RenderSideBar | TopicFunction, ApplicationTopic, WikiTopic |
| Render the sidebar navigation for the WikiWorkbench | ||
| 25 | RenderSimpleTopicCreator | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| TopicFunction to display a simple form to create a new topic | ||
| 26 | RenderTopicInstaller | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Render a simple factory to deploy a topic in another web | ||
| 27 | RenderTopicThumbnail | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Display thumbnail image for a topic | ||
| 28 | RenderTopicsOfType | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Display a table of topcis of a given type | ||
| 29 | RenderWikiApplicationFactory | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Renders a form to create a new WikiApplication | ||
| 30 | RenderWikiApplicationWebHome | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| Renders a dashboard for an application web | ||
| 31 | RenderWikiTopicView | TopicFunction, DocuTopic, ApplicationTopic, WikiTopic |
| 32 | RssViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| View for the rss feeds | ||
| 33 | TextEditTemplate | TopicView, ApplicationTopic, WikiTopic |
| TopicView to edit the topic text only | ||
| 34 | TextViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| Minimal TopicView usefull to generate xml output | ||
| 35 | TopicFunction | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| Function library | ||
| 36 | TopicFunctionViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| TopicView for TopicFunctions | ||
| 37 | TopicStub | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| a placeholder topic pointing to another one | ||
| 38 | TopicStubEditTemplate | TopicView, ApplicationTopic, WikiTopic |
| 39 | TopicStubViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| 40 | TopicTemplate | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| templates for wiki topics | ||
| 41 | TopicType | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| TopicType of all TopicTypes | ||
| 42 | TopicTypeEditTemplate | TopicView, ApplicationTopic, WikiTopic |
| Editor for TopicTypes | ||
| 43 | TopicView | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| a topic view or edit template | ||
| 44 | WebHome | ApplicationTopic, WikiTopic |
| Library of all WikiApplications installed on Foswiki | ||
| 45 | WebLexicon | WebTool, ApplicationTopic, WikiTopic |
| 46 | WebTool | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| a special page used to manage a web | ||
| 47 | WikiApplication | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| a documentation topic for a wiki application | ||
| 48 | WikiTopic | TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic |
| a base topic for wiki content | ||
| 49 | WikiTopicEditTemplate | TopicView, ApplicationTopic, WikiTopic |
| TopicView to edit a WikiTopic | ||
| 50 | WikiTopicViewTemplate | TopicView, ApplicationTopic, WikiTopic |
| Generic topic view | ||
}%
%TMPL:DEF{"beforetext"}%%IF{
"$'DISPLAYTOPICTITLE'!='off'"
then="$percntTMPL:P{\"beforetext::title\"}$percnt"
}%<!-- -->
%DBCALL{"%FORMFIELD{"Target" topic="%BASEWEB%.%BASETOPIC%"}%" section="%FORMFIELD{"Section"}%"}%
%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"beforetext::title"}%<div class="foswikiTopicInfo">
%DBCALL{"Applications.RenderWikiTopicView"
TITLE_EXTRA="%TMPL:P{"titleextra"}%"
TITLE_PREFIX="%IF{"'%FORMFIELD{"Target"}%'/TopicType=~'\bTopicType\b'"
then="$percntTMPL:P{\"titleicon\"}$percnt"
}%"
}%
</div>%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"titleextra"}%%IF{"context isadmin"
then="<span class='foswikiNormal foswikiGrayText'>([[%FORMFIELD{"Target"}%][%MAKETEXT{"reference"}%]])</span>"
}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"titleicon"}%%JQICON{
"%FORMFIELD{
"Icon"
topic="%FORMFIELD{"Target"}%"
}%"
}%%TMPL:END%
%{}%
]]>}%
%TMPL:DEF{"titleicon"}%%JQICON{
"%FORMFIELD{
"Icon"
topic="%TMPL:P{"formdefinition"}%"
}%"
}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"beforetext"}%%TMPL:PREV%
%RENDERFORDISPLAY{
form="%TMPL:P{"formdefinition"}%"
exclude="^(TopicType|TopicTitle|Summary|WikiApplication%TMPL:P{
"hiddenfields"
mode="%FORMFIELD{"TopicNamingMode"}%"
}%)$"
hideempty="on"
}%
%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"hiddenfields"}%%IF{"'%mode%'='default'"
then="|TopicNameTemplate|TopicNameSource|TopicNamePrefix|TopicNameSuffix|TopicNameTransliterate"
}%%IF{"'%mode%'='template'"
then="|TopicNameSource|TopicNamePrefix|TopicNameSuffix|TopicNameTransliterate"
}%%IF{"'%mode%'='derived'"
then="|TopicNameTemplate"
}%%TMPL:END%
%{}%
]]>| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | Summary | Version |
|---|
| topic | index | TopicTitle | Summary | WikiApplication | Changed |
|---|
| topic | index | TopicTitle | TopicType | WikiApplication | Changed |
|---|
| # | Name | Type |
|---|
%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="form"}%
%INCLUDE{"%TOPIC%" section="searchresults"}%
%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="form"}%
%INCLUDE{"%TOPIC%" section="searchresults"}%
%INCLUDE{"%TOPIC%" section="querysearchexample"}%
%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="tabs"}%
%INCLUDE{"%SYSTEMWEB%.SearchHelp"}%
---+!! %MAKETEXT{"Search in [_1] Web" args="<nop>%BASEWEB%"}%
%INCLUDE{"%TOPIC%" section="tabs"}%<noautolink>
<div class='foswikiWebSearchForm'>
<form name='WebSearchForm' action='%SCRIPTURLPATH{view}%/%BASEWEB%/%TOPIC%'>
<input type='hidden' name='tab' value='%URLPARAM{"tab" default="search"}%' />
<div class='foswikiFormSteps'>
<div class='foswikiFormStep'>
<input type='text' class='foswikiInputField foswikiFocus' name='search' value='%URLPARAM{"search" encode="entity"}%' size='40' style='width:99%' placeholder='%MAKETEXT{"Search"}%' />
</div>
<div class='foswikiFormStep'>
%TWISTY{
id="searchOptions"
mode="div"
start="%IF{
"$'URLPARAM{search}'=''"
then="show"
else="hide"
}%"
link="<strong>%MAKETEXT{"Search options"}%</strong>"
showimgleft="%ICONURLPATH{toggleopen}%"
hideimgleft="%ICONURLPATH{toggleclose}%"
}%%IF{
"$'URLPARAM{tab}'='search' OR $'URLPARAM{tab}'='' AND NOT $TAB='advanced'"
then="$percentINCLUDE{$quot%TOPIC%$quot section=$quotoptionssimple$quot}$percent"
}%%IF{
"$'URLPARAM{tab}'='searchadvanced' OR $TAB='advanced'"
then="$percentINCLUDE{$quot%TOPIC%$quot section=$quotoptionsadvanced$quot}$percent"
}%%ENDTWISTY%</div>
<div class='foswikiFormStep'>
<input type='submit' class='foswikiSubmit' value='%MAKETEXT{"Search"}%' />
</div>
</div><!--//foswikiFormSteps-->
</form>
</div></noautolink>
search=%URLPARAM{"search" encode="url"}%;scope=%URLPARAM{"scope" encode="url" default="all"}%;web=%URLPARAM{"web" encode="url"}%;recurse=%URLPARAM{"recurse" encode="url"}%;type=%URLPARAM{"type" encode="url" default="%SEARCHDEFAULTTTYPE%"}%
%INCLUDE{"%TOPIC%" section="searchparamssimple"}%;type=%URLPARAM{"type" encode="url" default="%SEARCHDEFAULTTTYPE%"}%;nosearch=%URLPARAM{"nosearch" encode="url"}%;limit=%URLPARAM{"limit" encode="url"}%;excludetopic=%URLPARAM{"excludetopic" encode="url"}%;casesensitive=%URLPARAM{"casesensitive" encode="url"}%
<noautolink><div class='foswikiTabs'>
<ul>
<li%IF{
"$'URLPARAM{tab}'='search' OR $'URLPARAM{tab}'='' AND NOT $TAB='advanced'"
then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamssimple"}%;tab=search'>%MAKETEXT{"Search"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='searchadvanced' OR $TAB='advanced'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=searchadvanced'>%MAKETEXT{"Advanced search"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='az'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=az'>%MAKETEXT{"A-Z"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='help'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=help'>%MAKETEXT{"Help"}%</a></li>
</ul>
<div class='foswikiClear'></div>
</div></noautolink>
<table id='foswikiSearchTable' class='foswikiSearchTable' border='0' cellspacing='0' cellpadding='0'>
<tr>
<th>%MAKETEXT{"Search where:"}%</th>
<td>
<input type='radio' class='foswikiRadioButton' id='textbody' name='scope' value='text' %IF{
"'%URLPARAM{"scope"}%'='text'"
then="checked='checked'"
}% /><label for='textbody'> %MAKETEXT{"Text body"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='topictitle' name='scope' value='topic' %IF{
"'%URLPARAM{"scope" default="all"}%'='topic'"
then="checked='checked'"
}% /><label for='topictitle'> %MAKETEXT{"Topic title"}% </label><br />
<input type='radio' class='foswikiRadioButton' id='both' name='scope' value='all' %IF{
"'%URLPARAM{"scope" default="all"}%'='all'"
then="checked='checked'"
}% /><label for='both'> %MAKETEXT{"Both body and title"}%</label>
<hr />
<input type='checkbox' class='foswikiCheckbox' id='web' name='web' value='all' %IF{
"'%URLPARAM{web}%'='all'"
then="checked='checked'"
}% /><label for='web'> %MAKETEXT{"All public webs"}%</label> <span class='foswikiSmall'>%MAKETEXT{"(otherwise search [_1] Web only)" args="<nop>%BASEWEB%"}%</span>
<input type='checkbox' class='foswikiCheckbox' id='recurse' name='recurse' value='on' %IF{
"'%URLPARAM{recurse}%'='on'"
then="checked='checked'"
}% /><label for='recurse'> %MAKETEXT{"Subwebs"}%</label>
</td>
</tr>
</table>
<table id='foswikiSearchTable' class='foswikiSearchTable' border='0' cellspacing='0' cellpadding='0'>
<tr>
<th>%MAKETEXT{"Search where:"}%</th>
<td>
<input type='radio' class='foswikiRadioButton' id='textbody' name='scope' value='text' %IF{
"'%URLPARAM{"scope"}%'='text'"
then="checked='checked'"
}% /><label for='textbody'> %MAKETEXT{"Text body"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='topictitle' name='scope' value='topic' %IF{
"'%URLPARAM{"scope" default="all"}%'='topic'"
then="checked='checked'"
}% /><label for='topictitle'> %MAKETEXT{"Topic title"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='both' name='scope' value='all' %IF{
"'%URLPARAM{"scope" default="all"}%'='all'"
then="checked='checked'"
}% /><label for='both'> %MAKETEXT{"Both body and title"}%</label>
<hr />
<input type='checkbox' class='foswikiCheckbox' id='web' name='web' value='all' %IF{
"'%URLPARAM{web}%'='all'"
then="checked='checked'"
}% /><label for='web'> %MAKETEXT{"All public webs"}%</label> <span class='foswikiSmall'>%MAKETEXT{"(otherwise search [_1] Web only)" args="<nop>%BASEWEB%"}%</span>
<input type='checkbox' class='foswikiCheckbox' id='recurse' name='recurse' value='on' %IF{
"'%URLPARAM{recurse}%'='on'"
then="checked='checked'"
}% /><label for='recurse'> %MAKETEXT{"Subwebs"}%</label>
</td>
</tr>
<tr>
<th>%MAKETEXT{"Sort results by:"}%</th>
<td>
<input type='radio' class='foswikiRadioButton' id='topic' name='order' value='topic' %IF{
"'%URLPARAM{"order" default="topic"}%'='topic'"
then="checked='checked'"
}% /><label for='topic'> %MAKETEXT{"Topic name"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='modified' name='order' value='modified' %IF{
"'%URLPARAM{order}%'='modified'"
then="checked='checked'"
}% /><label for='modified'> %MAKETEXT{"Last modified time"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='editby' name='order' value='editby' %IF{
"'%URLPARAM{order}%'='editby'"
then="checked='checked'"
}% /><label for='editby'> %MAKETEXT{"Last editor"}%</label>
<hr />
<input type='checkbox' class='foswikiCheckbox' name='reverse' id='reverse' %IF{
"'%URLPARAM{reverse}%'='on'"
then="checked='checked'"
}% /><label for='reverse'> %MAKETEXT{"In reversed order"}%</label>
</td>
</tr>
<tr>
<th>%MAKETEXT{"Make search:"}%</th>
<td>%MAKETEXT{"Selections apply to search in \"text body\""}% <span class='foswikiUnvisited foswikiSmall'>%POPUPWINDOW{"%SYSTEMWEB%.SearchHelp" label="%MAKETEXT{"Help"}%"}%</span>
<hr />
<input type='checkbox' class='foswikiCheckbox' id='casesensitive' name='casesensitive' %IF{
"'%URLPARAM{casesensitive}%'='on'"
then="checked='checked'"
}% /><label for='casesensitive'> %MAKETEXT{"Case sensitive"}%</label><br />
<hr />
<input type='radio' class='foswikiRadioButton' id='word' name='type' value='word' %IF{
"'%URLPARAM{"type" default="%SEARCHDEFAULTTTYPE%"}%'='word'"
then="checked='checked'"
}% /><label for='word'> %MAKETEXT{"Word search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='keyword' name='type' value='keyword' %IF{
"'%URLPARAM{"type" default="%SEARCHDEFAULTTTYPE%"}%'='keyword'"
then="checked='checked'"
}% /><label for='keyword'> %MAKETEXT{"Keyword search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='literal' name='type' value='literal' %IF{
"'%URLPARAM{type}%'='literal'"
then="checked='checked'"
}% /><label for='literal'> %MAKETEXT{"Literal search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='regex' name='type' value='regex' %IF{
"'%URLPARAM{type}%'='regex'"
then="checked='checked'"
}% /><label for='regex'> %MAKETEXT{"Regular expression search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='query' name='type' value='query' %IF{
"'%URLPARAM{type}%'='query'"
then="checked='checked'"
}% /><label for='query'> %MAKETEXT{"Query Search"}%</label>
</td>
</tr>
<tr>
<th><b>%MAKETEXT{"Don't show:"}%</b></th>
<td><input type='checkbox' class='foswikiCheckbox' id='nosearch' name='nosearch' %IF{
"'%URLPARAM{nosearch}%'='on'"
then="checked='checked'"
}% /><label for='nosearch'> %MAKETEXT{"Search string"}%</label><br />
<input type='checkbox' class='foswikiCheckbox' id='nosummary' name='nosummary' %IF{
"'%URLPARAM{nosummary}%'='on'"
then="checked='checked'"
}% /><label for='nosummary'> %MAKETEXT{"Summaries"}%</label><br />
<input type='checkbox' class='foswikiCheckbox' id='nototal' name='nototal' %IF{
"'%URLPARAM{nototal}%'='on'"
then="checked='checked'"
}% /><label for='nototal'> %MAKETEXT{"Total matches"}%</label><br />
</td>
</tr>
<tr>
<th class='foswikiLast'>%MAKETEXT{"Limit results to:"}%</th>
<td class='foswikiLast'><input type='text' class='foswikiInputField' id='limit' name='limit' size='3' value='%IF{
"'%URLPARAM{"limit" default="all"}%'='all'"
then="all"
else="%URLPARAM{limit}%"
}%' /><label for='limit'> %MAKETEXT{"Topics per web"}% </label><span class='foswikiSmall'>%MAKETEXT{"(=all= to show all topics)"}%</span>
</td>
</tr>
</table>
%IF{
"$'URLPARAM{search}'!=''"
then="<h2>%MAKETEXT{"Search results"}%</h2>
$percentINCLUDE{$quot%SYSTEMWEB%.%TOPIC%$quot section=$quotsearchfeed$quot}$percent"
}%%SEARCH{
"%URLPARAM{"search" encode="entities, quote"}%" decode="entities"
type="%URLPARAM{"type" default="word"}%"
scope="%URLPARAM{"scope" encode="safe, quote"}%"
web="%URLPARAM{"web" encode="safe, quote"}%"%IF{
"{EnableHierarchicalWebs}"
then="recurse=\"%URLPARAM{"recurse" encode="safe, quote"}%\""
}%
topic="%URLPARAM{"searchtopic" encode="safe, quote"}%"
excludetopic="%URLPARAM{"excludetopic" encode="safe, quote"}%"
nosearch="%URLPARAM{"nosearch" encode="safe, quote"}%"
casesensitive="%URLPARAM{"casesensitive" encode="safe, quote"}%"
nosummary="%URLPARAM{"nosummary" encode="safe, quote"}%"
nototal="%URLPARAM{"nototal" encode="safe, quote"}%"
order="%URLPARAM{"order" encode="safe, quote"}%"
reverse="%URLPARAM{"reverse" encode="safe, quote"}%"
pager="on"
limit="%URLPARAM{"limit" encode="safe, quote" default="%DEFAULTPAGESIZE%"}%"
pagesize="%DEFAULTPAGESIZE%"
zeroresults="%IF{
"defined search and $search!=''"
then="on"
else="off"
}%"
}%
<div>%ICON{"rss-small"}%%INCLUDE{"%SYSTEMWEB%.%TOPIC%" section="searchfeedlink"}%</div>
<a href='%SCRIPTURL{"view"}%/%BASEWEB%/WebRss?search=%URLPARAM{"search" encode="url"}%;type=%IF{
"'%URLPARAM{"regex"}%'='on' OR '%URLPARAM{"type"}%'='regex'"
then="regex"
else="word"
}%;excludetopic=%URLPARAM{"excludetopic" encode="url" default="%TOPIC%,%HOMETOPIC%,%STATISTICSTOPIC%"}%;web=%URLPARAM{"web" encode="url" default="%BASEWEB%"}%;recurse=%URLPARAM{"recurse" encode="url"}%;limit=%URLPARAM{"limit" encode="url" default="all"}%;scope=%URLPARAM{"scope" encode="url" default="text"}%;casesensitive=%URLPARAM{"casesensitive" encode="url" default="off"}%'>%MAKETEXT{"Get notified on changes on this search"}%</a>
%IF{
"$'URLPARAM{search}'!=''"
then='$percentINCLUDE{$quot%TOPIC%$quot section=$quot_querysearchexample$quot}$percent'
}%
<p /><div class='foswikiHelp'>
%MAKETEXT{"To display the above search results in a topic, copy-paste the following markup:"}%
<pre class='tml'>
%<nop>SEARCH{
"%URLPARAM{"search" encode="entities, quote"}%"
type="%URLPARAM{"type" default="%SEARCHDEFAULTTTYPE%"}%"%FORMAT{
"scope,web,recurse,nosearch,casesensitive,nosummary,nototal,order,reverse,limit"
type="string"
header="$n"
format="$percntIF{
\"(defined $item AND $'$item') AND ('$item' != 'recurse' OR {EnableHierarchicalWebs})\"
then=\" $item=\\"$percntURLPARAM{\"$item\" encode=\"safe, quote\"}$percnt\\"$n\"
}$percnt"
separator=""
}%}%
</pre>
</div>
%IF{
"$'URLPARAM{searchletter}'='%letter%'"
then="<strong>%letter%</strong>"
else="<a href='%SCRIPTURLPATH{"search"}%/%BASEWEB%/%TOPIC%?scope=topic&type=regex&search=%5E%letter%;$percentINCLUDE{$quot%TOPIC%$quot section=$quotsearchparamsadvanced$quot}$percent;searchletter=%letter%;tab=az'>%letter%</a>"
}%
%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="tabs"}%
<div class='foswikiWebSearchForm'>
%MAKETEXT{"List topics that start with the letter:"}% %INCLUDE{"%TOPIC%" section="letterlist"}%
</div>
%IF{
"$'URLPARAM{searchletter}'"
then="$percentINCLUDE{$quot%TOPIC%$quot section=$quotsearchresults$quot}$percent$percentINCLUDE{$quot%TOPIC%$quot section=$quotquerysearchexample$quot}$percent"
}%
<div class='foswikiHorizontalList foswikiUnvisited'>
<ul>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="A"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="B"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="C"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="D"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="E"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="F"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="G"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="H"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="I"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="J"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="K"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="L"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="M"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="N"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="O"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="P"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="Q"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="R"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="S"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="T"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="U"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="V"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="W"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="X"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="Y"}%</li>
<li class='foswikiLast'>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="Z"}%</li>
</ul>
<div class='foswikiClear'></div>
</div>
]]>}%
%TMPL:DEF{"aftertext"}%
%DBCALL{"Applications.RenderFunctionCallers"}%
%IF{"text=~'©'"
else="$percntTMPL:P{\"copyright\"}$percnt"
}%%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"copyright"}%%DBQUERY{"TopicType=~'\bWikiApplication\b'"
limit="1"
header="<h2 >Copyright</h2>"
format="$expand(Copyright)$n
$percntDBCALL{\"$expand(License)\" section=\"notice\" warn=\"off\"}$percnt"
}%%TMPL:END%
%{}%
]]>}%
%TMPL:DEF{"rsshead"}%<?xml version="1.0" encoding="%CHARSET%" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" >
%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"rssbody"}%<channel rdf:about="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%">
<title>%WEB% - %WIKITOOLNAME%</title>
<link>%SCRIPTURL{"view"}%/%WEB%</link>
<description>%WEBSUMMARY%</description>
<image rdf:resource="%WEBLOGOIMG%" />
<dc:language>en-us</dc:language>
<dc:rights>%WEBRSSCOPYRIGHT%</dc:rights>
<dc:publisher>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:publisher>
<dc:creator>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:creator>
<dc:source>%WIKITOOLNAME%</dc:source>
<items>
<rdf:Seq>
%DBQUERY{"%FILTER{default=""}%"
exclude="%EXCLUDE{default="^(Web.*|TopicType|TopicStub|.*ViewTemplate|.*SideBar|.*LeftBar)$"}%"
sort="created"
reverse="on"
limit="%LIMIT{default="10"}%"
format=" <rdf:li rdf:resource=\"%SCRIPTURL{"view"}%/$web/$topic\" />$n"
separator=""
}% </rdf:Seq>
</items>
</channel>
<image rdf:about="%WEBLOGOIMG%">
<title>%WEB% - %WIKITOOLNAME%</title>
<link>%SCRIPTURL{"view"}%/%WEB%</link>
<url>%WEBLOGOIMG{default="%WIKILOGOIMG%"}%</url>
</image>
%DBQUERY{"%FILTER{default=""}%"
exclude="%EXCLUDE{default="^(Web.*|TopicType|TopicStub|.*ViewTemplate|.*SideBar|.*LeftBar)$"}%"
sort="created"
reverse="on"
limit="%LIMIT{default="10"}%"
separator="$n"
format="$percntDBCALL{\"$web.$topic->RenderRss\"}$percnt"
}%
%TMPL:END%
%{}%
%{}%
%TMPL:DEF{"rssfooter"}%</rdf:RDF>%TMPL:END%
%{}%
]]>%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="form"}%
%INCLUDE{"%TOPIC%" section="searchresults"}%
%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="form"}%
%INCLUDE{"%TOPIC%" section="searchresults"}%
%INCLUDE{"%TOPIC%" section="querysearchexample"}%
%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="tabs"}%
%INCLUDE{"%SYSTEMWEB%.SearchHelp"}%
---+!! %MAKETEXT{"Search in [_1] Web" args="<nop>%BASEWEB%"}%
%INCLUDE{"%TOPIC%" section="tabs"}%<noautolink>
<div class='foswikiWebSearchForm'>
<form name='WebSearchForm' action='%SCRIPTURLPATH{view}%/%BASEWEB%/%TOPIC%'>
<input type='hidden' name='tab' value='%URLPARAM{"tab" default="search"}%' />
<div class='foswikiFormSteps'>
<div class='foswikiFormStep'>
<input type='text' class='foswikiInputField foswikiFocus' name='search' value='%URLPARAM{"search" encode="entity"}%' size='40' style='width:99%' placeholder='%MAKETEXT{"Search"}%' />
</div>
<div class='foswikiFormStep'>
%TWISTY{
id="searchOptions"
mode="div"
start="%IF{
"$'URLPARAM{search}'=''"
then="show"
else="hide"
}%"
link="<strong>%MAKETEXT{"Search options"}%</strong>"
showimgleft="%ICONURLPATH{toggleopen}%"
hideimgleft="%ICONURLPATH{toggleclose}%"
}%%IF{
"$'URLPARAM{tab}'='search' OR $'URLPARAM{tab}'='' AND NOT $TAB='advanced'"
then="$percentINCLUDE{$quot%TOPIC%$quot section=$quotoptionssimple$quot}$percent"
}%%IF{
"$'URLPARAM{tab}'='searchadvanced' OR $TAB='advanced'"
then="$percentINCLUDE{$quot%TOPIC%$quot section=$quotoptionsadvanced$quot}$percent"
}%%ENDTWISTY%</div>
<div class='foswikiFormStep'>
<input type='submit' class='foswikiSubmit' value='%MAKETEXT{"Search"}%' />
</div>
</div><!--//foswikiFormSteps-->
</form>
</div></noautolink>
search=%URLPARAM{"search" encode="url"}%;scope=%URLPARAM{"scope" encode="url" default="all"}%;web=%URLPARAM{"web" encode="url"}%;recurse=%URLPARAM{"recurse" encode="url"}%;type=%URLPARAM{"type" encode="url" default="%SEARCHDEFAULTTTYPE%"}%
%INCLUDE{"%TOPIC%" section="searchparamssimple"}%;type=%URLPARAM{"type" encode="url" default="%SEARCHDEFAULTTTYPE%"}%;nosearch=%URLPARAM{"nosearch" encode="url"}%;limit=%URLPARAM{"limit" encode="url"}%;excludetopic=%URLPARAM{"excludetopic" encode="url"}%;casesensitive=%URLPARAM{"casesensitive" encode="url"}%
<noautolink><div class='foswikiTabs'>
<ul>
<li%IF{
"$'URLPARAM{tab}'='search' OR $'URLPARAM{tab}'='' AND NOT $TAB='advanced'"
then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamssimple"}%;tab=search'>%MAKETEXT{"Search"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='searchadvanced' OR $TAB='advanced'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=searchadvanced'>%MAKETEXT{"Advanced search"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='az'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=az'>%MAKETEXT{"A-Z"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='help'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=help'>%MAKETEXT{"Help"}%</a></li>
</ul>
<div class='foswikiClear'></div>
</div></noautolink>
<table id='foswikiSearchTable' class='foswikiSearchTable' border='0' cellspacing='0' cellpadding='0'>
<tr>
<th>%MAKETEXT{"Search where:"}%</th>
<td>
<input type='radio' class='foswikiRadioButton' id='textbody' name='scope' value='text' %IF{
"'%URLPARAM{"scope"}%'='text'"
then="checked='checked'"
}% /><label for='textbody'> %MAKETEXT{"Text body"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='topictitle' name='scope' value='topic' %IF{
"'%URLPARAM{"scope" default="all"}%'='topic'"
then="checked='checked'"
}% /><label for='topictitle'> %MAKETEXT{"Topic title"}% </label><br />
<input type='radio' class='foswikiRadioButton' id='both' name='scope' value='all' %IF{
"'%URLPARAM{"scope" default="all"}%'='all'"
then="checked='checked'"
}% /><label for='both'> %MAKETEXT{"Both body and title"}%</label>
<hr />
<input type='checkbox' class='foswikiCheckbox' id='web' name='web' value='all' %IF{
"'%URLPARAM{web}%'='all'"
then="checked='checked'"
}% /><label for='web'> %MAKETEXT{"All public webs"}%</label> <span class='foswikiSmall'>%MAKETEXT{"(otherwise search [_1] Web only)" args="<nop>%BASEWEB%"}%</span>
<input type='checkbox' class='foswikiCheckbox' id='recurse' name='recurse' value='on' %IF{
"'%URLPARAM{recurse}%'='on'"
then="checked='checked'"
}% /><label for='recurse'> %MAKETEXT{"Subwebs"}%</label>
</td>
</tr>
</table>
<table id='foswikiSearchTable' class='foswikiSearchTable' border='0' cellspacing='0' cellpadding='0'>
<tr>
<th>%MAKETEXT{"Search where:"}%</th>
<td>
<input type='radio' class='foswikiRadioButton' id='textbody' name='scope' value='text' %IF{
"'%URLPARAM{"scope"}%'='text'"
then="checked='checked'"
}% /><label for='textbody'> %MAKETEXT{"Text body"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='topictitle' name='scope' value='topic' %IF{
"'%URLPARAM{"scope" default="all"}%'='topic'"
then="checked='checked'"
}% /><label for='topictitle'> %MAKETEXT{"Topic title"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='both' name='scope' value='all' %IF{
"'%URLPARAM{"scope" default="all"}%'='all'"
then="checked='checked'"
}% /><label for='both'> %MAKETEXT{"Both body and title"}%</label>
<hr />
<input type='checkbox' class='foswikiCheckbox' id='web' name='web' value='all' %IF{
"'%URLPARAM{web}%'='all'"
then="checked='checked'"
}% /><label for='web'> %MAKETEXT{"All public webs"}%</label> <span class='foswikiSmall'>%MAKETEXT{"(otherwise search [_1] Web only)" args="<nop>%BASEWEB%"}%</span>
<input type='checkbox' class='foswikiCheckbox' id='recurse' name='recurse' value='on' %IF{
"'%URLPARAM{recurse}%'='on'"
then="checked='checked'"
}% /><label for='recurse'> %MAKETEXT{"Subwebs"}%</label>
</td>
</tr>
<tr>
<th>%MAKETEXT{"Sort results by:"}%</th>
<td>
<input type='radio' class='foswikiRadioButton' id='topic' name='order' value='topic' %IF{
"'%URLPARAM{"order" default="topic"}%'='topic'"
then="checked='checked'"
}% /><label for='topic'> %MAKETEXT{"Topic name"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='modified' name='order' value='modified' %IF{
"'%URLPARAM{order}%'='modified'"
then="checked='checked'"
}% /><label for='modified'> %MAKETEXT{"Last modified time"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='editby' name='order' value='editby' %IF{
"'%URLPARAM{order}%'='editby'"
then="checked='checked'"
}% /><label for='editby'> %MAKETEXT{"Last editor"}%</label>
<hr />
<input type='checkbox' class='foswikiCheckbox' name='reverse' id='reverse' %IF{
"'%URLPARAM{reverse}%'='on'"
then="checked='checked'"
}% /><label for='reverse'> %MAKETEXT{"In reversed order"}%</label>
</td>
</tr>
<tr>
<th>%MAKETEXT{"Make search:"}%</th>
<td>%MAKETEXT{"Selections apply to search in \"text body\""}% <span class='foswikiUnvisited foswikiSmall'>%POPUPWINDOW{"%SYSTEMWEB%.SearchHelp" label="%MAKETEXT{"Help"}%"}%</span>
<hr />
<input type='checkbox' class='foswikiCheckbox' id='casesensitive' name='casesensitive' %IF{
"'%URLPARAM{casesensitive}%'='on'"
then="checked='checked'"
}% /><label for='casesensitive'> %MAKETEXT{"Case sensitive"}%</label><br />
<hr />
<input type='radio' class='foswikiRadioButton' id='word' name='type' value='word' %IF{
"'%URLPARAM{"type" default="%SEARCHDEFAULTTTYPE%"}%'='word'"
then="checked='checked'"
}% /><label for='word'> %MAKETEXT{"Word search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='keyword' name='type' value='keyword' %IF{
"'%URLPARAM{"type" default="%SEARCHDEFAULTTTYPE%"}%'='keyword'"
then="checked='checked'"
}% /><label for='keyword'> %MAKETEXT{"Keyword search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='literal' name='type' value='literal' %IF{
"'%URLPARAM{type}%'='literal'"
then="checked='checked'"
}% /><label for='literal'> %MAKETEXT{"Literal search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='regex' name='type' value='regex' %IF{
"'%URLPARAM{type}%'='regex'"
then="checked='checked'"
}% /><label for='regex'> %MAKETEXT{"Regular expression search"}%</label><br />
<input type='radio' class='foswikiRadioButton' id='query' name='type' value='query' %IF{
"'%URLPARAM{type}%'='query'"
then="checked='checked'"
}% /><label for='query'> %MAKETEXT{"Query Search"}%</label>
</td>
</tr>
<tr>
<th><b>%MAKETEXT{"Don't show:"}%</b></th>
<td><input type='checkbox' class='foswikiCheckbox' id='nosearch' name='nosearch' %IF{
"'%URLPARAM{nosearch}%'='on'"
then="checked='checked'"
}% /><label for='nosearch'> %MAKETEXT{"Search string"}%</label><br />
<input type='checkbox' class='foswikiCheckbox' id='nosummary' name='nosummary' %IF{
"'%URLPARAM{nosummary}%'='on'"
then="checked='checked'"
}% /><label for='nosummary'> %MAKETEXT{"Summaries"}%</label><br />
<input type='checkbox' class='foswikiCheckbox' id='nototal' name='nototal' %IF{
"'%URLPARAM{nototal}%'='on'"
then="checked='checked'"
}% /><label for='nototal'> %MAKETEXT{"Total matches"}%</label><br />
</td>
</tr>
<tr>
<th class='foswikiLast'>%MAKETEXT{"Limit results to:"}%</th>
<td class='foswikiLast'><input type='text' class='foswikiInputField' id='limit' name='limit' size='3' value='%IF{
"'%URLPARAM{"limit" default="all"}%'='all'"
then="all"
else="%URLPARAM{limit}%"
}%' /><label for='limit'> %MAKETEXT{"Topics per web"}% </label><span class='foswikiSmall'>%MAKETEXT{"(=all= to show all topics)"}%</span>
</td>
</tr>
</table>
%IF{
"$'URLPARAM{search}'!=''"
then="<h2>%MAKETEXT{"Search results"}%</h2>
$percentINCLUDE{$quot%SYSTEMWEB%.%TOPIC%$quot section=$quotsearchfeed$quot}$percent"
}%%SEARCH{
"%URLPARAM{"search" encode="entities, quote"}%" decode="entities"
type="%URLPARAM{"type" default="word"}%"
scope="%URLPARAM{"scope" encode="safe, quote"}%"
web="%URLPARAM{"web" encode="safe, quote"}%"%IF{
"{EnableHierarchicalWebs}"
then="recurse=\"%URLPARAM{"recurse" encode="safe, quote"}%\""
}%
topic="%URLPARAM{"searchtopic" encode="safe, quote"}%"
excludetopic="%URLPARAM{"excludetopic" encode="safe, quote"}%"
nosearch="%URLPARAM{"nosearch" encode="safe, quote"}%"
casesensitive="%URLPARAM{"casesensitive" encode="safe, quote"}%"
nosummary="%URLPARAM{"nosummary" encode="safe, quote"}%"
nototal="%URLPARAM{"nototal" encode="safe, quote"}%"
order="%URLPARAM{"order" encode="safe, quote"}%"
reverse="%URLPARAM{"reverse" encode="safe, quote"}%"
pager="on"
limit="%URLPARAM{"limit" encode="safe, quote" default="%DEFAULTPAGESIZE%"}%"
pagesize="%DEFAULTPAGESIZE%"
zeroresults="%IF{
"defined search and $search!=''"
then="on"
else="off"
}%"
}%
<div>%ICON{"rss-small"}%%INCLUDE{"%SYSTEMWEB%.%TOPIC%" section="searchfeedlink"}%</div>
<a href='%SCRIPTURL{"view"}%/%BASEWEB%/WebRss?search=%URLPARAM{"search" encode="url"}%;type=%IF{
"'%URLPARAM{"regex"}%'='on' OR '%URLPARAM{"type"}%'='regex'"
then="regex"
else="word"
}%;excludetopic=%URLPARAM{"excludetopic" encode="url" default="%TOPIC%,%HOMETOPIC%,%STATISTICSTOPIC%"}%;web=%URLPARAM{"web" encode="url" default="%BASEWEB%"}%;recurse=%URLPARAM{"recurse" encode="url"}%;limit=%URLPARAM{"limit" encode="url" default="all"}%;scope=%URLPARAM{"scope" encode="url" default="text"}%;casesensitive=%URLPARAM{"casesensitive" encode="url" default="off"}%'>%MAKETEXT{"Get notified on changes on this search"}%</a>
%IF{
"$'URLPARAM{search}'!=''"
then='$percentINCLUDE{$quot%TOPIC%$quot section=$quot_querysearchexample$quot}$percent'
}%
<p /><div class='foswikiHelp'>
%MAKETEXT{"To display the above search results in a topic, copy-paste the following markup:"}%
<pre class='tml'>
%<nop>SEARCH{
"%URLPARAM{"search" encode="entities, quote"}%"
type="%URLPARAM{"type" default="%SEARCHDEFAULTTTYPE%"}%"%FORMAT{
"scope,web,recurse,nosearch,casesensitive,nosummary,nototal,order,reverse,limit"
type="string"
header="$n"
format="$percntIF{
\"(defined $item AND $'$item') AND ('$item' != 'recurse' OR {EnableHierarchicalWebs})\"
then=\" $item=\\"$percntURLPARAM{\"$item\" encode=\"safe, quote\"}$percnt\\"$n\"
}$percnt"
separator=""
}%}%
</pre>
</div>
%IF{
"$'URLPARAM{searchletter}'='%letter%'"
then="<strong>%letter%</strong>"
else="<a href='%SCRIPTURLPATH{"search"}%/%BASEWEB%/%TOPIC%?scope=topic&type=regex&search=%5E%letter%;$percentINCLUDE{$quot%TOPIC%$quot section=$quotsearchparamsadvanced$quot}$percent;searchletter=%letter%;tab=az'>%letter%</a>"
}%
%INCLUDE{"%TOPIC%" section="title"}%
%INCLUDE{"%TOPIC%" section="tabs"}%
<div class='foswikiWebSearchForm'>
%MAKETEXT{"List topics that start with the letter:"}% %INCLUDE{"%TOPIC%" section="letterlist"}%
</div>
%IF{
"$'URLPARAM{searchletter}'"
then="$percentINCLUDE{$quot%TOPIC%$quot section=$quotsearchresults$quot}$percent$percentINCLUDE{$quot%TOPIC%$quot section=$quotquerysearchexample$quot}$percent"
}%
<div class='foswikiHorizontalList foswikiUnvisited'>
<ul>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="A"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="B"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="C"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="D"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="E"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="F"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="G"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="H"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="I"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="J"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="K"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="L"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="M"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="N"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="O"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="P"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="Q"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="R"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="S"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="T"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="U"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="V"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="W"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="X"}%</li>
<li>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="Y"}%</li>
<li class='foswikiLast'>%INCLUDE{"%TOPIC%" section="searchbyletterlink" letter="Z"}%</li>
</ul>
<div class='foswikiClear'></div>
</div>
]]>
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.