330edb157f
* fix XHTML errors * fix problems with paging through results list Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
141 lines
5.2 KiB
Cheetah
141 lines
5.2 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › Labels</title>
|
|
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<style type="text/css">#custom-doc { width:47.23em;*width:46.04em;min-width:610px; margin:auto;margin-top: .4em; text-align:left; }</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="custom-doc" class="yui-t7">
|
|
<div id="bd">
|
|
|
|
<h1>Search for items
|
|
<!-- TMPL_IF name="batch_id" -->
|
|
to add to Batch <!-- TMPL_VAR NAME="batch_id" -->
|
|
<!-- /TMPL_IF -->
|
|
</h1>
|
|
|
|
<form name="f" method="post" action="/cgi-bin/koha/labels/label-item-search.pl">
|
|
<input type="hidden" name="op" value="do_search" />
|
|
<input type="hidden" name="batch_id" value="<!-- TMPL_VAR NAME="batch_id" -->" />
|
|
<input type="hidden" name="type" value="<!-- TMPL_VAR NAME="type" -->" />
|
|
|
|
<fieldset class="rows">
|
|
<ol><li>
|
|
<select name="idx" > <!-- FIXME: script does keyword search regardless -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="kw" selected="selected">Keyword</option>
|
|
<!-- TMPL_ELSE --><option value="kw">Keyword</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="au" selected="selected">Author</option>
|
|
<!-- TMPL_ELSE --><option value="au">Author</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="yr" selected="selected">Publication Date</option>
|
|
<!-- TMPL_ELSE --><option value="yr">Publication Date</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="sn" selected="selected">Standard Number</option>
|
|
<!-- TMPL_ELSE --><option value="sn">Standard Number</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="nb" selected="selected">ISBN</option>
|
|
<!-- TMPL_ELSE --><option value="nb">ISBN</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="ns" selected="selected">ISSN</option>
|
|
<!-- TMPL_ELSE --><option value="ns">ISSN</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="lcn,phr" selected="selected">Call Number</option>
|
|
<!-- TMPL_ELSE --><option value="lcn,phr">Call Number</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="su" selected="selected">Subject</option>
|
|
<!-- TMPL_ELSE --><option value="su">Subject</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" -->
|
|
<option value="ti" selected="selected">Title</option>
|
|
<!-- TMPL_ELSE -->
|
|
<option value="ti" selected="selected">Title</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="ti,phr" selected="selected">Title Phrase</option>
|
|
<!-- TMPL_ELSE --><option value="ti,phr">Title Phrase</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="se" selected="selected">Series Title</option>
|
|
<!-- TMPL_ELSE --><option value="se">Series Title</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="bc" selected="selected">Barcode</option>
|
|
<!-- TMPL_ELSE --><option value="bc">Barcode</option><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="acqdate" selected="selected">Acquisition Date</option>
|
|
<!-- TMPL_ELSE --><option value="acqdate">Acquisition Date</option><!-- /TMPL_IF -->
|
|
</select>
|
|
|
|
<input type="text" size="30" id="ccl_textbox" name="ccl_textbox" class="focus" title="Enter search terms" value=""/>
|
|
|
|
</li>
|
|
</ol>
|
|
</fieldset>
|
|
|
|
<!-- TMPL_IF NAME="sort_by_loop" -->
|
|
<fieldset><legend>Sort by: </legend>
|
|
<p><select id="sort_by" name="sort_by">
|
|
<option value="">Field-weighted, Relevance Ranked</option>
|
|
<!-- TMPL_LOOP NAME="sort_by_loop" -->
|
|
|
|
<!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="label" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="label" --></option><!-- /TMPL_IF -->
|
|
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
</p>
|
|
</fieldset><!-- /TMPL_IF -->
|
|
|
|
|
|
|
|
|
|
<fieldset class="rows"><table>
|
|
<tr><th scope="row">
|
|
<label for="datefrom">Added on or after date</label>
|
|
</th>
|
|
<td>
|
|
<input type="text" size="10" id="datefrom" name="datefrom" value="" />
|
|
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFrom" alt="Show Calendar" />
|
|
|
|
<script type="text/javascript">
|
|
Calendar.setup({
|
|
inputField : "datefrom",
|
|
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
|
|
button : "openCalendarFrom",
|
|
align : "Tl",
|
|
singleClick : false
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
<tr><th scope="row">
|
|
<label for="dateto">Added on or before date</label>
|
|
</th>
|
|
<td>
|
|
<input type="text" size="10" id="dateto" name="dateto" value="" />
|
|
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarTo" alt="Show Calendar" />
|
|
|
|
<script type="text/javascript">
|
|
Calendar.setup({
|
|
inputField : "dateto",
|
|
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
|
|
button : "openCalendarTo",
|
|
align : "Tl",
|
|
});
|
|
</script>
|
|
|
|
</td>
|
|
</tr></table>
|
|
|
|
|
|
|
|
|
|
|
|
<fieldset class="action"><input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">Cancel</a></fieldset>
|
|
</form>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|