Renders UI for filtering list of topics.
Documentation
This
TopicFunction renders a user interface for filtering a list of classified topics.
Parameters
Css
Implementation
%STARTINCLUDE%<div class=patternTopicAction>%TWISTY{id="topicfilters" showlink=" *Show list filters* " showimg="%ICONURLPATH{toggleopen-small}%"
hidelink=" *Hide list filters* " hideimg="%ICONURLPATH{toggleclose-small}%" mode="div" remember="on"}%
<noautolink>
<form name="filterList" action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%BASEWEB%/%BASETOPIC%" >
%FORMATLIST{"%FORMFIELD{"Facets" topic="%BASEWEB%.%BASETOPIC%"}%" separator=" $n" format="| Filter by $1: | <select name=\"$1\" size=\"1\" > <option value=\"\">Select...</option> $percntDBQUERY{\"$percntFORMFIELD{\"Classification\" topic=\"%BASEWEB%.$1\" }$percnt='$1'\" web=\"%BASEWEB%\" format=\"<option $dollarpercntIF{\\"$'URLPARAM{$1}'='$topic'\\" then=\\"selected\\" else=\\" \\"}$dollarpercnt>$topic</option>\" separator=\" \" }$percnt</select> | "}%
| Find word or phrase: | <input class="foswikiInputField" type="text" name="string" value="%URLPARAM{"string"}%" size="35" /> |
| Number of results to display: | <select name="limit" size="1" > <option value='%URLPARAM{"limit" default="25" }%'>%URLPARAM{"limit" default="25" }%</option><option>50</option><option>100</option><option>200</option><option value="all">All</option></select> |
| <input type="submit" class="foswikiSubmit" value='Apply Filter' > ||
</form>
</noautolink>
%ENDTWISTY%</div>%STOPINCLUDE%
Test
Calls to 'RenderStandardFilter'
Copyright
(C) 2006
LynnwoodBrown@Skyloom.com
This file is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version. For
more details read the
LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.