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