Lines 111-117
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 |
[% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('itemtype').size > 0 and not expanded_options ) or |
|
|
115 |
( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) %] |
115 |
<div class="span12"> |
116 |
<div class="span12"> |
116 |
<div id="advsearches" class="toptabs"> |
117 |
<div id="advsearches" class="toptabs"> |
117 |
<ul> |
118 |
<ul> |
Lines 145-151
Link Here
|
145 |
[% END %] |
146 |
[% END %] |
146 |
|
147 |
|
147 |
<div class="row-fluid"> |
148 |
<div class="row-fluid"> |
148 |
[% IF ( ( OpacAdvSearchOptions.grep('pubdate').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('pubdate').size > 0 and expanded_options ) ) %] |
149 |
[% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('pubdate').size > 0 and not expanded_options ) or |
|
|
150 |
( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('pubdate').size > 0 and expanded_options ) ) %] |
149 |
<div class="span3"> |
151 |
<div class="span3"> |
150 |
<div id="pubrange"> |
152 |
<div id="pubrange"> |
151 |
<!-- PUB RANGE OPTION --> |
153 |
<!-- PUB RANGE OPTION --> |
Lines 160-166
Link Here
|
160 |
</div> |
162 |
</div> |
161 |
[% END %] |
163 |
[% END %] |
162 |
|
164 |
|
163 |
[% IF ( ( OpacAdvSearchOptions.grep('language').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('language').size > 0 and expanded_options ) ) %] |
165 |
[% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('language').size > 0 and not expanded_options ) or |
|
|
166 |
( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('language').size > 0 and expanded_options ) ) %] |
164 |
<div class="span3"> |
167 |
<div class="span3"> |
165 |
<div id="langfilter"> |
168 |
<div id="langfilter"> |
166 |
<fieldset> |
169 |
<fieldset> |
Lines 185-191
Link Here
|
185 |
</div> <!-- / .span3 --> |
188 |
</div> <!-- / .span3 --> |
186 |
[% END %] |
189 |
[% END %] |
187 |
|
190 |
|
188 |
[% IF ( ( OpacAdvSearchOptions.grep('location').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('location').size > 0 and expanded_options ) ) %] |
191 |
[% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('location').size > 0 and not expanded_options ) or |
|
|
192 |
( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('location').size > 0 and expanded_options ) ) %] |
189 |
[% UNLESS ( singleBranchMode ) %] |
193 |
[% UNLESS ( singleBranchMode ) %] |
190 |
<div class="span3"> |
194 |
<div class="span3"> |
191 |
<!-- AVAILABILITY LIMITS --> |
195 |
<!-- AVAILABILITY LIMITS --> |
Lines 223-229
Link Here
|
223 |
[% END # / UNLESS singleBranchMode %] |
227 |
[% END # / UNLESS singleBranchMode %] |
224 |
[% END %] |
228 |
[% END %] |
225 |
|
229 |
|
226 |
[% IF ( ( OpacAdvSearchOptions.grep('sorting').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('sorting').size > 0 and expanded_options ) ) %] |
230 |
[% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('sorting').size > 0 and not expanded_options ) or |
|
|
231 |
( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('sorting').size > 0 and expanded_options ) ) %] |
227 |
<div class="span3"> |
232 |
<div class="span3"> |
228 |
<!-- RANK LIMITS --> |
233 |
<!-- RANK LIMITS --> |
229 |
<div id="sortby"> |
234 |
<div id="sortby"> |
Lines 240-246
Link Here
|
240 |
[% END %] |
245 |
[% END %] |
241 |
</div> <!-- / .row-fluid --> |
246 |
</div> <!-- / .row-fluid --> |
242 |
|
247 |
|
243 |
[% IF ( ( OpacAdvSearchOptions.grep('subtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions.grep('subtype').size > 0 and expanded_options ) ) %] |
248 |
[% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('subtype').size > 0 and not expanded_options ) or |
|
|
249 |
( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('subtype').size > 0 and expanded_options ) ) %] |
244 |
<div class="row-fluid"> |
250 |
<div class="row-fluid"> |
245 |
[% IF ( usmarc ) %] |
251 |
[% IF ( usmarc ) %] |
246 |
<!-- SUBTYPE LIMITS --> |
252 |
<!-- SUBTYPE LIMITS --> |
Lines 340-346
Link Here
|
340 |
[% END # / IF expanded_options %] |
346 |
[% END # / IF expanded_options %] |
341 |
</div> <!-- / .row-fluid --> |
347 |
</div> <!-- / .row-fluid --> |
342 |
|
348 |
|
343 |
[% IF ( OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or ( OpacAdvSearchOptions.size > 0 and not expanded_options ) %] |
349 |
[% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 and expanded_options ) or |
|
|
350 |
( OpacAdvSearchOptions and OpacAdvSearchOptions.size > 0 and not expanded_options ) %] |
344 |
<div class="row-fluid"> |
351 |
<div class="row-fluid"> |
345 |
<div class="span12"> |
352 |
<div class="span12"> |
346 |
<div class="text-center"> |
353 |
<div class="text-center"> |
Lines 359-365
Link Here
|
359 |
<p> |
366 |
<p> |
360 |
<input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> |
367 |
<input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> |
361 |
|
368 |
|
362 |
[% IF OpacAdvSearchMoreOptions.size > 0 %] |
369 |
[% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 ) %] |
363 |
[% IF expanded_options %] |
370 |
[% IF expanded_options %] |
364 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a> |
371 |
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a> |
365 |
[% ELSIF not expanded_options %] |
372 |
[% ELSIF not expanded_options %] |
366 |
- |
|
|