Lines 3-8
Link Here
|
3 |
[% USE Asset %] |
3 |
[% USE Asset %] |
4 |
[% USE Branches %] |
4 |
[% USE Branches %] |
5 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
|
|
6 |
[% formulaire = BLOCK %] |
7 |
[% INCLUDE 'adv-search.inc' %] |
8 |
[% END %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
9 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title>Advanced search › Catalog › Koha</title> |
10 |
<title>Advanced search › Catalog › Koha</title> |
8 |
[% INCLUDE 'doc-head-close.inc' %] |
11 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 26-33
Link Here
|
26 |
[%- END -%] |
29 |
[%- END -%] |
27 |
|
30 |
|
28 |
<body id="catalog_advsearch" class="catalog"> |
31 |
<body id="catalog_advsearch" class="catalog"> |
29 |
[% INCLUDE 'header.inc' %] |
32 |
[% INCLUDE 'header.inc' form=formulaire %] |
30 |
[% INCLUDE 'adv-search.inc' %] |
|
|
31 |
|
33 |
|
32 |
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> |
34 |
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> |
33 |
<ol> |
35 |
<ol> |
Lines 40-87
Link Here
|
40 |
</a> |
42 |
</a> |
41 |
</li> |
43 |
</li> |
42 |
</ol> |
44 |
</ol> |
|
|
45 |
|
46 |
<ol> |
47 |
[% IF Koha.Preference('showLastPatron') %][% INCLUDE 'last-borrower.inc' %][% END %] |
48 |
</ol> |
49 |
<ol> |
50 |
<a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a> |
51 |
</ol> |
43 |
</nav> |
52 |
</nav> |
44 |
|
53 |
|
45 |
<div class="main container-fluid"> |
54 |
<div class="main container-fluid"> |
46 |
<div class="row"> |
55 |
<div class="row"> |
47 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
56 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
48 |
|
57 |
|
49 |
<form action="search.pl" method="get"> |
58 |
<form action="search.pl" method="get"> |
50 |
<div id="advanced-search"> |
59 |
<div id="advanced-search"> |
51 |
<input type="hidden" name="advsearch" value="1"/> |
60 |
<input type="hidden" name="advsearch" value="1"/> |
52 |
<h1>Advanced search</h1> |
61 |
<h2>Advanced search</h2> |
53 |
<p> |
|
|
54 |
<a href="/cgi-bin/koha/catalogue/itemsearch.pl">Go to item search</a> |
55 |
[% IF searchid %] |
56 |
<div id="previous_search_link"></div> |
57 |
[% END %] |
58 |
</p> |
59 |
|
62 |
|
60 |
<!-- SEARCH BUTTONS --> |
63 |
<!-- SEARCH BUTTONS --> |
61 |
<div id="toolbar" class="btn-toolbar"> |
64 |
<div id="toolbar" class="btn-toolbar"> |
62 |
<fieldset class="action" id="submit1"> |
65 |
<div> |
63 |
<div class="btn-group"> |
66 |
<div class="btn-group"> |
64 |
<button class="btn btn-default" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button> |
67 |
<button class="principal" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button> |
65 |
</div> |
68 |
</div> |
66 |
<div class="btn-group"> |
69 |
<div class="btn-group"> |
67 |
[% IF ( expanded_options ) %] |
70 |
[% IF ( expanded_options ) %] |
68 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="btn btn-link"><i class="fa fa-search-minus"></i> Fewer options</a> |
71 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=0" class="pat"><i class="fa fa-search-minus"></i> Fewer options</a> |
69 |
</div> |
72 |
</div> |
70 |
[% ELSE %] |
73 |
[% ELSE %] |
71 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="btn btn-link"><i class="fa fa-search-plus"></i> More options</a> |
74 |
<a href="/cgi-bin/koha/catalogue/search.pl?expanded_options=1" class="pat"><i class="fa fa-search-plus"></i> More options</a> |
72 |
</div> |
75 |
</div> |
73 |
[% END %] |
76 |
[% END %] |
74 |
<div class="btn-group"> |
77 |
<div class="btn-group"> |
75 |
<a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options | uri %]" class="btn btn-link"><i class="fa fa-trash"></i> Clear fields</a> |
78 |
<a href="/cgi-bin/koha/catalogue/search.pl?do=Clear&expanded_options=[% expanded_options | uri %]" class="pat"><i class="fa fa-trash"></i> Clear fields</a> |
76 |
</div> |
79 |
</div> |
77 |
</fieldset> <!-- /.action --> |
80 |
<div class="btn-group"> |
78 |
</div> <!-- /#toolbar --> |
81 |
<a href="/cgi-bin/koha/catalogue/itemsearch.pl" class="pat"><i class="fa fa-search-minus"></i> Go to item search</a> |
79 |
<!-- /SEARCH BUTTONS --> |
82 |
</div> |
|
|
83 |
[% IF searchid %] |
84 |
<div id="previous_search_link"></div> |
85 |
[% END %] |
86 |
</div> |
87 |
</div> |
88 |
<!-- /SEARCH BUTTONS --> |
80 |
|
89 |
|
81 |
[% IF ( outer_servers_loop ) %] |
90 |
[% IF ( outer_servers_loop ) %] |
82 |
<!-- DATABASES --> |
91 |
<!-- DATABASES --> |
83 |
<fieldset> |
92 |
<fieldset> |
84 |
<legend>Select local databases</legend> |
93 |
<h3>Select local databases</h3> |
85 |
[% FOREACH local_servers_loo IN local_servers_loop %] |
94 |
[% FOREACH local_servers_loo IN local_servers_loop %] |
86 |
[% IF ( local_servers_loo.checked ) %] |
95 |
[% IF ( local_servers_loo.checked ) %] |
87 |
<input type="checkbox" id="[% local_servers_loo.id | html %]" name="[% local_servers_loo.name | html %]" checked="checked" value="[% local_servers_loo.value | html %]" /> |
96 |
<input type="checkbox" id="[% local_servers_loo.id | html %]" name="[% local_servers_loo.name | html %]" checked="checked" value="[% local_servers_loo.value | html %]" /> |
Lines 99-105
Link Here
|
99 |
[% IF ( outer_servers_loop ) %] |
108 |
[% IF ( outer_servers_loop ) %] |
100 |
<!-- REMOTE DATABASES --> |
109 |
<!-- REMOTE DATABASES --> |
101 |
<fieldset id="databases"> |
110 |
<fieldset id="databases"> |
102 |
<legend>Select remote databases</legend> |
111 |
<h3>Select remote databases</h3> |
103 |
[% FOREACH outer_servers_loo IN outer_servers_loop %] |
112 |
[% FOREACH outer_servers_loo IN outer_servers_loop %] |
104 |
[% IF ( outer_servers_loo.checked ) %] |
113 |
[% IF ( outer_servers_loo.checked ) %] |
105 |
<input type="checkbox" id="[% outer_servers_loo.id | html %]" name="[% outer_servers_loo.name | html %]" checked="checked" value="[% outer_servers_loo.value | html %]" /> |
114 |
<input type="checkbox" id="[% outer_servers_loo.id | html %]" name="[% outer_servers_loo.name | html %]" checked="checked" value="[% outer_servers_loo.value | html %]" /> |
Lines 116-122
Link Here
|
116 |
|
125 |
|
117 |
<!-- BOOLEAN SEARCH OPTIONS --> |
126 |
<!-- BOOLEAN SEARCH OPTIONS --> |
118 |
<fieldset id="searchterms"> |
127 |
<fieldset id="searchterms"> |
119 |
<legend>Search for </legend> |
128 |
<h3>Search for </h3> |
120 |
[% FOREACH query IN queries %] |
129 |
[% FOREACH query IN queries %] |
121 |
[% IF ( expanded_options ) %] |
130 |
[% IF ( expanded_options ) %] |
122 |
[% IF loop.first %] |
131 |
[% IF loop.first %] |
Lines 195-201
Link Here
|
195 |
<div class="tab-content"> |
204 |
<div class="tab-content"> |
196 |
[% FOREACH advsearchloo IN advancedsearchesloop %] |
205 |
[% FOREACH advsearchloo IN advancedsearchesloop %] |
197 |
<div id="advsearch-[% advsearchloo.advanced_search_type | html %]" role="tabpanel" class="tab-pane advsearch"> |
206 |
<div id="advsearch-[% advsearchloo.advanced_search_type | html %]" role="tabpanel" class="tab-pane advsearch"> |
198 |
<h4>Limit to any of the following:</h4> |
207 |
<h3>Limit to any of the following:</h3> |
199 |
<table> |
208 |
<table> |
200 |
<tr> |
209 |
<tr> |
201 |
[% FOREACH itemtypeloo IN advsearchloo.code_loop %] |
210 |
[% FOREACH itemtypeloo IN advsearchloo.code_loop %] |
Lines 236-242
Link Here
|
236 |
[% IF ( expanded_options ) %] |
245 |
[% IF ( expanded_options ) %] |
237 |
<!-- BASIC LIMITS --> |
246 |
<!-- BASIC LIMITS --> |
238 |
<fieldset id="basiclimits"> |
247 |
<fieldset id="basiclimits"> |
239 |
<legend>Limits</legend> |
248 |
<h3>Limits</h3> |
240 |
<fieldset id="pubrange"> |
249 |
<fieldset id="pubrange"> |
241 |
<!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options --> |
250 |
<!-- PUB / COPY YEAR LIMIT --><!-- FIXME: add publication,copyright,acquisition options --> |
242 |
<p> |
251 |
<p> |