<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body id="advsearch"><div id="doc3" class="yui-t7">
- <div id="bd">
+<div id="bd">
<!-- TMPL_INCLUDE name="masthead.inc" -->
<form action="/cgi-bin/koha/opac-search.pl" method="get">
- <div class="yui-g">
+ <div class="yui-g">
<!-- TMPL_IF NAME="if_expanded_options_actually_worked" -->
<div id="databases" class="container"> <!-- TMPL_IF NAME="outer_servers_loop" -->
<!-- DATABASES -->
<!-- TMPL_LOOP NAME="inner_servers_loop" -->
<!-- TMPL_IF NAME="checked" --><input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" name="<!-- TMPL_VAR NAME="name" -->" checked="<!-- TMPL_VAR NAME="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 -->
+ <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" -->/images/<!-- TMPL_VAR NAME="icon" -->" /> <!-- TMPL_VAR NAME="label" --></label>
<!-- /TMPL_LOOP -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="expanded_options" --><!-- TMPL_VAR NAME="left_content" --><!-- /TMPL_IF -->
<select name="idx">
<option value="kw">Keyword</option>
+ <option value="su,wrdl">Subject</option>
+<!-- TMPL_IF NAME="expanded_options" -->
+ <option value="su,phr"> Subject Phrase</option>
+<!-- /TMPL_IF -->
+ <option value="ti">Title</option>
+<!-- TMPL_IF NAME="expanded_options" -->
+ <option value="ti,phr"> Title Phrase</option>
+ <option value="se,wrdl">Series Title</option>
+ <option value="callnum">Call Number</option>
+<!-- /TMPL_IF -->
<option value="au,wrdl">Author</option>
-
+
<!-- TMPL_IF NAME="expanded_options" -->
<option value="au,phr"> Author Phrase</option>
<option value="cpn,wrdl"> Corporate Name</option>
<option value="pn,wrdl"> Personal Name</option>
<option value="pn,phr"> Personal Name Phrase</option>
<!-- /TMPL_IF -->
- <option value="ln">Language</option>
<!-- TMPL_IF NAME="expanded_options" -->
<option value="nt">Notes/Comments</option>
+ <option value="curriculum">Curriculum</option>
<!-- /TMPL_IF -->
<option value="pb,wrdl">Publisher</option>
<option value="pl,wrdl">Publisher Location</option>
<!-- TMPL_ELSE -->
<option value="nb">ISBN</option>
<!-- /TMPL_IF -->
- <option value="su,wrdl">Subject</option>
-<!-- TMPL_IF NAME="expanded_options" -->
- <option value="su,phr"> Subject Phrase</option>
-<!-- /TMPL_IF -->
- <option value="ti">Title</option>
-<!-- TMPL_IF NAME="expanded_options" -->
- <option value="ti,phr"> Title Phrase</option>
- <option value="se,wrdl">Series Title</option>
- <option value="callnum">Call Number</option>
-<!-- /TMPL_IF -->
+ <option value="bc">Barcode</option>
</select>
<input type="text" size="30" name="q" title="Enter search terms" value="" />
<!-- TMPL_IF NAME="expanded_options" -->
<!-- /TMPL_LOOP -->
</fieldset></div>
- </div>
+ </div>
+<div class="yui-g"><div class="container" style="text-align: center;"><!-- SEARCH BUTTONS -->
+
+ <input class="submit" type="submit" accesskey="s" name="do" title="Search" value="Search" />
+ <!-- TMPL_IF NAME="expanded_options" -->
+ <a href="/cgi-bin/koha/opac-search.pl?expanded_options=0">[Fewer Options]</a>
+ <!-- TMPL_ELSE -->
+ <a href="/cgi-bin/koha/opac-search.pl?expanded_options=1">[More options]</a>
+ <!-- /TMPL_IF -->
+ <a href="/cgi-bin/koha/opac-search.pl?do=Clear">[New Search]</a>
+
+<!-- /SEARCH BUTTONS --></div></div>
+<div class="yui-g">
<div id="pubrange" class="container">
<fieldset>
<!-- PUB RANGE OPTION -->
</fieldset>
<!-- /PUB RANGE OPTION -->
</div>
- <div class="yui-g">
+</div>
+ <div class="yui-g">
<!-- /BOOLEAN SEARCH OPTIONS -->
<div id="advsearch-itemtype" class="container">
- <fieldset>
+ <fieldset>
<legend>Limit to any of the following:</legend>
<table>
<tr>
- <!--TMPL_LOOP Name="itemtypeloop"-->
- <td><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_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->
+ <!--TMPL_LOOP Name="itemtypeloop"-->
+ <td><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_UNLESS NAME="noItemTypeImages" --><!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF --> <!-- /TMPL_UNLESS -->
<!--TMPL_VAR Name="description" --></label></td>
<!-- TMPL_UNLESS name="count5" --><!-- TMPL_UNLESS name="__last__" --></tr><tr><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
- <!--/TMPL_LOOP-->
- </tr>
+ <!--/TMPL_LOOP-->
+ </tr>
</table>
- </fieldset>
+ </fieldset>
</div>
+ <fieldset><legend>Language</legend>
+ <!-- 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,rtrn:<!-- TMPL_VAR NAME="iso639_2_code" -->" selected="selected"><!-- TMPL_VAR NAME="language_description" --></option>
+ <!-- TMPL_ELSE -->
+ <option value="ln,rtrn:<!-- 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>
<!-- TMPL_IF NAME="expanded_options" -->
<!--TMPL_IF Name="usmarc"-->
<!-- SUBTYPE LIMITS -->
<div class="yui-u first">
<!-- AVAILABILITY LIMITS -->
- <!-- TMPL_UNLESS NAME="singleBranchMode" -->
+ <!-- TMPL_UNLESS NAME="singleBranchMode" -->
<div id="location" class="container"><fieldset><legend>Location and availability: </legend>
<select name="limit" id="branchloop">
<div style="margin-top:.4em"><label for="available-items"><input type="checkbox" id="available-items" name="limit" value="available" /> Only items currently available for loan or reference</label></div>
</fieldset></div>
- <!-- /TMPL_UNLESS -->
+ <!-- /TMPL_UNLESS -->
<!-- /AVAILABILITY LIMITS -->
</div>
<div class="yui-u">
<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;
- line.parentNode.appendChild(line.cloneNode(true));
- line.removeChild(ButtonPlus);
+ */
+ function add_field() {
+ var ButtonPlus = document.getElementById('ButtonPlus');
+ var line = ButtonPlus.parentNode;
+ line.parentNode.appendChild(line.cloneNode(true));
+ line.removeChild(ButtonPlus);
}
</script>