Lines 156-165
Link Here
|
156 |
<div id="toolbar" class="toolbar clearfix"> |
156 |
<div id="toolbar" class="toolbar clearfix"> |
157 |
<div class="list-actions"> |
157 |
<div class="list-actions"> |
158 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New list</a> <span class="sep">|</span> |
158 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New list</a> <span class="sep">|</span> |
159 |
<a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber %]&showprivateshelves=[% showprivateshelves %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a> |
159 |
<a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber | html %]&showprivateshelves=[% showprivateshelves | html %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a> |
160 |
|
160 |
|
161 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
161 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
162 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> |
162 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> |
163 |
[% END %] |
163 |
[% END %] |
164 |
|
164 |
|
165 |
<a class="print-small" href="/cgi-bin/koha/opac-shelves.pl" onclick="print(); return false;">Print list</a> |
165 |
<a class="print-small" href="/cgi-bin/koha/opac-shelves.pl" onclick="print(); return false;">Print list</a> |
Lines 169-198
Link Here
|
169 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
169 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
170 |
<input type="hidden" name="op" value="modif" /> |
170 |
<input type="hidden" name="op" value="modif" /> |
171 |
<input type="hidden" name="display" value="viewshelf" /> |
171 |
<input type="hidden" name="display" value="viewshelf" /> |
172 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
172 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
173 |
<input type="submit" class="editshelf" value="Edit list" /> |
173 |
<input type="submit" class="editshelf" value="Edit list" /> |
174 |
</form> |
174 |
</form> |
175 |
|
175 |
|
176 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
176 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
177 |
<input type="hidden" value="1" name="shelves"/> |
177 |
<input type="hidden" value="1" name="shelves"/> |
178 |
<input type="hidden" value="1" name="DEL-[% shelfnumber %]"/> |
178 |
<input type="hidden" value="1" name="DEL-[% shelfnumber | html %]"/> |
179 |
[% IF ( showprivateshelves ) %] |
179 |
[% IF ( showprivateshelves ) %] |
180 |
<input type="hidden" name="display" value="privateshelves"/> |
180 |
<input type="hidden" name="display" value="privateshelves"/> |
181 |
[% END %] |
181 |
[% END %] |
182 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
182 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
183 |
</form> |
183 |
</form> |
184 |
[% IF showprivateshelves && Koha.Preference('OpacAllowSharingPrivateLists') %] |
184 |
[% IF showprivateshelves && Koha.Preference('OpacAllowSharingPrivateLists') %] |
185 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelfnumber %]" class="">Share list</a> |
185 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelfnumber | html %]" class="">Share list</a> |
186 |
[% END %] |
186 |
[% END %] |
187 |
[% ELSIF showprivateshelves # not manageshelf and private means shared %] |
187 |
[% ELSIF showprivateshelves # not manageshelf and private means shared %] |
188 |
[% INCLUDE remove_share %] |
188 |
[% INCLUDE remove_share %] |
189 |
<input type="hidden" name="REMSHR-[% shelfnumber %]" value="1" /> |
189 |
<input type="hidden" name="REMSHR-[% shelfnumber | html %]" value="1" /> |
190 |
</form> |
190 |
</form> |
191 |
[% END # / IF manageshelf %] |
191 |
[% END # / IF manageshelf %] |
192 |
</div> |
192 |
</div> |
193 |
|
193 |
|
194 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
194 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
195 |
<input type="hidden" name="viewshelf" value="[% shelfnumber %]" /> |
195 |
<input type="hidden" name="viewshelf" value="[% shelfnumber | html %]" /> |
196 |
|
196 |
|
197 |
<label for="sort">Sort by: </label> |
197 |
<label for="sort">Sort by: </label> |
198 |
<select name="sort" id="sort" class="resort" onchange="$('#sorting-form').submit()"> |
198 |
<select name="sort" id="sort" class="resort" onchange="$('#sorting-form').submit()"> |
Lines 268-274
Link Here
|
268 |
|
268 |
|
269 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
269 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
270 |
[% IF ( manageshelf ) %] |
270 |
[% IF ( manageshelf ) %] |
271 |
<input type="hidden" name="viewshelf" value="[% shelfnumber %]" /> |
271 |
<input type="hidden" name="viewshelf" value="[% shelfnumber | html %]" /> |
272 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
272 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
273 |
[% END %] |
273 |
[% END %] |
274 |
<div class="searchresults"> |
274 |
<div class="searchresults"> |
Lines 485-497
Link Here
|
485 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
485 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
486 |
<input type="hidden" name="op" value="modif" /> |
486 |
<input type="hidden" name="op" value="modif" /> |
487 |
<input type="hidden" name="display" value="viewshelf" /> |
487 |
<input type="hidden" name="display" value="viewshelf" /> |
488 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
488 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
489 |
<input type="submit" class="editshelf" value="Edit list" /> |
489 |
<input type="submit" class="editshelf" value="Edit list" /> |
490 |
</form> |
490 |
</form> |
491 |
|
491 |
|
492 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
492 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
493 |
<input type="hidden" value="1" name="shelves"/> |
493 |
<input type="hidden" value="1" name="shelves"/> |
494 |
<input type="hidden" value="1" name="DEL-[% shelfnumber %]"/> |
494 |
<input type="hidden" value="1" name="DEL-[% shelfnumber | html %]"/> |
495 |
[% IF ( showprivateshelves ) %] |
495 |
[% IF ( showprivateshelves ) %] |
496 |
<input type="hidden" name="display" value="privateshelves"/> |
496 |
<input type="hidden" name="display" value="privateshelves"/> |
497 |
[% END %] |
497 |
[% END %] |
Lines 511-523
Link Here
|
511 |
[% END # / IF viewshelf %] |
511 |
[% END # / IF viewshelf %] |
512 |
|
512 |
|
513 |
[% IF ( itemsloop && allowremovingitems ) %] |
513 |
[% IF ( itemsloop && allowremovingitems ) %] |
514 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
514 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
515 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
515 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
516 |
<input type="hidden" name="viewshelf" value="[% shelfnumber %]" /><input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
516 |
<input type="hidden" name="viewshelf" value="[% shelfnumber | html %]" /><input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
517 |
</form> |
517 |
</form> |
518 |
[% ELSIF ( !itemsloop && manageshelf ) %] |
518 |
[% ELSIF ( !itemsloop && manageshelf ) %] |
519 |
<form method="post" action="opac-shelves.pl"> |
519 |
<form method="post" action="opac-shelves.pl"> |
520 |
<input type="hidden" name="DEL-[% shelfnumber %]" value="1" /> |
520 |
<input type="hidden" name="DEL-[% shelfnumber | html %]" value="1" /> |
521 |
<input type="hidden" name="shelves" value="1" /> |
521 |
<input type="hidden" name="shelves" value="1" /> |
522 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
522 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
523 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
523 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
Lines 528-534
Link Here
|
528 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl"> |
528 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl"> |
529 |
<input type="hidden" name="op" value="modifsave" /> |
529 |
<input type="hidden" name="op" value="modifsave" /> |
530 |
<input type="hidden" name="display" value="[% display %]" /> |
530 |
<input type="hidden" name="display" value="[% display %]" /> |
531 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
531 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
532 |
<fieldset class="rows"> |
532 |
<fieldset class="rows"> |
533 |
<legend>Editing <em>[% shelfname |html %]</em></legend> |
533 |
<legend>Editing <em>[% shelfname |html %]</em></legend> |
534 |
<ol> |
534 |
<ol> |
Lines 588-596
Link Here
|
588 |
<fieldset class="action"> |
588 |
<fieldset class="action"> |
589 |
<input type="submit" value="Save" class="btn" /> |
589 |
<input type="submit" value="Save" class="btn" /> |
590 |
[% IF ( showprivateshelves ) %] |
590 |
[% IF ( showprivateshelves ) %] |
591 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]&display=privateshelves">Cancel</a> |
591 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber | html %]&display=privateshelves">Cancel</a> |
592 |
[% ELSE %] |
592 |
[% ELSE %] |
593 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]">Cancel</a> |
593 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber | html %]">Cancel</a> |
594 |
[% END %] |
594 |
[% END %] |
595 |
</fieldset> |
595 |
</fieldset> |
596 |
</form> |
596 |
</form> |
Lines 644-650
Link Here
|
644 |
<td> |
644 |
<td> |
645 |
[% IF ( shelveslooppri.mine ) %] |
645 |
[% IF ( shelveslooppri.mine ) %] |
646 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
646 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
647 |
<input type="hidden" name="shelfnumber" value="[% shelveslooppri.shelf %]" /> |
647 |
<input type="hidden" name="shelfnumber" value="[% shelveslooppri.shelf |html %]" /> |
648 |
<input type="hidden" name="display" value="privateshelves" /> |
648 |
<input type="hidden" name="display" value="privateshelves" /> |
649 |
<input type="hidden" name="op" value="modif" /> |
649 |
<input type="hidden" name="op" value="modif" /> |
650 |
<input type="submit" class="editshelf" value="Edit" /> |
650 |
<input type="submit" class="editshelf" value="Edit" /> |
Lines 652-673
Link Here
|
652 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
652 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
653 |
<input type="hidden" name="shelves" value="1" /> |
653 |
<input type="hidden" name="shelves" value="1" /> |
654 |
<input type="hidden" name="display" value="privateshelves" /> |
654 |
<input type="hidden" name="display" value="privateshelves" /> |
655 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf %]" value="1" /> |
655 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf |html %]" value="1" /> |
656 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
656 |
<input type="hidden" name="shelfoff" value="[% shelfoff |html %]" /> |
657 |
[% IF ( shelveslooppri.confirm ) %] |
657 |
[% IF ( shelveslooppri.confirm ) %] |
658 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> |
658 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm |html %]" value="1" /> |
659 |
<input type="submit" class="btn btn-danger confirm" value="Confirm" /> |
659 |
<input type="submit" class="btn btn-danger confirm" value="Confirm" /> |
660 |
[% ELSE %] |
660 |
[% ELSE %] |
661 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
661 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
662 |
[% END %] |
662 |
[% END %] |
663 |
</form> |
663 |
</form> |
664 |
[% IF Koha.Preference('OpacAllowSharingPrivateLists') %] |
664 |
[% IF Koha.Preference('OpacAllowSharingPrivateLists') %] |
665 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelveslooppri.shelf %]" class="">Share</a> |
665 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelveslooppri.shelf |html %]" class="">Share</a> |
666 |
[% END %] |
666 |
[% END %] |
667 |
[% ELSE # not shelveslooppri.mine, so shared %] |
667 |
[% ELSE # not shelveslooppri.mine, so shared %] |
668 |
[% INCLUDE remove_share # if pref is off, you should still be able to remove shares %] |
668 |
[% INCLUDE remove_share # if pref is off, you should still be able to remove shares %] |
669 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
669 |
<input type="hidden" name="shelfoff" value="[% shelfoff |html %]" /> |
670 |
<input type="hidden" name="REMSHR-[% shelveslooppri.shelf %]" value="1" /> |
670 |
<input type="hidden" name="REMSHR-[% shelveslooppri.shelf |html %]" value="1" /> |
671 |
</form> |
671 |
</form> |
672 |
[% END %] |
672 |
[% END %] |
673 |
</td> |
673 |
</td> |
674 |
- |
|
|