Lines 1-5
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Catalog › Advanced Search</title> |
2 |
<title>Koha › Catalog › Advanced search</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<script type="text/JavaScript" language="JavaScript"> |
4 |
<script type="text/JavaScript" language="JavaScript"> |
5 |
/** |
5 |
/** |
Lines 22-35
Link Here
|
22 |
<body id="catalog_advsearch" class="catalog"> |
22 |
<body id="catalog_advsearch" class="catalog"> |
23 |
|
23 |
|
24 |
[% INCLUDE 'header.inc' %] |
24 |
[% INCLUDE 'header.inc' %] |
25 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Advanced Search</div> |
25 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Advanced search</div> |
26 |
|
26 |
|
27 |
<div id="doc" class="yui-t7"> |
27 |
<div id="doc" class="yui-t7"> |
28 |
<div id="bd"> |
28 |
<div id="bd"> |
29 |
|
29 |
|
30 |
<form action="search.pl" method="get"> |
30 |
<form action="search.pl" method="get"> |
31 |
<div id="advanced-search"> |
31 |
<div id="advanced-search"> |
32 |
<h1>Advanced Search</h1> |
32 |
<h1>Advanced search</h1> |
33 |
|
33 |
|
34 |
[% IF ( outer_servers_loop ) %] |
34 |
[% IF ( outer_servers_loop ) %] |
35 |
<!-- DATABASES --> |
35 |
<!-- DATABASES --> |
Lines 56-62
Link Here
|
56 |
|
56 |
|
57 |
<!-- BOOLEAN SEARCH OPTIONS --> |
57 |
<!-- BOOLEAN SEARCH OPTIONS --> |
58 |
<fieldset id="searchterms"> |
58 |
<fieldset id="searchterms"> |
59 |
<legend>Search For </legend> |
59 |
<legend>Search for </legend> |
60 |
[% FOREACH search_box IN search_boxes_loop %] |
60 |
[% FOREACH search_box IN search_boxes_loop %] |
61 |
[% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %] |
61 |
[% IF ( search_boxes_label ) %]<div style="text-indent: 4.5em;">[% ELSE %]<div>[% END %] |
62 |
[% IF ( expanded_options ) %] |
62 |
[% IF ( expanded_options ) %] |
Lines 75-81
Link Here
|
75 |
<a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a> |
75 |
<a href="JavaScript:add_field();" id="ButtonPlus" title="Add another field">[+]</a> |
76 |
[% END %] |
76 |
[% END %] |
77 |
[% IF ( search_box.scan_index ) %] |
77 |
[% IF ( search_box.scan_index ) %] |
78 |
<label for="scan">Scan Indexes</label> <input type="checkbox" name="scan" id="scan" value="1" /> |
78 |
<label for="scan">Scan indexes</label> <input type="checkbox" name="scan" id="scan" value="1" /> |
79 |
[% END %] |
79 |
[% END %] |
80 |
[% END %] |
80 |
[% END %] |
81 |
</div> |
81 |
</div> |
Lines 86-92
Link Here
|
86 |
<!-- SEARCH BUTTONS --> |
86 |
<!-- SEARCH BUTTONS --> |
87 |
<fieldset class="action" id="submit1"><input class="submit" type="submit" accesskey="s" value="Search" /> |
87 |
<fieldset class="action" id="submit1"><input class="submit" type="submit" accesskey="s" value="Search" /> |
88 |
[% IF ( expanded_options ) %] |
88 |
[% IF ( expanded_options ) %] |
89 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a> |
89 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer options]</a> |
90 |
[% ELSE %] |
90 |
[% ELSE %] |
91 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a> |
91 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a> |
92 |
[% END %] |
92 |
[% END %] |
Lines 101-110
Link Here
|
101 |
[% FOREACH advsearchloo IN advancedsearchesloop %] |
101 |
[% FOREACH advsearchloo IN advancedsearchesloop %] |
102 |
<li id="advsearch-tab-[% advsearchloo.advanced_search_type %]"> |
102 |
<li id="advsearch-tab-[% advsearchloo.advanced_search_type %]"> |
103 |
<a href="/cgi-bin/koha/opac-search.pl#advsearch-[% advsearchloo.advanced_search_type %]"> |
103 |
<a href="/cgi-bin/koha/opac-search.pl#advsearch-[% advsearchloo.advanced_search_type %]"> |
104 |
[% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %]Item Type |
104 |
[% IF ( advsearchloo.advanced_search_type == 'itemtypes' ) %]Item type |
105 |
[% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %]Collection |
105 |
[% ELSIF ( advsearchloo.advanced_search_type == 'ccode' ) %]Collection |
106 |
[% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %]Shelving Location |
106 |
[% ELSIF ( advsearchloo.advanced_search_type == 'loc' ) %]Shelving location |
107 |
[% ELSE %]Something Else |
107 |
[% ELSE %]Something else |
108 |
[% END %] |
108 |
[% END %] |
109 |
</a> |
109 |
</a> |
110 |
</li> |
110 |
</li> |
Lines 138-144
Link Here
|
138 |
<!-- LANGUAGE LIMIT --> |
138 |
<!-- LANGUAGE LIMIT --> |
139 |
<p><label for="language-limit">Language: </label> |
139 |
<p><label for="language-limit">Language: </label> |
140 |
<select name="limit" id="language-limit"> |
140 |
<select name="limit" id="language-limit"> |
141 |
<option value="">No Limit</option> |
141 |
<option value="">No limit</option> |
142 |
[% FOREACH search_languages_loo IN search_languages_loop %] |
142 |
[% FOREACH search_languages_loo IN search_languages_loop %] |
143 |
[% IF ( search_languages_loo.selected ) %] |
143 |
[% IF ( search_languages_loo.selected ) %] |
144 |
<option value="ln,rtrn:[% search_languages_loo.iso639_2_code %]" selected="selected">[% search_languages_loo.language_description %]</option> |
144 |
<option value="ln,rtrn:[% search_languages_loo.iso639_2_code %]" selected="selected">[% search_languages_loo.language_description %]</option> |
Lines 194-206
Link Here
|
194 |
<option value="l-format:ss" >Cassette recording</option> |
194 |
<option value="l-format:ss" >Cassette recording</option> |
195 |
<option value="l-format:vf" >VHS tape / Videocassette</option> |
195 |
<option value="l-format:vf" >VHS tape / Videocassette</option> |
196 |
<option value="l-format:vd" >DVD video / Videodisc</option> |
196 |
<option value="l-format:vd" >DVD video / Videodisc</option> |
197 |
<option value="l-format:co" >CD Software</option> |
197 |
<option value="l-format:co" >CD software</option> |
198 |
<option value="l-format:cr" >Website</option> |
198 |
<option value="l-format:cr" >Website</option> |
199 |
</select> |
199 |
</select> |
200 |
|
200 |
|
201 |
<select name="limit" class="subtype"> |
201 |
<select name="limit" class="subtype"> |
202 |
<option value="" >Additional content types</option> |
202 |
<option value="" >Additional content types</option> |
203 |
<option value="ctype:a" >Abstracts/summaries</option> |
203 |
<option value="ctype:a" >Abstracts / Summaries</option> |
204 |
<option value="ctype:b" >Bibliographies</option> |
204 |
<option value="ctype:b" >Bibliographies</option> |
205 |
<option value="ctype:c" >Catalogs</option> |
205 |
<option value="ctype:c" >Catalogs</option> |
206 |
<option value="ctype:d" >Dictionaries</option> |
206 |
<option value="ctype:d" >Dictionaries</option> |
Lines 235-242
Link Here
|
235 |
</fieldset> |
235 |
</fieldset> |
236 |
|
236 |
|
237 |
<fieldset id="select-libs"> |
237 |
<fieldset id="select-libs"> |
238 |
<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;}'> |
238 |
<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;}'> |
239 |
<option value="">All Libraries</option> |
239 |
<option value="">All libraries</option> |
240 |
[% FOREACH branchloo IN branchloop %] |
240 |
[% FOREACH branchloo IN branchloop %] |
241 |
[% IF ( branchloo.selected ) %] |
241 |
[% IF ( branchloo.selected ) %] |
242 |
<option value="branch:[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
242 |
<option value="branch:[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
Lines 248-254
Link Here
|
248 |
<!-- <input type="hidden" name="limit" value="branch: MAIN" /> --> |
248 |
<!-- <input type="hidden" name="limit" value="branch: MAIN" /> --> |
249 |
[% IF ( searchdomainloop ) %] |
249 |
[% IF ( searchdomainloop ) %] |
250 |
<p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. --> |
250 |
<p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. --> |
251 |
<p><label for="categoryloop">Groups of Libraries</label><select name="multibranchlimit" id="categoryloop"> |
251 |
<p><label for="categoryloop">Groups of libraries</label><select name="multibranchlimit" id="categoryloop"> |
252 |
<option value=""> -- none -- </option> |
252 |
<option value=""> -- none -- </option> |
253 |
[% FOREACH searchdomainloo IN searchdomainloop %] |
253 |
[% FOREACH searchdomainloo IN searchdomainloop %] |
254 |
<option value="[% searchdomainloo.categorycode %]">[% searchdomainloo.categoryname %]</option> |
254 |
<option value="[% searchdomainloo.categorycode %]">[% searchdomainloo.categoryname %]</option> |
Lines 272-278
Link Here
|
272 |
<!-- SEARCH BUTTONS --> |
272 |
<!-- SEARCH BUTTONS --> |
273 |
<fieldset class="action" id="submit2"><input class="submit" type="submit" accesskey="s" value="Search" /> |
273 |
<fieldset class="action" id="submit2"><input class="submit" type="submit" accesskey="s" value="Search" /> |
274 |
[% IF ( expanded_options ) %] |
274 |
[% IF ( expanded_options ) %] |
275 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer Options]</a> |
275 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0">[Fewer options]</a> |
276 |
[% ELSE %] |
276 |
[% ELSE %] |
277 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a> |
277 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1">[More options]</a> |
278 |
[% END %] |
278 |
[% END %] |