Lines 113-125
Link Here
|
113 |
[% IF ( paramsloo.status ) %]<div class="alert">[% paramsloo.string %]</div>[% END %] |
113 |
[% IF ( paramsloo.status ) %]<div class="alert">[% paramsloo.string %]</div>[% END %] |
114 |
[% IF ( paramsloo.nobarcode ) %]<div class="alert">ERROR: No barcode given.</div>[% END %] |
114 |
[% IF ( paramsloo.nobarcode ) %]<div class="alert">ERROR: No barcode given.</div>[% END %] |
115 |
[% IF ( paramsloo.noshelfnumber ) %]<div class="alert">ERROR: No shelfnumber given.</div>[% END %] |
115 |
[% IF ( paramsloo.noshelfnumber ) %]<div class="alert">ERROR: No shelfnumber given.</div>[% END %] |
116 |
[% IF ( paramsloo.need_confirm ) %] |
|
|
117 |
<div class="alert"> |
118 |
The list <i>[% paramsloo.need_confirm %]</i> is not empty. |
119 |
<br />It has <b>[% paramsloo.count %]</b> [% IF ( paramsloo.single ) %]entry[% ELSE %]entries[% END %]. |
120 |
<br />Use the "Confirm" button below to confirm deletion. |
121 |
</div> |
122 |
[% END %] |
123 |
[% IF ( paramsloo.nopermission ) %] |
116 |
[% IF ( paramsloo.nopermission ) %] |
124 |
<div class="alert">ERROR: You do not have adequate permission for that action on list [% paramsloo.nopermission |html%].</div> |
117 |
<div class="alert">ERROR: You do not have adequate permission for that action on list [% paramsloo.nopermission |html%].</div> |
125 |
[% END %] |
118 |
[% END %] |
Lines 493-498
Link Here
|
493 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
486 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
494 |
<input type="hidden" value="1" name="shelves"/> |
487 |
<input type="hidden" value="1" name="shelves"/> |
495 |
<input type="hidden" value="1" name="DEL-[% shelfnumber %]"/> |
488 |
<input type="hidden" value="1" name="DEL-[% shelfnumber %]"/> |
|
|
489 |
<input type="hidden" value="1" name="CONFIRM-[% shelfnumber %]"/> |
496 |
[% IF ( showprivateshelves ) %] |
490 |
[% IF ( showprivateshelves ) %] |
497 |
<input type="hidden" name="display" value="privateshelves"/> |
491 |
<input type="hidden" name="display" value="privateshelves"/> |
498 |
[% END %] |
492 |
[% END %] |
Lines 519-524
Link Here
|
519 |
[% ELSIF ( !itemsloop && manageshelf ) %] |
513 |
[% ELSIF ( !itemsloop && manageshelf ) %] |
520 |
<form method="post" action="opac-shelves.pl"> |
514 |
<form method="post" action="opac-shelves.pl"> |
521 |
<input type="hidden" name="DEL-[% shelfnumber %]" value="1" /> |
515 |
<input type="hidden" name="DEL-[% shelfnumber %]" value="1" /> |
|
|
516 |
<input type="hidden" name="CONFIRM-[% shelfnumber %]" value="1" /> |
522 |
<input type="hidden" name="shelves" value="1" /> |
517 |
<input type="hidden" name="shelves" value="1" /> |
523 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
518 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
524 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
519 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
Lines 654-666
Link Here
|
654 |
<input type="hidden" name="shelves" value="1" /> |
649 |
<input type="hidden" name="shelves" value="1" /> |
655 |
<input type="hidden" name="display" value="privateshelves" /> |
650 |
<input type="hidden" name="display" value="privateshelves" /> |
656 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf %]" value="1" /> |
651 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf %]" value="1" /> |
|
|
652 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.shelf %]" value="1" /> |
657 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
653 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
658 |
[% IF ( shelveslooppri.confirm ) %] |
|
|
659 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> |
660 |
<input type="submit" class="btn btn-danger confirm" value="Confirm" /> |
661 |
[% ELSE %] |
662 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
654 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
663 |
[% END %] |
|
|
664 |
</form> |
655 |
</form> |
665 |
[% IF Koha.Preference('OpacAllowSharingPrivateLists') %] |
656 |
[% IF Koha.Preference('OpacAllowSharingPrivateLists') %] |
666 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelveslooppri.shelf %]" class="">Share</a> |
657 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelveslooppri.shelf %]" class="">Share</a> |
Lines 726-738
Link Here
|
726 |
</form> |
717 |
</form> |
727 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
718 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
728 |
<input type="hidden" name="shelves" value="1" /> |
719 |
<input type="hidden" name="shelves" value="1" /> |
|
|
720 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
729 |
<input type="hidden" name="DEL-[% shelvesloo.shelf %]" value="1" /> |
721 |
<input type="hidden" name="DEL-[% shelvesloo.shelf %]" value="1" /> |
730 |
[% IF ( shelvesloo.confirm ) %] |
722 |
<input type="hidden" name="CONFIRM-[% shelvesloo.shelf %]" value="1" /> |
731 |
<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" /> |
|
|
732 |
<input type="submit" class="btn btn-danger confirm" value="Confirm" /> |
733 |
[% ELSE %] |
734 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
723 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
735 |
[% END %] |
|
|
736 |
</form> |
724 |
</form> |
737 |
[% END %] |
725 |
[% END %] |
738 |
</td> |
726 |
</td> |
739 |
- |
|
|