Beginning some reformatting of advanced search interface

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2007-12-28 08:53:52 -06:00 committed by Joshua Ferraro
parent 063d68436a
commit 5082f7e280
2 changed files with 169 additions and 104 deletions

View file

@ -1,28 +1,86 @@
<option value="relevance">Relevance</option> <option value="relevance">Relevance</option>
<optgroup label="Popularity"> <optgroup label="Popularity">
<option value="popularity_dsc" <!-- TMPL_IF NAME="popularity_dsc" -->selected="selected" <!-- /TMPL_IF -->>Popularity (Most to Least)</option>
<option value="popularity_asc" <!-- TMPL_IF NAME="popularity_asc" -->selected="selected" <!-- /TMPL_IF -->>Popularity (Least to Most)</option> <!-- TMPL_IF NAME="popularity_dsc" -->
<option value="popularity_dsc" selected="selected">Popularity (Most to Least)</option>
<!-- TMPL_ELSE -->
<option value="popularity_dsc">Popularity (Most to Least)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="popularity_asc" -->
<option value="popularity_asc" selected="selected">Popularity (Least to Most)</option>
<!-- TMPL_ELSE -->
<option value="popularity_asc">Popularity (Least to Most)</option>
<!-- /TMPL_IF -->
</optgroup> </optgroup>
<optgroup label="Author"> <optgroup label="Author">
<option value="author_az" <!-- TMPL_IF NAME="author_az" -->selected="selected" <!-- /TMPL_IF -->>Author (A-Z)</option>
<option value="author_za" <!-- TMPL_IF NAME="author_za" -->selected="selected" <!-- /TMPL_IF -->>Author (Z-A)</option> <!-- TMPL_IF NAME="author_az" -->
<option value="author_az" selected="selected">Author (A-Z)</option>
<!-- TMPL_ELSE -->
<option value="author_az">Author (A-Z)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="author_za" -->
<option value="author_za" selected="selected">Author (Z-A)</option>
<!-- TMPL_ELSE -->
<option value="author_za">Author (Z-A)</option>
<!-- /TMPL_IF -->
</optgroup> </optgroup>
<optgroup label="Call Number"> <optgroup label="Call Number">
<option value="call_number_asc" <!-- TMPL_IF NAME="call_number_asc" -->selected="selected" <!-- /TMPL_IF -->>Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
<option value="call_number_dsc" <!-- TMPL_IF NAME="call_number_dsc" -->selected="selected" <!-- /TMPL_IF -->>Call Number (Fiction Z-A to Non-fiction 9-0)</option> <!-- TMPL_IF NAME="call_number_asc" -->
<option value="call_number_asc" selected="selected">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
<!-- TMPL_ELSE -->
<option value="call_number_asc">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="call_number_dsc" -->
<option value="call_number_dsc" selected="selected">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
<!-- TMPL_ELSE -->
<option value="call_number_dsc">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
<!-- /TMPL_IF -->
</optgroup> </optgroup>
<optgroup label="Dates"> <optgroup label="Dates">
<option value="pubdate_dsc" <!-- TMPL_IF NAME="pubdate_dsc" -->selected="selected" <!-- /TMPL_IF -->>Publication/Copyright Date: Newest to Oldest</option> <!-- TMPL_IF NAME="pubdate_dsc" -->
<option value="pubdate_asc" <!-- TMPL_IF NAME="pubdate_asc" -->selected="selected" <!-- /TMPL_IF -->>Publication/Copyright Date: Oldest to Newest</option> <option value="pubdate_dsc" selected="selected" >Publication/Copyright Date: Newest to Oldest</option>
<option value="acqdate_dsc" <!-- TMPL_IF NAME="acqdate_dsc" -->selected="selected" <!-- /TMPL_IF -->>Acquisition Date: Newest to Oldest</option> <!-- TMPL_ELSE -->
<option value="acqdate_asc" <!-- TMPL_IF NAME="acqdate_dsc" -->selected="selected" <!-- /TMPL_IF -->>Acquisition Date: Oldest to Newest</option> <option value="pubdate_dsc">Publication/Copyright Date: Newest to Oldest</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="pubdate_asc" -->
<option value="pubdate_asc" selected="selected" >Publication/Copyright Date: Oldest to Newest</option>
<!-- TMPL_ELSE -->
<option value="pubdate_asc">Publication/Copyright Date: Oldest to Newest</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="acqdate_dsc" -->
<option value="acqdate_dsc" selected="selected">Acquisition Date: Newest to Oldest</option>
<!-- TMPL_ELSE -->
<option value="acqdate_dsc">Acquisition Date: Newest to Oldest</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="acqdate_dsc" -->
<option value="acqdate_asc"selected="selected">Acquisition Date: Oldest to Newest</option>
<!-- TMPL_ELSE -->
<option value="acqdate_asc">Acquisition Date: Oldest to Newest</option>
<!-- /TMPL_IF -->
</optgroup> </optgroup>
<optgroup label="Title"> <optgroup label="Title">
<option value="title_az" <!-- TMPL_IF NAME="title_az" -->selected="selected" <!-- /TMPL_IF -->>Title (A-Z)</option> <!-- TMPL_IF NAME="title_az" -->
<option value="title_za" <!-- TMPL_IF NAME="title_za" -->selected="selected" <!-- /TMPL_IF -->>Title (Z-A)</option> <option value="title_az" selected="selected">Title (A-Z)</option>
<!-- TMPL_ELSE -->
<option value="title_az">Title (A-Z)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="title_za" -->
<option value="title_za" selected="selected">Title (Z-A)</option>
<!-- TMPL_ELSE -->
<option value="title_za">Title (Z-A)</option>
<!-- /TMPL_IF -->
</optgroup> </optgroup>

