<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha › Catalogue › Advanced Search</title>
+<title>Koha › Catalog › Advanced Search</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/JavaScript" language="JavaScript">
/**
* This function allows to display a new field to search.
*/
function add_field() {
- var ButtonPlus = document.getElementById('ButtonPlus');
- var line = ButtonPlus.parentNode;
- var dad = line.parentNode;
- dad.appendChild(line.cloneNode(true));
- line.removeChild(ButtonPlus);
+ var ButtonPlus = document.getElementById("ButtonPlus");
+ var line = ButtonPlus.parentNode;
+ var dad = line.parentNode;
+ dad.appendChild(line.cloneNode(true));
+ line.removeChild(ButtonPlus);
}
+ $(document).ready(function() {
+ $("input[@name='q']:eq(0)").focus();
+ });
</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Advanced Search</div>
<div id="doc" class="yui-t7">
<div id="bd">
<form action="search.pl" method="get">
<div id="advanced-search">
-<!-- TMPL_IF NAME="expanded_options" -->
<h1>Advanced Search</h1>
-<!-- TMPL_ELSE -->
-<h1>Search the Catalogue</h1>
-<!-- /TMPL_IF -->
-<!-- TMPL_IF NAME="if_expanded_options_actually_worked" -->
<!-- TMPL_IF NAME="outer_servers_loop" -->
<!-- DATABASES -->
<fieldset>
<legend>Select local databases</legend>
<!-- 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" -->/images/<!-- TMPL_VAR NAME="icon" -->" /> <!-- TMPL_VAR NAME="label" --></label>
- <!-- /TMPL_LOOP -->
+<!-- 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 -->
</fieldset>
<!-- /DATABASES -->
<!-- /TMPL_IF -->
<fieldset>
<legend>Select remote databases:</legend>
<!-- 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 -->
</fieldset>
<!-- /REMOTE DATABASES -->
<!-- /TMPL_IF -->
-<!-- /TMPL_IF -->
<!-- BOOLEAN SEARCH OPTIONS -->
<fieldset>
<legend>Search For: </legend>
<!-- TMPL_LOOP NAME="search_boxes_loop" -->
-
- <!-- TMPL_IF NAME="expanded_options" -->
- <!-- TMPL_IF NAME="scan_index" -->
- <p><label for="scan">Scan Indexes</label><input type="checkbox" name="scan" id="scan" value="1" /></p>
- <!-- /TMPL_IF -->
- <!-- /TMPL_IF -->
- <!-- TMPL_IF NAME="expanded_options" -->
- <select name="op">
- <option value="and" selected="selected">and</option>
- <option value="or">or</option>
- <option value="not">not</option>
- </select>
- <!-- /TMPL_IF -->
- <select name="idx">
- <option value="kw,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Keyword</option>
- <option value="au,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Author</option>
- <option value="au,phr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Author Phrase</option>
- <option value="cpn,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Corporate Name</option>
- <option value="cfn,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Conference Name</option>
- <option value="cpn,phr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Corporate Name Phrase</option>
- <option value="cfn,phr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Conference Name Phrase</option>
- <option value="pn,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Personal Name</option>
- <option value="pn,phr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Personal Name Phrase</option>
- <option value="ln" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Language</option>
- <option value="nt,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Notes/Comments</option>
- <option value="pb,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Publisher</option>
- <option value="pl,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Publisher Location</option>
- <option value="yr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Publication Date</option>
- <option value="sn" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Standard Number</option>
- <option value="nb" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> ISBN</option>
- <option value="ns" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> ISSN</option>
- <option value="lcn" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Call Number</option>
- <option value="su,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Subject</option>
- <option value="su,phr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Subject Phrase</option>
- <option value="ti,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Title</option>
- <option value="ti,phr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Title Phrase</option>
- <option value="se,wrdl" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->> Series Title</option>
- <option value="bc" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Barcode</option>
-
- </select>
- <input id="search_box" type="text" size="30" name="q" title="Enter search terms" value="" class="focus" />
- <!-- TMPL_IF NAME="expanded_options" -->
- <!-- TMPL_IF NAME="add_field" -->
- <a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>
+ <!-- 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="boolean" -->
+ <select name="op">
+ <option value="and" selected="selected">and</option>
+ <option value="or">or</option>
+ <option value="not">not</option>
+ </select>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
+ <!-- TMPL_INCLUDE NAME="search_indexes.inc" -->
+ <input type="text" size="30" name="q" title="Enter search terms" value="" />
+ <!-- TMPL_IF NAME="expanded_options" -->
+ <!-- TMPL_IF NAME="add_field" -->
+ <a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="scan_index" -->
+ <label for="scan">Scan Indexes</label><input type="checkbox" name="scan" id="scan" value="1" />
+ <!-- /TMPL_IF -->
<!-- /TMPL_IF -->
- <!-- /TMPL_IF -->
-
+ </div>
<!-- /TMPL_LOOP -->
</fieldset>
<!-- /BOOLEAN SEARCH OPTIONS -->
+
+<!-- ITEMTYPE LIMITS -->
<div id="itemtypelist">
- <h2>Itemtype limit to any of the following:</h2>
+ <fieldset>
+ <legend>Limit to any of the following:</legend>
<table>
<tr>
<!--TMPL_LOOP Name="itemtypeloop"-->
- <td><p>
- <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF --><input type="checkbox" id="mt-<!--TMPL_VAR Name="number" -->" name="limit" value="mt:<!--TMPL_VAR Name="code" -->" />
- <!--TMPL_VAR Name="description" --></p></td>
+ <td>
+ <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->
+ <input type="checkbox" id="<!-- TMPL_VAR NAME="ccl" -->-<!--TMPL_VAR Name="number" -->" name="limit" value="mc-<!-- TMPL_VAR NAME="ccl" -->:<!--TMPL_VAR Name="code" -->" />
+ <label for="<!-- TMPL_VAR NAME="ccl" -->-<!--TMPL_VAR Name="number" -->"><!--TMPL_VAR Name="description" --></label></td>
<!-- TMPL_UNLESS name="count5" --></tr><tr><!-- /TMPL_UNLESS -->
<!--/TMPL_LOOP-->
+ <!-- FIXME: for validation, avoid generating empty row -->
</tr>
</table>
+ </fieldset>
</div>
+<!-- /ITEMTYPE LIMITS -->
+
<!-- TMPL_IF NAME="expanded_options" -->
<!-- BASIC LIMITS -->
-<!--TMPL_IF Name="usmarc"-->
- <fieldset>
+ <fieldset>
+ <legend>Limits:</legend>
+<!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options -->
+ <p><label for="limit-yr">Year: </label>
+ <input size="15" name="limit-yr" id="" value=""/> (format: yyyy-yyyy)</p>
+<!-- /PUB / COPY YEAR LIMIT -->
- <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/en/images/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>
+<!-- LANGUAGE LIMIT -->
+ <p><label for="language-limit">Language: </label>
+ <select name="limit">
+ <option value="">No Limit</option>
+ <!-- TMPL_LOOP NAME="search_languages_loop" -->
+ <!-- TMPL_IF NAME="selected" -->
+ <option value="ln:<!-- TMPL_VAR NAME="iso639_2_code" -->" selected="selected"><!-- TMPL_VAR NAME="language_description" --></option>
+ <!-- TMPL_ELSE -->
+ <option value="ln:<!-- TMPL_VAR NAME="iso639_2_code" -->"><!-- TMPL_VAR NAME="language_description" --></option>
+ <!-- /TMPL_IF -->
+
+ <!-- /TMPL_LOOP -->
+ </select></p><!-- <a href="">Show all languages</a>-->
+<!-- /LANGUAGE LIMIT -->
</fieldset>
-<!-- /TYPE LIMITS -->
+<!-- /BASIC LIMITS -->
+<!-- /TMPL_IF -->
-</div>
-</div>
-<div id="sidebar">
+<!-- TMPL_IF NAME="UNIMARC" -->
+<!-- TMPL_INCLUDE NAME="subtypes_unimarc.inc" -->
+<!-- TMPL_ELSE -->
<!-- SUBTYPE LIMITS -->
<fieldset>
- <legend>Subtype limits</legend><p>
+ <legend>Subtype limits:</legend><p>
<select name="limit" class="subtype">
- <option value="" selected="selected" class="menuheader">Any Audience</option>
- <option value="aud:a" >Easy</option>
- <option value="aud:c" >Juvenile</option>
- <option value="aud:d" >Young Adult</option>
- <option value="aud:e" >Adult</option>
+ <option value="" selected="selected" class="menuheader">Any audience</option>
+ <option value="aud:a">Preschool</option>
+ <option value="aud:b">Primary</option>
+ <option value="aud:c">Pre-adolescent</option>
+ <option value="aud:d">Adolescent</option>
+ <option value="aud:e">Adult</option>
+ <option value="aud:f">Specialized</option>
+ <option value="aud:g">General</option>
+ <option value="aud:j">Juvenile</option>
</select>
<select name="limit" class="subtype">
- <option value="" selected="selected" class="menuheader">Any Content</option>
+ <option value="" selected="selected" class="menuheader">Any content</option>
<option value="fic:1" >Fiction</option>
- <option value="fic:0" >Non Fiction</option>
+ <option value="fic:0" >Non fiction</option>
<option value="bio:b" >Biography</option>
<option value="mus:j" >Musical recording</option>
<option value="mus:i" >Non-musical recording</option>
<select name="limit" class="subtype">
- <option value="" selected="selected" class="menuheader">Any Format</option>
+ <option value="" selected="selected" class="menuheader">Any format</option>
<option value="l-format:ta" >Regular print</option>
<option value="l-format:tb" >Large print</option>
<option value="l-format:fk" >Braille</option>
</select>
<select name="limit" class="subtype">
- <option value="" >Additional Content Types</option>
+ <option value="" >Additional content types</option>
<option value="ctype:a" >Abstracts/summaries</option>
<option value="ctype:b" >Bibliographies</option>
<option value="ctype:c" >Catalogs</option>
</p>
</fieldset>
-<!--/TMPL_IF -->
-<!--TMPL_IF Name="UNIMARC" -->
-</div>
-<div id="sidebar">
-<!-- SUBTYPE LIMITS -->
- <fieldset>
- <legend>Champs Codés</legend>
- <p>
- <label>Public</label>
- <select name="limit" class="subtype">
- <option value="" SELECTED="selected" class="menuheader">Tout public</option>
- <option value="aud:a">Jeunesse en général</option>
- <option value="aud:b">Pré-scolaire</option>
- <option value="aud:c">scolaire</option>
- <option value="aud:d">enfant</option>
- <option value="aud:e">jeune adulte</option>
- <option value="aud:k">adulte, haut niveau</option>
- <option value="aud:m">fiction ou vulg adulte</option>
- <option value="aud:u">inconnu</option>
- </select>
- </p>
- <p>
- <label>Format</label>
- <select name="limit" class="subtype">
- <option value="" selected="selected" class="menuheader">Tout format</option>
- <option value="Material-type:r">Impression normale</option>
- <option value="Material-type:d">Impression en gros caractere</option>
- <option value="Material-type:e">Journal</option>
- <option value="Material-type:f">Caractere braille et moon</option>
- <option value="Material-type:g">Micro-impression</option>
- <option value="Material-type:h">Manuscrit</option>
- <option value="Material-type:i">Multimedia</option>
- <option value="Material-type:j">Impression en reduction</option>
- <option value="Material-type:z">Autres formes de presentation</option>
- </select>
- </p>
- <p>
- <label>Forme</label>
- <select name="limit" class="subtype">
- <option value="" selected="selected" class="menuheader">Toute forme</option>
- <option value="Literature-Code:a">fiction, roman</option>
- <option value="Literature-Code:b">Theatre, piece televisee</option>
- <option value="Literature-Code:c">Essais</option>
- <option value="Literature-Code:d">Humour, satire</option>
- <option value="Literature-Code:e">Lettres</option>
- <option value="Literature-Code:f">Nouvelles</option>
- <option value="Literature-Code:g">Poesie</option>
- <option value="Literature-Code:h">Discours, art oratoire</option>
- <option value="Literature-Code:y">Il ne s'agit pas d'un texte litteraire</option>
- <option value="Literature-Code:z">formes variées ou autres formes litteraires</option>
- </select>
- </p>
- <p>
- <label>Biographie</label>
- <select name="limit" class="subtype" size="1">
- <option value="">Tout type de biographie</option>
- <option value="Biography-code:y">C'est pas une biographie</option>
- <option value="Biography-code:a">autobiographie (y compris correspondance...)</option>
- <option value="Biography-code:b">Biographie individuelle</option>
- <option value="Biography-code:c">Biographie collective</option>
- <option value="Biography-code:d">Contient des informations biographiques</option>
- </select>
- </p>
- <p>
- <label>Illustration</label>
- <select name="limit" class="subtype" size="1">
- <option value="">Tout type d'illustration</option>
- <option value="Illustration-Code:a">Illustrations</option>
- <option value="Illustration-Code:b">Cartes</option>
- <option value="Illustration-Code:c">Portraits</option>
- <option value="Illustration-Code:d">cartes marines</option>
- <option value="Illustration-Code:e">plans</option>
- <option value="Illustration-Code:f">Planches</option>
- <option value="Illustration-Code:g">Musique imprimee</option>
- <option value="Illustration-Code:h">fac-similes</option>
- <option value="Illustration-Code:i">armoiries</option>
- <option value="Illustration-Code:j">Tables Genealogique</option>
- <option value="Illustration-Code:k">Formulaires</option>
- <option value="Illustration-Code:l">Specimens</option>
- <option value="Illustration-Code:m">Enregistrement sonore</option>
- <option value="Illustration-Code:n">Transparents</option>
- <option value="Illustration-Code:o">Enluminures</option>
- <option value="Illustration-Code:y">Sans illustrations</option>
- </select>
- </p>
- <p>
- <label>Contenu</label>
- <select name="limit" class="subtype">
- <option value="" >Tout type de contenu</option>
- <option value="ctype:a" >Bibliographie</option>
- <option value="ctype:b" >Catalogue</option>
- <option value="ctype:c" >index</option>
- <option value="ctype:d" >resume</option>
- <option value="ctype:e" >Dictionnaire</option>
- <option value="ctype:f" >encyclopedie</option>
- <option value="ctype:g" >Repertoire</option>
- <option value="ctype:h" >Description projet</option>
- <option value="ctype:i" >statistiques</option>
- <option value="ctype:j" >Manuels d'enseignement programme</option>
- <option value="ctype:k" >Brevet</option>
- <option value="ctype:l" >norme</option>
- <option value="ctype:m" >Memoire ou these</option>
- <option value="ctype:n" >Lois et decrets</option>
- <option value="ctype:o" >Table numerique</option>
- <option value="ctype:p" >Rapport technique</option>
- <option value="ctype:q" >Sujet d'examen</option>
- <option value="ctype:r" >Synthese bibliographique</option>
- <option value="ctype:s" >Traite</option>
- <option value="ctype:t" >Bande dessinee</option>
- <option value="ctype:z" >Autres</option>
- </select>
- </p>
- <p>
- <label>Type vidéo</label>
- <select name="limit" class="subtype">
- <option value="">Tout type video</option>
- <option value="Video-mt:a">Film</option>
- <option value="Video-mt:b">Document à projeter</option>
- <option value="Video-mt:c">Enregistrement video</option>
- </select>
- </p>
- </fieldset>
- <fieldset>
- <legend>Périodique</legend><p>
- <p>
- <label>Type periodique</label>
- <select name="limit" class="subtype">
- <option value="">Tout type de periodique</option>
- <option value="Type-Of-Serial:a">Periodique</option>
- <option value="Type-Of-Serial:b">Collection des monographies</option>
- <option value="Type-Of-Serial:c">Journal</option>
- <option value="Type-Of-Serial:z">autres</option>
- </select>
- </p>
- <p>
- <label>Périodicité</label>
- <select name="limit" class="subtype">
- <option value="">Toute Périodicité</option>
- <option value="Frequency-code:a">Quotidien</option>
- <option value="Frequency-code:b">Bihebdomadaire</option>
- <option value="Frequency-code:c">Hebdomadaire</option>
- <option value="Frequency-code:d">Toutes les deux semaines</option>
- <option value="Frequency-code:e">Deux fois par mois</option>
- <option value="Frequency-code:f">Mensuel</option>
- <option value="Frequency-code:g">Bimestriel</option>
- <option value="Frequency-code:h">Trimestriel</option>
- <option value="Frequency-code:i">Trois fois par an</option>
- <option value="Frequency-code:j">Semestriel</option>
- <option value="Frequency-code:k">Annuel</option>
- <option value="Frequency-code:l">Bisanuel</option>
- <option value="Frequency-code:m">Triennal</option>
- <option value="Frequency-code:n">Trois fois par semaine</option>
- <option value="Frequency-code:o">Trois fois par mois</option>
- <option value="Frequency-code:u">Inconnue</option>
- <option value="Frequency-code:y">Sans periodicite</option>
- <option value="Frequency-code:i">Autre</option>
- </select>
- </p>
- <p>
- <label>Toute Régularité</label>
- <select name="limit" class="subtype">
- <option value="">Régularité</option>
- <option value="Regularity-code:u">Inconnu</option>
- <option value="Regularity-code:a">Regulier</option>
- <option value="Regularity-code:b">Normalement irregulier</option>
- <option value="Regularity-code:y">Irregulier</option>
- </select>
- </p>
+<!-- /TMPL_IF -->
- </fieldset>
- <fieldset>
- <legend>Document pictural</legend><p>
- <select name="limit" class="subtype">
- <option value="">Tout type</option>
- <option value="Graphics-type:a">Collage</option>
- <option value="Graphics-type:b">Dessin</option>
- <option value="Graphics-type:c">Peinture</option>
- <option value="Graphics-type:d">Reproduction photomecanique</option>
- <option value="Graphics-type:e">Negatif photo</option>
- <option value="Graphics-type:f">Tirage photographique</option>
- <option value="Graphics-type:h">Image</option>
- <option value="Graphics-type:i">Gravure</option>
- <option value="Graphics-type:k">Dessin technique</option>
- <option value="Graphics-type:z">Autres types de documents graphique non projetable</option>
- </select>
- <select name="limit" class="subtype">
- <option value="">tout support</option>
- <option value="Graphics-support:a">Toile</option>
- <option value="Graphics-support:b">Carte bristol</option>
- <option value="Graphics-support:c">Carton / carte a dessin</option>
- <option value="Graphics-support:d">Verre</option>
- <option value="Graphics-support:j">Platre</option>
- <option value="Graphics-support:k">Isorel</option>
- <option value="Graphics-support:l">Porcelaine</option>
- <option value="Graphics-support:m">Pierre</option>
- <option value="Graphics-support:n">Bois</option>
- <option value="Graphics-support:u">Inconnu</option>
- <option value="Graphics-support:v">Support composite</option>
- <option value="Graphics-support:e">Synthetique (plastique, vinyle...)</option>
- <option value="Graphics-support:f">Peau</option>
- <option value="Graphics-support:g">Textile</option>
- <option value="Graphics-support:h">Metal</option>
- <option value="Graphics-support:i">Papier</option>
- <option value="Graphics-support:z">Autres</option>
- </select>
- </p>
+<!-- TMPL_IF NAME="template-defined-limits" -->
+<!-- TYPE LIMITS -->
+ <fieldset>
+
+ <legend>Limit to 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-->
-<!--/TMPL_IF-->
+<!-- /TMPL_IF -->
+<!-- /TYPE LIMITS -->
+
<!-- AVAILABILITY LIMITS -->
<fieldset><legend>Location and availability: </legend>
<p>
- <label>Library</label><select name="limit" id="branchloop">
- <option value="">All Branches</option>
+ <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="<!-- TMPL_VAR NAME='value' -->"><!-- TMPL_VAR NAME='branchname' --></option>
+ <option value="branch:<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
+ <!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
</p>
- <p>
- <label for="available-items">Only items currently available</label><input type="checkbox" id="available-items" name="limit" value="datedue:0000-00-00" /></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">
- <option value="">Field-weighted, Relevance Ranked</option>
- <!--TMPL_IF Name="9523a"-->
- <option value="1=9523 >i" selected="selected">Popularity (Most to Least)</option>
- <!--TMPL_ELSE -->
- <option value="1=9523 >i">Popularity (Most to Least)</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="9523d"-->
- <option value="1=9523 <i" selected="selected">Popularity (Least to Most)</option>
- <!--TMPL_ELSE -->
- <option value="1=9523 <i">Popularity (Least to Most)</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="1003d"-->
- <option value="1=1003 <i" selected="selected">Author (A-Z)</option>
- <!--TMPL_ELSE -->
- <option value="1=1003 <i">Author (A-Z)</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="1003a"-->
- <option value="1=1003 >i" selected="selected">Author (Z-A)</option>
- <!--TMPL_ELSE -->
- <option value="1=1003 >i">Author (Z-A)</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="20d"-->
- <option value="1=20 <i" selected="selected">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
- <!--TMPL_ELSE -->
- <option value="1=20 <i">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="20a"-->
- <option value="1=20 >i" selected="selected">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
- <!--TMPL_ELSE -->
- <option value="1=20 >i">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="31a"-->
- <option value="1=31 >i" selected="selected">Dates</option>
- <!--TMPL_ELSE -->
- <option value="1=31 >i">Dates</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="31a"-->
- <option value="1=31 >i" selected="selected"> Publication/Copyright Date: Newest to Oldest</option>
- <!--TMPL_ELSE -->
- <option value="1=31 >i"> Publication/Copyright Date: Newest to Oldest</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="31d"-->
- <option value="1=31 <i"> Publication/Copyright Date: Oldest to Newest</option>
- <!--TMPL_ELSE -->
- <option value="1=31 <i"> Publication/Copyright Date: Oldest to Newest</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="32a"-->
- <option value="1=32 >i" selected="selected"> Acquisition Date: Newest to Oldest</option>
- <!--TMPL_ELSE -->
- <option value="1=32 >i"> Acquisition Date: Newest to Oldest</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="32d"-->
- <option value="1=32 <i" selected="selected"> Acquisition Date: Oldest to Newest</option>
- <!--TMPL_ELSE -->
- <option value="1=32 <i"> Acquisition Date: Oldest to Newest</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="4d"-->
- <option value="1=4 <i" selected="selected">Title (A-Z)</option>
- <!--TMPL_ELSE -->
- <option value="1=4 <i">Title (A-Z)</option>
- <!--/TMPL_IF-->
- <!--TMPL_IF Name="4a"-->
- <option value="1=4 >i" selected="selected">Title (Z-A)</option>
- <!--TMPL_ELSE -->
- <option value="1=4 >i">Title (Z-A)</option>
- <!--/TMPL_IF-->
+ <!-- TMPL_INCLUDE NAME="resort_form.inc" -->
</select>
</p>
</fieldset>
<!-- RANK LIMITS -->
-<p></p>
+
+</div>
+
+
<!-- SEARCH BUTTONS -->
- <p><input class="submit" type="submit" accesskey="s" name="do" title="Search" value="Search" />
+ <p><input class="submit" type="submit" accesskey="s" value="Search" />
<!-- TMPL_IF NAME="expanded_options" -->
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a>
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/catalogue/search.pl?do=Clear">[New search]</a>
</p>
<!-- /SEARCH BUTTONS -->
-</div>
</form>
-
-
-
-</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->