Lines 121-126
Link Here
|
121 |
<div class="main"> |
121 |
<div class="main"> |
122 |
<div class="container-fluid"> |
122 |
<div class="container-fluid"> |
123 |
<div class="row-fluid"> |
123 |
<div class="row-fluid"> |
|
|
124 |
[% IF ( ( OpacAdvSearchOptions.grep('itemtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) %] |
124 |
<div class="span12"> |
125 |
<div class="span12"> |
125 |
<div id="advsearches" class="toptabs"> |
126 |
<div id="advsearches" class="toptabs"> |
126 |
<ul> |
127 |
<ul> |
Lines 151-158
Link Here
|
151 |
[% END # / FOREACH advancedsearchesloop %] |
152 |
[% END # / FOREACH advancedsearchesloop %] |
152 |
</div> <!-- / #advsearches --> |
153 |
</div> <!-- / #advsearches --> |
153 |
</div> <!-- / .span12 --> |
154 |
</div> <!-- / .span12 --> |
|
|
155 |
[% END %] |
154 |
|
156 |
|
155 |
<div class="row-fluid"> |
157 |
<div class="row-fluid"> |
|
|
158 |
[% IF ( ( OpacAdvSearchOptions.grep('pubdate').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('pubdate').size > 0 and expanded_options ) ) %] |
156 |
<div class="span3"> |
159 |
<div class="span3"> |
157 |
<div id="pubrange"> |
160 |
<div id="pubrange"> |
158 |
<!-- PUB RANGE OPTION --> |
161 |
<!-- PUB RANGE OPTION --> |
Lines 165-171
Link Here
|
165 |
<!-- /PUB RANGE OPTION --> |
168 |
<!-- /PUB RANGE OPTION --> |
166 |
</div> |
169 |
</div> |
167 |
</div> |
170 |
</div> |
|
|
171 |
[% END %] |
168 |
|
172 |
|
|
|
173 |
[% IF ( ( OpacAdvSearchOptions.grep('language').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('language').size > 0 and expanded_options ) ) %] |
169 |
<div class="span3"> |
174 |
<div class="span3"> |
170 |
<div id="langfilter"> |
175 |
<div id="langfilter"> |
171 |
<fieldset> |
176 |
<fieldset> |
Lines 188-194
Link Here
|
188 |
</fieldset> |
193 |
</fieldset> |
189 |
</div> <!-- / #langfilter --> |
194 |
</div> <!-- / #langfilter --> |
190 |
</div> <!-- / .span3 --> |
195 |
</div> <!-- / .span3 --> |
|
|
196 |
[% END %] |
191 |
|
197 |
|
|
|
198 |
[% IF ( ( OpacAdvSearchOptions.grep('location').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('location').size > 0 and expanded_options ) ) %] |
192 |
[% UNLESS ( singleBranchMode ) %] |
199 |
[% UNLESS ( singleBranchMode ) %] |
193 |
<div class="span3"> |
200 |
<div class="span3"> |
194 |
<!-- AVAILABILITY LIMITS --> |
201 |
<!-- AVAILABILITY LIMITS --> |
Lines 224-230
Link Here
|
224 |
<!-- /AVAILABILITY LIMITS --> |
231 |
<!-- /AVAILABILITY LIMITS --> |
225 |
</div> <!-- / .span3 --> |
232 |
</div> <!-- / .span3 --> |
226 |
[% END # / UNLESS singleBranchMode %] |
233 |
[% END # / UNLESS singleBranchMode %] |
|
|
234 |
[% END %] |
227 |
|
235 |
|
|
|
236 |
[% IF ( ( OpacAdvSearchOptions.grep('sorting').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('sorting').size > 0 and expanded_options ) ) %] |
228 |
<div class="span3"> |
237 |
<div class="span3"> |
229 |
<!-- RANK LIMITS --> |
238 |
<!-- RANK LIMITS --> |
230 |
<div id="sortby"> |
239 |
<div id="sortby"> |
Lines 238-246
Link Here
|
238 |
</div> |
247 |
</div> |
239 |
<!-- RANK LIMITS --> |
248 |
<!-- RANK LIMITS --> |
240 |
</div> <!-- / .span3 --> |
249 |
</div> <!-- / .span3 --> |
|
|
250 |
[% END %] |
241 |
</div> <!-- / .row-fluid --> |
251 |
</div> <!-- / .row-fluid --> |
242 |
|
252 |
|
243 |
[% IF ( expanded_options ) %] |
253 |
[% IF ( ( OpacAdvSearchOptions.grep('subtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('subtype').size > 0 and expanded_options ) ) %] |
244 |
<div class="row-fluid"> |
254 |
<div class="row-fluid"> |
245 |
[% IF ( usmarc ) %] |
255 |
[% IF ( usmarc ) %] |
246 |
<!-- SUBTYPE LIMITS --> |
256 |
<!-- SUBTYPE LIMITS --> |
Lines 341-346
Link Here
|
341 |
</div> <!-- / .container-fluid --> |
351 |
</div> <!-- / .container-fluid --> |
342 |
</div> <!-- / .main --> |
352 |
</div> <!-- / .main --> |
343 |
|
353 |
|
|
|
354 |
[% IF ( OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or ( OpacAdvSearchOptions.size > 0 and not expanded_options ) %] |
344 |
<div class="container-fluid"> |
355 |
<div class="container-fluid"> |
345 |
<div class="row-fluid"> |
356 |
<div class="row-fluid"> |
346 |
<div class="span12"> |
357 |
<div class="span12"> |
Lines 352-366
Link Here
|
352 |
</div> <!-- / .span12 --> |
363 |
</div> <!-- / .span12 --> |
353 |
</div> <!-- / .row-fluid --> |
364 |
</div> <!-- / .row-fluid --> |
354 |
</div> <!-- / .container-fluid --> |
365 |
</div> <!-- / .container-fluid --> |
|
|
366 |
[% END %] |
355 |
</form> |
367 |
</form> |
356 |
|
368 |
|
357 |
[% INCLUDE 'opac-bottom.inc' %] |
369 |
[% INCLUDE 'opac-bottom.inc' %] |
358 |
[% BLOCK searchbuttons %] |
370 |
[% BLOCK searchbuttons %] |
359 |
<p> |
371 |
<p> |
360 |
<input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> |
372 |
<input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> |
361 |
[% IF ( expanded_options ) %] |
373 |
|
|
|
374 |
[% IF expanded_options %] |
362 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0">[Fewer options]</a> |
375 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0">[Fewer options]</a> |
363 |
[% ELSE %] |
376 |
[% ELSIF not expanded_options %] |
364 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=1">[More options]</a> |
377 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=1">[More options]</a> |
365 |
[% END %] |
378 |
[% END %] |
366 |
<a href="/cgi-bin/koha/opac-search.pl?do=Clear">[New search]</a> |
379 |
<a href="/cgi-bin/koha/opac-search.pl?do=Clear">[New search]</a> |
Lines 392-395
Link Here
|
392 |
}); |
405 |
}); |
393 |
//]]> |
406 |
//]]> |
394 |
</script> |
407 |
</script> |
395 |
[% END %] |
408 |
[% END %] |