|
Lines 29-34
Link Here
|
| 29 |
[% END %] |
29 |
[% END %] |
| 30 |
[% END %] |
30 |
[% END %] |
| 31 |
|
31 |
|
|
|
32 |
[% BLOCK fieldset_start %]<fieldset>[% END %] |
| 33 |
[% BLOCK fieldset_end %]</fieldset>[% END %] |
| 34 |
|
| 32 |
[% BLOCK form_field_select %] |
35 |
[% BLOCK form_field_select %] |
| 33 |
<div class="form-field form-field-select"> |
36 |
<div class="form-field form-field-select"> |
| 34 |
<label class="form-field-label" for="[% name %]">[% INCLUDE form_label label=name %]</label> |
37 |
<label class="form-field-label" for="[% name %]">[% INCLUDE form_label label=name %]</label> |
|
Lines 125-137
Link Here
|
| 125 |
[% IF q.size %] |
128 |
[% IF q.size %] |
| 126 |
[% size = q.size - 1 %] |
129 |
[% size = q.size - 1 %] |
| 127 |
[% FOREACH i IN [0 .. size] %] |
130 |
[% FOREACH i IN [0 .. size] %] |
| 128 |
[% |
131 |
[% params = { f => f.$i q = q.$i op = op.$i } %] |
| 129 |
params = { |
|
|
| 130 |
f => f.$i |
| 131 |
q = q.$i |
| 132 |
op = op.$i |
| 133 |
} |
| 134 |
%] |
| 135 |
[% IF i > 0 %] |
132 |
[% IF i > 0 %] |
| 136 |
[% j = i - 1 %] |
133 |
[% j = i - 1 %] |
| 137 |
[% params.c = c.$j %] |
134 |
[% params.c = c.$j %] |
|
Lines 416-466
Link Here
|
| 416 |
</div> |
413 |
</div> |
| 417 |
</fieldset> |
414 |
</fieldset> |
| 418 |
</div> |
415 |
</div> |
| 419 |
<fieldset> |
416 |
[% INCLUDE fieldset_start %] |
| 420 |
[% INCLUDE form_field_select |
417 |
[% INCLUDE form_field_select name="homebranch" options = branches empty_option = "All libraries" %] |
| 421 |
name="homebranch" |
418 |
[% INCLUDE form_field_select name="holdingbranch" options = branches empty_option = "All libraries" %] |
| 422 |
options = branches |
419 |
[% INCLUDE form_field_select name="location" options = locations empty_option = "All locations" IF locations.size %] |
| 423 |
empty_option = "All libraries" |
420 |
[% INCLUDE fieldset_end %] |
| 424 |
%] |
421 |
[% INCLUDE fieldset_start %] |
| 425 |
[% INCLUDE form_field_select |
422 |
[% INCLUDE form_field_select name="itype" options = itemtypes empty_option = "All item types" %] |
| 426 |
name="holdingbranch" |
423 |
[% INCLUDE form_field_select name="ccode" options = ccodes empty_option = "All collection codes" %] |
| 427 |
options = branches |
424 |
[% INCLUDE form_field_select name="notforloan" options = notforloans empty_option = "All statuses" IF notforloans.size %] |
| 428 |
empty_option = "All libraries" |
425 |
[% INCLUDE fieldset_end %] |
| 429 |
%] |
426 |
[% INCLUDE fieldset_start %] |
| 430 |
[% IF locations.size %] |
|
|
| 431 |
[% INCLUDE form_field_select |
| 432 |
name="location" |
| 433 |
options = locations |
| 434 |
empty_option = "All locations" |
| 435 |
%] |
| 436 |
[% END %] |
| 437 |
</fieldset> |
| 438 |
<fieldset> |
| 439 |
[% INCLUDE form_field_select |
| 440 |
name="itype" |
| 441 |
options = itemtypes |
| 442 |
empty_option = "All item types" |
| 443 |
%] |
| 444 |
[% INCLUDE form_field_select |
| 445 |
name="ccode" |
| 446 |
options = ccodes |
| 447 |
empty_option = "All collection codes" |
| 448 |
%] |
| 449 |
[% IF notforloans.size %] |
| 450 |
[% INCLUDE form_field_select |
| 451 |
name="notforloan" |
| 452 |
options = notforloans |
| 453 |
empty_option = "All statuses" |
| 454 |
%] |
| 455 |
[% END %] |
| 456 |
</fieldset> |
| 457 |
<fieldset> |
| 458 |
[% INCLUDE form_field_select_text_block %] |
427 |
[% INCLUDE form_field_select_text_block %] |
| 459 |
<p class="hint">You can use the following wildcard characters: % _</p> |
428 |
<p class="hint">You can use the following wildcard characters: % _</p> |
| 460 |
<p class="hint">% matches any number of characters</p> |
429 |
<p class="hint">% matches any number of characters</p> |
| 461 |
<p class="hint">_ matches only a single character</p> |
430 |
<p class="hint">_ matches only a single character</p> |
| 462 |
</fieldset> |
431 |
[% INCLUDE fieldset_end %] |
| 463 |
<fieldset> |
432 |
[% INCLUDE fieldset_start %] |
| 464 |
<div class="form-field"> |
433 |
<div class="form-field"> |
| 465 |
<label class="form-field-label" for="itemcallnumber_from">From call number:</label> |
434 |
<label class="form-field-label" for="itemcallnumber_from">From call number:</label> |
| 466 |
[% value = CGI.param('itemcallnumber_from') %] |
435 |
[% value = CGI.param('itemcallnumber_from') %] |
|
Lines 495-509
Link Here
|
| 495 |
<input type="text" name="datelastborrowed" /> |
464 |
<input type="text" name="datelastborrowed" /> |
| 496 |
<span class="hint">ISO Format (YYYY-MM-DD)</span> |
465 |
<span class="hint">ISO Format (YYYY-MM-DD)</span> |
| 497 |
</div> |
466 |
</div> |
| 498 |
</fieldset> |
467 |
[% INCLUDE fieldset_end %] |
| 499 |
<fieldset> |
468 |
[% INCLUDE fieldset_start %] |
| 500 |
<div class="form-field-radio"> |
469 |
<div class="form-field-radio"> |
| 501 |
<label>Output:</label> |
470 |
<label>Output:</label> |
| 502 |
<input type="radio" id="format-html" name="format" value="html" checked="checked" /> <label for="format-html">Screen</label> |
471 |
<input type="radio" id="format-html" name="format" value="html" checked="checked" /> <label for="format-html">Screen</label> |
| 503 |
<input type="radio" id="format-csv" name="format" value="csv" /> <label for="format-csv">CSV</label> |
472 |
<input type="radio" id="format-csv" name="format" value="csv" /> <label for="format-csv">CSV</label> |
| 504 |
<input type="radio" id="format-barcodes" name="format" value="barcodes"/> <label for="format-barcodes">Barcodes file</label> |
473 |
<input type="radio" id="format-barcodes" name="format" value="barcodes"/> <label for="format-barcodes">Barcodes file</label> |
| 505 |
</div> |
474 |
</div> |
| 506 |
</fieldset> |
475 |
[% INCLUDE fieldset_end %] |
| 507 |
</form> |
476 |
</form> |
| 508 |
</div> |
477 |
</div> |
| 509 |
</div> |
478 |
</div> |
| 510 |
- |
|
|