View file

@ -7,7 +7,7 @@
* This function allows to display a new field to search. * This function allows to display a new field to search.
*/ */
function add_field() { function add_field() {
var ButtonPlus = document.getElementById('ButtonPlus'); var ButtonPlus = document.getElementById("ButtonPlus");
var line = ButtonPlus.parentNode; var line = ButtonPlus.parentNode;
var dad = line.parentNode; var dad = line.parentNode;
dad.appendChild(line.cloneNode(true)); dad.appendChild(line.cloneNode(true));
@ -32,8 +32,7 @@
<fieldset> <fieldset>
<legend>Select local databases</legend> <legend>Select local databases</legend>
<!-- TMPL_LOOP NAME="local_servers_loop" --> <!-- TMPL_LOOP NAME="local_servers_loop" -->
<input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" <!-- TMPL_IF NAME="checked" -->checked="<!-- TMPL_VAR NAME="checked" -->"<!-- /TMPL_IF --> value="<!-- TMPL_VAR NAME="value" -->" /><label for="<!-- TMPL_VAR NAME="id" -->"><img width="16" height="16" alt="<!-- TMPL_VAR NAME="id" -->" src="<!-- TMPL_VAR NAME="themelang" -->/img/<!-- TMPL_VAR NAME="icon" -->" /> <!-- TMPL_VAR NAME="label" --></label> <!-- TMPL_IF NAME="checked" --><input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" checked="checked" value="<!-- TMPL_VAR NAME="value" -->" /><!-- TMPL_ELSE --><input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" /><!-- /TMPL_IF --><label for="<!-- TMPL_VAR NAME="id" -->"><img width="16" height="16" alt="<!-- TMPL_VAR NAME="id" -->" src="<!-- TMPL_VAR NAME="themelang" -->/img/<!-- TMPL_VAR NAME="icon" -->" /> <!-- TMPL_VAR NAME="label" --></label><!-- /TMPL_LOOP -->
<!-- /TMPL_LOOP -->
</fieldset> </fieldset>
<!-- /DATABASES --> <!-- /DATABASES -->
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
@ -43,7 +42,8 @@
<fieldset> <fieldset>
<legend>Select remote databases:</legend> <legend>Select remote databases:</legend>
<!-- TMPL_LOOP NAME="outer_servers_loop" --> <!-- TMPL_LOOP NAME="outer_servers_loop" -->
<input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" <!-- TMPL_IF NAME="checked" -->checked="<!-- TMPL_VAR NAME="checked" -->"<!-- /TMPL_IF --> value="<!-- TMPL_VAR NAME="value" -->" /><label for="<!-- TMPL_VAR NAME="id" -->"><img alt="<!-- TMPL_VAR NAME="id" -->" src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="icon" -->" /><!-- TMPL_VAR NAME="label" --></label> <!-- TMPL_IF NAME="checked" --><input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" checked="checked" value="<!-- TMPL_VAR NAME="value" -->" /><!-- TMPL_ELSE --><input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" /><!-- /TMPL_IF -->
<label for="<!-- TMPL_VAR NAME="id" -->"><img alt="<!-- TMPL_VAR NAME="id" -->" src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="icon" -->" /><!-- TMPL_VAR NAME="label" --></label>
<!-- /TMPL_LOOP --> <!-- /TMPL_LOOP -->
</fieldset> </fieldset>
<!-- /REMOTE DATABASES --> <!-- /REMOTE DATABASES -->
@ -53,7 +53,7 @@
<fieldset> <fieldset>
<legend>Search For: </legend> <legend>Search For: </legend>
<!-- TMPL_LOOP NAME="search_boxes_loop" --> <!-- TMPL_LOOP NAME="search_boxes_loop" -->
<div> <!-- TMPL_IF NAME="search_boxes_label" --><div style="text-indent: 4.5em;"><!-- TMPL_ELSE --><div><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="expanded_options" --> <!-- TMPL_IF NAME="expanded_options" -->
<!-- TMPL_IF NAME="boolean" --> <!-- TMPL_IF NAME="boolean" -->
<select name="op"> <select name="op">
@ -64,7 +64,7 @@
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="search_indexes.inc" --> <!-- TMPL_INCLUDE NAME="search_indexes.inc" -->
<input id="search_box" type="text" size="30" name="q" title="Enter search terms" value="" class="focus" /> <input type="text" size="30" name="q" title="Enter search terms" value="" class="focus" />
<!-- TMPL_IF NAME="expanded_options" --> <!-- TMPL_IF NAME="expanded_options" -->
<!-- TMPL_IF NAME="add_field" --> <!-- TMPL_IF NAME="add_field" -->
<a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a> <a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>
@ -88,7 +88,7 @@
<td> <td>
<!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->
<input type="checkbox" id="mc-<!--TMPL_VAR Name="number" -->" name="limit" value="mc:<!--TMPL_VAR Name="code" -->" />&nbsp; <input type="checkbox" id="mc-<!--TMPL_VAR Name="number" -->" name="limit" value="mc:<!--TMPL_VAR Name="code" -->" />&nbsp;
<!--TMPL_VAR Name="description" --></td> <label for="mc-<!--TMPL_VAR Name="number" -->"><!--TMPL_VAR Name="description" --></label></td>
<!-- TMPL_UNLESS name="count5" --></tr><tr><!-- /TMPL_UNLESS --> <!-- TMPL_UNLESS name="count5" --></tr><tr><!-- /TMPL_UNLESS -->
<!--/TMPL_LOOP--> <!--/TMPL_LOOP-->
</tr> </tr>
@ -111,7 +111,12 @@
<select name="limit"> <select name="limit">
<option value="">No Limit</option> <option value="">No Limit</option>
<!-- TMPL_LOOP NAME="search_languages_loop" --> <!-- TMPL_LOOP NAME="search_languages_loop" -->
<option value="ln:<!-- TMPL_VAR NAME="language_code" -->" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="language_name" --> <!-- TMPL_IF NAME="language_locale_name" -->(<!-- TMPL_VAR NAME="language_locale_name" -->)<!-- /TMPL_IF --></option> <!-- TMPL_IF NAME="selected" -->
<option value="ln:<!-- TMPL_VAR NAME="language_code" -->" selected="selected"><!-- TMPL_VAR NAME="language_name" --> <!-- TMPL_IF NAME="language_locale_name" -->(<!-- TMPL_VAR NAME="language_locale_name" -->)<!-- /TMPL_IF --></option>
<!-- TMPL_ELSE -->
<option value="ln:<!-- TMPL_VAR NAME="language_code" -->"><!-- TMPL_VAR NAME="language_name" --> <!-- TMPL_IF NAME="language_locale_name" -->(<!-- TMPL_VAR NAME="language_locale_name" -->)<!-- /TMPL_IF --></option>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP --> <!-- /TMPL_LOOP -->
</select></p><!-- <a href="">Show all languages</a>--> </select></p><!-- <a href="">Show all languages</a>-->
<!-- /LANGUAGE LIMIT --> <!-- /LANGUAGE LIMIT -->
@ -119,94 +124,10 @@
<!-- /BASIC LIMITS --> <!-- /BASIC LIMITS -->
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="template-defined-limits" -->
<!-- TYPE LIMITS -->
<fieldset>
<legend>Limit type to: match any of the following</legend>
<table class="itemtypes">
<tr>
<td><input type="checkbox" id="mc-bks" name="limit" value="mc:t" />
<label for="mc-bks" title="Books, Pamphlets, Technical reports, Manuscripts, Legal papers, Theses and dissertations">
<img border="0" src="/intranet-tmpl/prog/img/AF.gif" alt="Books" />Books</label></td>
<td><input type="checkbox" id="mc-vis" name="limit" value="mc:v" />
<label for="mc-vis" title="Motion pictures, Videorecordings, Filmstrips, Slides, Transparencies, Photos, Cards, Charts, Drawings">
<img border="0" src="/intranet-tmpl/prog/en/images/AV Aids.gif" alt="Visual Materials" />Visual Materials</label></td>
<td><input type="checkbox" id="mc-sr" name="limit" value="mc-rtype:i" />
<label for="mc-sr" title="Spoken, Books on CD and Cassette">
<img border="0" src="/intranet-tmpl/prog/en/images/AF.gif" alt="Books on Tape" />Books on Tape</label></td>
</tr>
<tr>
<td><input type="checkbox" id="mc-cf" name="limit" value="mc:c" />
<label for="mc-cf" title="Computer files, Data, Software">
<img border="0" src="/intranet-tmpl/prog/en/images/CD-ROM software.gif" alt="Computer Files" />Computer Files</label></td>
<td><input type="checkbox" id="mc-lh" name="limit" value="mc-collection:LH" />
<label for="mc-lh" title="Local History Materials">
<img border="0" src="/intranet-tmpl/prog/en/images/Local history.gif" alt="Local History Materials" />Local History Materials</label></td>
<td><input type="checkbox" id="mc-map" name="limit" value="mc:a" />
<label for="mc-map" title="Maps, Globes">
<img border="0" src="/intranet-tmpl/prog/en/images/PF.gif " alt="Maps" />Maps</label></td>
</tr>
<tr>
<td><input type="checkbox" id="mc-mus" name="limit" value="mc-rtype:j" />
<label for="mc-mus" title="Music">
<img border="0" src="/intranet-tmpl/prog/en/images/CDM.gif" alt="Music" />Music</label></td>
<td><input type="checkbox" id="mc-kit" name="limit" value="mc-rtype:o" />
<label for="mc-kit" title="Kits"><img border="0" src="/intranet-tmpl/prog/en/images/KIT.gif" alt="Kits" />Kits</label></td>
<td><input type="checkbox" id="mc-ref" name="limit" value="mc-collection:REF" />
<label for="mc-ref" title="Reference">
<img border="0" src="/intranet-tmpl/prog/en/images/REF.gif" alt="Reference" />Reference</label></td>
</tr>
</table>
</fieldset>
<!-- /TMPL_IF -->
<!-- /TYPE LIMITS -->
<!-- AVAILABILITY LIMITS -->
<fieldset><legend>Location and availability: </legend>
<p>
<label for="available-items">Only items currently available</label><input type="checkbox" id="available-items" name="limit" value="available" /></p>
<p>
<label>Individual Libraries </label><select name="limit" id="branchloop" onchange='if(this.value != ""){document.getElementById("categoryloop").disabled=true;} else {document.getElementById("categoryloop").disabled=false;}'>
<option value="">All Libraries</option>
<!-- TMPL_LOOP NAME="branchloop" -->
<option value="homebranch:<!-- TMPL_VAR NAME='value' -->"><!-- TMPL_VAR NAME='branchname' --></option>
<!-- /TMPL_LOOP -->
</select>
<!-- <input type='hidden' name='limit' value='branch: MAIN' /> -->
</p>
<!-- TMPL_IF NAME="searchdomainloop" -->
<p>OR<p> <!-- should addjs to grey out group pulldown if a library is selected. -->
<p>
<label>Groups of Libraries</label><select name="multibranchlimit" id="categoryloop">
<option value=""> -- none -- </option>
<!-- TMPL_LOOP NAME="searchdomainloop" -->
<option value="<!-- TMPL_VAR NAME='categorycode' -->"><!-- TMPL_VAR NAME='categoryname' --></option>
<!-- /TMPL_LOOP -->
</select>
</p>
<!-- /TMPL_IF -->
</fieldset>
<!-- /AVAILABILITY LIMITS -->
<!-- RANK LIMITS -->
<fieldset><legend>Sort by: </legend>
<p><select id="sort_by" name="sort_by">
<!-- TMPL_INCLUDE NAME="resort_form.inc" -->
</select>
</p>
</fieldset>
<!-- RANK LIMITS -->
</div>
<!-- TMPL_IF NAME="UNIMARC" --> <!-- TMPL_IF NAME="UNIMARC" -->
<!-- TMPL_INCLUDE NAME="subtypes_unimarc.inc" --> <!-- TMPL_INCLUDE NAME="subtypes_unimarc.inc" -->
<!-- TMPL_ELSE --> <!-- TMPL_ELSE -->
<div id="sidebar">
<!-- SUBTYPE LIMITS --> <!-- SUBTYPE LIMITS -->
<fieldset> <fieldset>
<legend>Subtype limits:</legend><p> <legend>Subtype limits:</legend><p>
@ -273,6 +194,92 @@
</fieldset> </fieldset>
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="template-defined-limits" -->
<!-- TYPE LIMITS -->
<fieldset>
<legend>Limit type to: match any of the following</legend>
<table class="itemtypes">
<tr>
<td><input type="checkbox" id="mc-bks" name="limit" value="mc:t" />
<label for="mc-bks" title="Books, Pamphlets, Technical reports, Manuscripts, Legal papers, Theses and dissertations">
<img border="0" src="/intranet-tmpl/prog/img/AF.gif" alt="Books" />Books</label></td>
<td><input type="checkbox" id="mc-vis" name="limit" value="mc:v" />
<label for="mc-vis" title="Motion pictures, Videorecordings, Filmstrips, Slides, Transparencies, Photos, Cards, Charts, Drawings">
<img border="0" src="/intranet-tmpl/prog/en/images/AV Aids.gif" alt="Visual Materials" />Visual Materials</label></td>
<td><input type="checkbox" id="mc-sr" name="limit" value="mc-rtype:i" />
<label for="mc-sr" title="Spoken, Books on CD and Cassette">
<img border="0" src="/intranet-tmpl/prog/en/images/AF.gif" alt="Books on Tape" />Books on Tape</label></td>
</tr>
<tr>
<td><input type="checkbox" id="mc-cf" name="limit" value="mc:c" />
<label for="mc-cf" title="Computer files, Data, Software">
<img border="0" src="/intranet-tmpl/prog/en/images/CD-ROM software.gif" alt="Computer Files" />Computer Files</label></td>
<td><input type="checkbox" id="mc-lh" name="limit" value="mc-collection:LH" />
<label for="mc-lh" title="Local History Materials">
<img border="0" src="/intranet-tmpl/prog/en/images/Local history.gif" alt="Local History Materials" />Local History Materials</label></td>
<td><input type="checkbox" id="mc-map" name="limit" value="mc:a" />
<label for="mc-map" title="Maps, Globes">
<img border="0" src="/intranet-tmpl/prog/en/images/PF.gif " alt="Maps" />Maps</label></td>
</tr>
<tr>
<td><input type="checkbox" id="mc-mus" name="limit" value="mc-rtype:j" />
<label for="mc-mus" title="Music">
<img border="0" src="/intranet-tmpl/prog/en/images/CDM.gif" alt="Music" />Music</label></td>
<td><input type="checkbox" id="mc-kit" name="limit" value="mc-rtype:o" />
<label for="mc-kit" title="Kits"><img border="0" src="/intranet-tmpl/prog/en/images/KIT.gif" alt="Kits" />Kits</label></td>
<td><input type="checkbox" id="mc-ref" name="limit" value="mc-collection:REF" />
<label for="mc-ref" title="Reference">
<img border="0" src="/intranet-tmpl/prog/en/images/REF.gif" alt="Reference" />Reference</label></td>
</tr>
</table>
</fieldset>
<!-- /TMPL_IF -->
<!-- /TYPE LIMITS -->
<!-- AVAILABILITY LIMITS -->
<fieldset><legend>Location and availability: </legend>
<p>
<label for="available-items">Only items currently available</label> <input type="checkbox" id="available-items" name="limit" value="available" /></p>
<p>
<label for="branchloop">Individual Libraries:</label><select name="limit" id="branchloop" onchange="if(this.value != ""){document.getElementById("categoryloop").disabled=true;} else {document.getElementById("categoryloop").disabled=false;}">
<option value="">All Libraries</option>
<!-- TMPL_LOOP NAME="branchloop" -->
<option value="homebranch:<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
<!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
</p>
<!-- TMPL_IF NAME="searchdomainloop" -->
<p>OR<p> <!-- should addjs to grey out group pulldown if a library is selected. -->
<p>
<label for="categoryloop">Groups of Libraries</label><select name="multibranchlimit" id="categoryloop">
<option value=""> -- none -- </option>
<!-- TMPL_LOOP NAME="searchdomainloop" -->
<option value="<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="categoryname" --></option>
<!-- /TMPL_LOOP -->
</select>
</p>
<!-- /TMPL_IF -->
</fieldset>
<!-- /AVAILABILITY LIMITS -->
<!-- RANK LIMITS -->
<fieldset><legend>Sort by: </legend>
<p><select id="sort_by" name="sort_by">
<!-- TMPL_INCLUDE NAME="resort_form.inc" -->
</select>
</p>
</fieldset>
<!-- RANK LIMITS -->
</div>
<!-- SEARCH BUTTONS --> <!-- SEARCH BUTTONS -->
<p><input class="submit" type="submit" accesskey="s" value="Search" /> <p><input class="submit" type="submit" accesskey="s" value="Search" />
<!-- TMPL_IF NAME="expanded_options" --> <!-- TMPL_IF NAME="expanded_options" -->