Lines 387-394
Link Here
|
387 |
<span class="label">Sort 1:</span> |
387 |
<span class="label">Sort 1:</span> |
388 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
388 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
389 |
<form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
389 |
<form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
|
|
390 |
[% INCLUDE 'csrf-token.inc' %] |
390 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
391 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
391 |
<input type="hidden" name="op" value="set_sort1" /> |
392 |
<input type="hidden" name="op" value="cud-set_sort1" /> |
392 |
<textarea name="sort1" rows="2" cols="30">[% ITEM_DAT.sort1 | html %]</textarea><input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" /> |
393 |
<textarea name="sort1" rows="2" cols="30">[% ITEM_DAT.sort1 | html %]</textarea><input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" /> |
393 |
</form> |
394 |
</form> |
394 |
[% ELSE %] |
395 |
[% ELSE %] |
Lines 399-406
Link Here
|
399 |
<span class="label">Sort 2:</span> |
400 |
<span class="label">Sort 2:</span> |
400 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
401 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
401 |
<form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
402 |
<form class="inline" action="updateitem.pl" method="post"><input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" /> |
|
|
403 |
[% INCLUDE 'csrf-token.inc' %] |
402 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
404 |
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" /><input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" /> |
403 |
<input type="hidden" name="op" value="set_sort2" /> |
405 |
<input type="hidden" name="op" value="cud-set_sort2" /> |
404 |
<textarea name="sort2" rows="2" cols="30">[% ITEM_DAT.sort2 | html %]</textarea><input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" /> |
406 |
<textarea name="sort2" rows="2" cols="30">[% ITEM_DAT.sort2 | html %]</textarea><input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" /> |
405 |
</form> |
407 |
</form> |
406 |
[% ELSE %] |
408 |
[% ELSE %] |
407 |
- |
|
|