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