2 [% INCLUDE 'doc-head-open.inc' %]<title>Koha › Labels</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
7 <body id="labels_search" class="tools labels">
8 <div class="main container-fluid">
12 to add to Batch [% batch_id %]
16 <form name="f" method="post" action="/cgi-bin/koha/labels/label-item-search.pl">
17 <input type="hidden" name="op" value="do_search" />
18 <input type="hidden" name="batch_id" value="[% batch_id %]" />
19 <input type="hidden" name="type" value="[% type %]" />
21 <fieldset class="rows">
23 <select name="idx" > <!-- FIXME: script does keyword search regardless -->
25 [% IF idx == 'kw' %]<option value="kw" selected="selected">Keyword</option>
26 [% ELSE %]<option value="kw">Keyword</option>[% END %]
28 [% IF idx == 'au' %]<option value="au" selected="selected">Author</option>
29 [% ELSE %]<option value="au">Author</option>[% END %]
31 [% IF idx == 'yr' %]<option value="yr" selected="selected">Publication date</option>
32 [% ELSE %]<option value="yr">Publication date</option>[% END %]
34 [% IF idx == 'sn' %]<option value="sn" selected="selected">Standard number</option>
35 [% ELSE %]<option value="sn">Standard number</option>[% END %]
37 [% IF idx == 'nb' %]<option value="nb" selected="selected">ISBN</option>
38 [% ELSE %]<option value="nb">ISBN</option>[% END %]
40 [% IF idx == 'ns' %]<option value="ns" selected="selected">ISSN</option>
41 [% ELSE %]<option value="ns">ISSN</option>[% END %]
43 [% IF idx == 'lcn,phr' %]<option value="lcn,phr" selected="selected">Call number</option>
44 [% ELSE %]<option value="lcn,phr">Call number</option>[% END %]
46 [% IF idx == 'su' %]<option value="su" selected="selected">Subject</option>
47 [% ELSE %]<option value="su">Subject</option>[% END %]
50 <option value="ti" selected="selected">Title</option>
52 <option value="ti">Title</option>[% END %]
54 [% IF idx == 'ti,phr' %]<option value="ti,phr" selected="selected">Title phrase</option>
55 [% ELSE %]<option value="ti,phr">Title phrase</option>[% END %]
57 [% IF idx == 'se' %]<option value="se" selected="selected">Series title</option>
58 [% ELSE %]<option value="se">Series title</option>[% END %]
60 [% IF idx == 'bc' or not idx %]<option value="bc" selected="selected">Barcode</option>
61 [% ELSE %]<option value="bc">Barcode</option>[% END %]
63 [% IF idx == 'acqdate' %]<option value="acqdate" selected="selected">Acquisition date</option>
64 [% ELSE %]<option value="acqdate">Acquisition date</option>[% END %]
67 <input type="text" size="30" id="ccl_textbox" name="ccl_textbox" class="focus" title="Enter search terms" value=""/>
73 [% IF ( sort_by_loop ) %]
74 <fieldset><legend>Sort by: </legend>
75 <p><select id="sort_by" name="sort_by">
76 <option value="">Field-weighted, relevance ranked</option>
77 [% FOREACH sort_by_loo IN sort_by_loop %]
79 [% IF ( sort_by_loo.selected ) %]<option value="[% sort_by_loo.value %]" selected="selected">[% sort_by_loo.label %]</option>[% ELSE %]<option value="[% sort_by_loo.value %]">[% sort_by_loo.label %]</option>[% END %]
89 <fieldset class="rows">
92 <label for="from">Added on or after date: </label>
93 <input type="text" size="10" id="from" name="datefrom" class="datepickerfrom" value="" />
94 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
97 <label for="to">Added on or before date: </label>
98 <input type="text" size="10" id="to" name="dateto" class="datepickerto" value="" />
99 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
103 <fieldset class="action"><input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">Cancel</a></fieldset>
107 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]