Lines 282-311
Link Here
|
282 |
<div class="yui-u first"> |
282 |
<div class="yui-u first"> |
283 |
<!-- AVAILABILITY LIMITS --> |
283 |
<!-- AVAILABILITY LIMITS --> |
284 |
[% UNLESS ( singleBranchMode ) %] |
284 |
[% UNLESS ( singleBranchMode ) %] |
285 |
<div id="location" class="container"><fieldset><legend>Location and availability: </legend> |
285 |
<div id="location" class="container"> |
|
|
286 |
<fieldset> |
287 |
<legend>Location and availability: </legend> |
286 |
|
288 |
|
287 |
<label for="branchloop">Library:</label> |
289 |
[% UNLESS IndependentBranchesOpacSearch %] |
288 |
<select name="limit" id="branchloop"> |
290 |
<label for="branchloop">Library:</label> |
289 |
<option value="">All libraries</option> |
291 |
<select name="limit" id="branchloop"> |
290 |
[% FOREACH BranchesLoo IN BranchesLoop %] |
292 |
<option value="">All libraries</option> |
291 |
[% IF ( BranchesLoo.selected ) %] |
293 |
[% FOREACH BranchesLoo IN BranchesLoop %] |
292 |
<option value="branch:[% BranchesLoo.value %]" selected="selected">[% BranchesLoo.branchname %]</option> |
294 |
[% IF ( BranchesLoo.selected ) %] |
293 |
[% ELSE %] |
295 |
<option value="branch:[% BranchesLoo.value %]" selected="selected">[% BranchesLoo.branchname %]</option> |
294 |
<option value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option> |
296 |
[% ELSE %] |
295 |
[% END %] |
297 |
<option value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option> |
296 |
[% END %] |
298 |
[% END %] |
297 |
</select> |
299 |
[% END %] |
298 |
[% IF ( searchdomainloop ) %] |
300 |
</select> |
299 |
<p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. --> |
301 |
|
300 |
<label for="categoryloop">Groups of libraries</label><select name="multibranchlimit" id="categoryloop"> |
302 |
[% IF ( searchdomainloop ) %] |
301 |
<option value=""> -- none -- </option> |
303 |
<p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. --> |
302 |
[% FOREACH searchdomainloo IN searchdomainloop %] |
304 |
|
303 |
<option value="[% searchdomainloo.categorycode %]">[% searchdomainloo.categoryname %]</option> |
305 |
<label for="categoryloop">Groups of libraries</label> |
|
|
306 |
<select name="multibranchlimit" id="categoryloop"> |
307 |
<option value=""> -- none -- </option> |
308 |
[% FOREACH searchdomainloo IN searchdomainloop %] |
309 |
<option value="[% searchdomainloo.categorycode %]">[% searchdomainloo.categoryname %]</option> |
310 |
[% END %] |
311 |
</select> |
312 |
[% END %] |
304 |
[% END %] |
313 |
[% END %] |
305 |
</select> |
314 |
|
306 |
[% END %] |
315 |
<div style="margin-top:.4em"> |
307 |
<div style="margin-top:.4em"><label for="available-items"><input type="checkbox" id="available-items" name="limit" value="available" /> Only items currently available for loan or reference</label></div> |
316 |
<label for="available-items"> |
308 |
</fieldset></div> |
317 |
<input type="checkbox" id="available-items" name="limit" value="available" /> |
|
|
318 |
Only items currently available for loan or reference |
319 |
</label> |
320 |
</div> |
321 |
</fieldset> |
322 |
</div> |
309 |
[% END %] |
323 |
[% END %] |
310 |
<!-- /AVAILABILITY LIMITS --> |
324 |
<!-- /AVAILABILITY LIMITS --> |
311 |
</div> |
325 |
</div> |