6eac5c7b1b
Documentation may require an updated screen shot Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
158 lines
7 KiB
Cheetah
158 lines
7 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" disabled="disabled"><!-- FIXME: script does keyword search regardless -->
|
|
<option value="kw" selected="selected">Keyword</option>
|
|
</select>
|
|
<input type="text" size="30" id="marclist" name="marclist" class="focus" title="Enter search terms" value=""/>
|
|
</li><!-- FIXME: script does keyword search regardless<li>
|
|
<select name="idx" disabled="disabled">
|
|
|
|
<!-- 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" name="q" title="Enter search terms" value="" disabled="disabled" /> FIXME: script doesn't "catch" q param
|
|
</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_ELSE --><!-- /TMPL_IF -->
|
|
<!-- 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_ELSE --><!-- /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="hidden" name="marclist" value="items.dateaccessioned" />
|
|
<input type="hidden" name="and_or" value="and" />
|
|
<input type="hidden" name="excluding" value="" />
|
|
<input type="hidden" name="operator" value=">=" />
|
|
<input type="text" size="10" id="datefrom" name="value" value="" />
|
|
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFrom" style="cursor: pointer;" valign="top" />
|
|
|
|
<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="hidden" name="marclist" value="items.dateaccessioned" />
|
|
<input type="hidden" name="and_or" value="and" />
|
|
<input type="hidden" name="excluding" value="" />
|
|
<input type="hidden" name="operator" value="<=" />
|
|
<input type="text" size="10" id="dateto" name="value" value="" />
|
|
<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarTo" style="cursor: pointer;" valign="top" />
|
|
|
|
<script type="text/javascript">
|
|
Calendar.setup({
|
|
inputField : "dateto",
|
|
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
|
|
button : "openCalendarTo",
|
|
align : "Tl",
|
|
});
|
|
</script>
|
|
--><!-- FIXME: script returns ALL type regardless
|
|
<tr><th scope="row">Document Type</th>
|
|
<td colspan="2">
|
|
<select name="Filter" disabled="disabled">
|
|
<option value="">All Item Types</option>
|
|
<!-- TMPL_ELSE --><!-- /TMPL_IF -->
|
|
<!-- TMPL_LOOP name="itemtypeloop" -->
|
|
<!-- TMPL_IF name="selected" -->
|
|
<option value="<!-- TMPL_VAR name="value" -->" selected="selected" >
|
|
<!-- TMPL_ELSE -->
|
|
<option value="<!-- TMPL_VAR name="value" -->">
|
|
<!-- /TMPL_IF --><!-- TMPL_VAR name="description" --></option>
|
|
<!-- TMPL_ELSE --><!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
</td>
|
|
</tr></table></fieldset>-->
|
|
|
|
<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" -->
|