Lines 111-116
Link Here
|
111 |
</div> |
111 |
</div> |
112 |
|
112 |
|
113 |
<div class="row-fluid"> |
113 |
<div class="row-fluid"> |
|
|
114 |
[% IF ( ( OpacAdvSearchOptions.grep('itemtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) %] |
114 |
<div class="span12"> |
115 |
<div class="span12"> |
115 |
<div id="advsearches" class="toptabs"> |
116 |
<div id="advsearches" class="toptabs"> |
116 |
<ul> |
117 |
<ul> |
Lines 141-148
Link Here
|
141 |
[% END # / FOREACH advancedsearchesloop %] |
142 |
[% END # / FOREACH advancedsearchesloop %] |
142 |
</div> <!-- / #advsearches --> |
143 |
</div> <!-- / #advsearches --> |
143 |
</div> <!-- / .span12 --> |
144 |
</div> <!-- / .span12 --> |
|
|
145 |
[% END %] |
144 |
|
146 |
|
145 |
<div class="row-fluid"> |
147 |
<div class="row-fluid"> |
|
|
148 |
[% IF ( ( OpacAdvSearchOptions.grep('pubdate').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('pubdate').size > 0 and expanded_options ) ) %] |
146 |
<div class="span3"> |
149 |
<div class="span3"> |
147 |
<div id="pubrange"> |
150 |
<div id="pubrange"> |
148 |
<!-- PUB RANGE OPTION --> |
151 |
<!-- PUB RANGE OPTION --> |
Lines 155-161
Link Here
|
155 |
<!-- /PUB RANGE OPTION --> |
158 |
<!-- /PUB RANGE OPTION --> |
156 |
</div> |
159 |
</div> |
157 |
</div> |
160 |
</div> |
|
|
161 |
[% END %] |
158 |
|
162 |
|
|
|
163 |
[% IF ( ( OpacAdvSearchOptions.grep('language').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('language').size > 0 and expanded_options ) ) %] |
159 |
<div class="span3"> |
164 |
<div class="span3"> |
160 |
<div id="langfilter"> |
165 |
<div id="langfilter"> |
161 |
<fieldset> |
166 |
<fieldset> |
Lines 178-184
Link Here
|
178 |
</fieldset> |
183 |
</fieldset> |
179 |
</div> <!-- / #langfilter --> |
184 |
</div> <!-- / #langfilter --> |
180 |
</div> <!-- / .span3 --> |
185 |
</div> <!-- / .span3 --> |
|
|
186 |
[% END %] |
181 |
|
187 |
|
|
|
188 |
[% IF ( ( OpacAdvSearchOptions.grep('location').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('location').size > 0 and expanded_options ) ) %] |
182 |
[% UNLESS ( singleBranchMode ) %] |
189 |
[% UNLESS ( singleBranchMode ) %] |
183 |
<div class="span3"> |
190 |
<div class="span3"> |
184 |
<!-- AVAILABILITY LIMITS --> |
191 |
<!-- AVAILABILITY LIMITS --> |
Lines 214-220
Link Here
|
214 |
<!-- /AVAILABILITY LIMITS --> |
221 |
<!-- /AVAILABILITY LIMITS --> |
215 |
</div> <!-- / .span3 --> |
222 |
</div> <!-- / .span3 --> |
216 |
[% END # / UNLESS singleBranchMode %] |
223 |
[% END # / UNLESS singleBranchMode %] |
|
|
224 |
[% END %] |
217 |
|
225 |
|
|
|
226 |
[% IF ( ( OpacAdvSearchOptions.grep('sorting').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('sorting').size > 0 and expanded_options ) ) %] |
218 |
<div class="span3"> |
227 |
<div class="span3"> |
219 |
<!-- RANK LIMITS --> |
228 |
<!-- RANK LIMITS --> |
220 |
<div id="sortby"> |
229 |
<div id="sortby"> |
Lines 228-236
Link Here
|
228 |
</div> |
237 |
</div> |
229 |
<!-- RANK LIMITS --> |
238 |
<!-- RANK LIMITS --> |
230 |
</div> <!-- / .span3 --> |
239 |
</div> <!-- / .span3 --> |
|
|
240 |
[% END %] |
231 |
</div> <!-- / .row-fluid --> |
241 |
</div> <!-- / .row-fluid --> |
232 |
|
242 |
|
233 |
[% IF ( expanded_options ) %] |
243 |
[% IF ( ( OpacAdvSearchOptions.grep('subtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('subtype').size > 0 and expanded_options ) ) %] |
234 |
<div class="row-fluid"> |
244 |
<div class="row-fluid"> |
235 |
[% IF ( usmarc ) %] |
245 |
[% IF ( usmarc ) %] |
236 |
<!-- SUBTYPE LIMITS --> |
246 |
<!-- SUBTYPE LIMITS --> |
Lines 330-335
Link Here
|
330 |
[% END # / IF expanded_options %] |
340 |
[% END # / IF expanded_options %] |
331 |
</div> <!-- / .row-fluid --> |
341 |
</div> <!-- / .row-fluid --> |
332 |
|
342 |
|
|
|
343 |
[% IF ( OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or ( OpacAdvSearchOptions.size > 0 and not expanded_options ) %] |
333 |
<div class="row-fluid"> |
344 |
<div class="row-fluid"> |
334 |
<div class="span12"> |
345 |
<div class="span12"> |
335 |
<div class="text-center"> |
346 |
<div class="text-center"> |
Lines 339-345
Link Here
|
339 |
</div> |
350 |
</div> |
340 |
</div> <!-- / .span12 --> |
351 |
</div> <!-- / .span12 --> |
341 |
</div> <!-- / .row-fluid --> |
352 |
</div> <!-- / .row-fluid --> |
342 |
</div> <!-- / .container-fluid --> |
353 |
[% END %] |
343 |
</div> <!-- / .main --> |
354 |
</div> <!-- / .main --> |
344 |
</form> |
355 |
</form> |
345 |
|
356 |
|
Lines 347-357
Link Here
|
347 |
[% BLOCK searchbuttons %] |
358 |
[% BLOCK searchbuttons %] |
348 |
<p> |
359 |
<p> |
349 |
<input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> |
360 |
<input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> |
350 |
[% IF ( expanded_options ) %] |
361 |
|
|
|
362 |
[% IF expanded_options %] |
351 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a> |
363 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a> |
352 |
[% ELSE %] |
364 |
[% ELSIF not expanded_options %] |
353 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">More options</a> |
365 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">More options</a> |
354 |
[% END %] |
366 |
[% END %] |
|
|
367 |
|
355 |
<a href="/cgi-bin/koha/opac-search.pl?do=Clear" class="btn btn-default new-search">New search</a> |
368 |
<a href="/cgi-bin/koha/opac-search.pl?do=Clear" class="btn btn-default new-search">New search</a> |
356 |
</p> |
369 |
</p> |
357 |
[% END %] |
370 |
[% END %] |