Lines 5-11
Link Here
|
5 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %] |
5 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %] |
6 |
|
6 |
|
7 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF op == 'view' %]Contents of [% shelf.shelfname |html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %] |
8 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF op == 'view' %]Contents of [% shelf.shelfname %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %] |
9 |
[% BLOCK cssinclude %][% END %] |
9 |
[% BLOCK cssinclude %][% END %] |
10 |
</head> |
10 |
</head> |
11 |
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %] |
11 |
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %] |
Lines 66-72
Link Here
|
66 |
[% END %] |
66 |
[% END %] |
67 |
|
67 |
|
68 |
[% IF op == 'view' %] |
68 |
[% IF op == 'view' %] |
69 |
<li><span class="divider">›</span> Contents of <i>[% shelf.shelfname | html %]</i></li> |
69 |
<li><span class="divider">›</span> Contents of <i>[% shelf.shelfname %]</i></li> |
70 |
[% END %] |
70 |
[% END %] |
71 |
|
71 |
|
72 |
[% IF op == 'add_form' %] |
72 |
[% IF op == 'add_form' %] |
Lines 74-80
Link Here
|
74 |
[% END %] |
74 |
[% END %] |
75 |
|
75 |
|
76 |
[% IF op == 'edit_form' %] |
76 |
[% IF op == 'edit_form' %] |
77 |
<li><span class="divider">›</span> Edit list <i>[% shelf.shelfname | html %]</i></li> |
77 |
<li><span class="divider">›</span> Edit list <i>[% shelf.shelfname %]</i></li> |
78 |
[% END %] |
78 |
[% END %] |
79 |
|
79 |
|
80 |
</ul> <!-- / .breadcrumb --> |
80 |
</ul> <!-- / .breadcrumb --> |
Lines 155-174
Link Here
|
155 |
|
155 |
|
156 |
[% IF op == 'view' %] |
156 |
[% IF op == 'view' %] |
157 |
<h3> |
157 |
<h3> |
158 |
[% shelf.shelfname |html %] |
158 |
[% shelf.shelfname %] |
159 |
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&op=view&shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint"> |
159 |
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&op=view&shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint"> |
160 |
<img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/> |
|
|
161 |
</a> |
162 |
</h3> |
163 |
|
164 |
[% IF ( itemsloop ) %] |
165 |
<div id="toolbar" class="toolbar clearfix"> |
166 |
<div class="list-actions"> |
167 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span> |
160 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form">New list</a> <span class="sep">|</span> |
168 |
<a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a> |
161 |
<a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a> |
169 |
|
162 |
|
170 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
163 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
171 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> |
164 |
<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelf.shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> |
172 |
[% END %] |
165 |
[% END %] |
173 |
|
166 |
|
174 |
<a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">Print list</a> |
167 |
<a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=[% sortfield %]&direction=[% direction |uri %]&print=1">Print list</a> |
Lines 179-185
Link Here
|
179 |
<input type="hidden" name="op" value="edit_form" /> |
172 |
<input type="hidden" name="op" value="edit_form" /> |
180 |
<input type="hidden" name="referer" value="view" /> |
173 |
<input type="hidden" name="referer" value="view" /> |
181 |
<input type='hidden' name='category' value='[% category %]' /> |
174 |
<input type='hidden' name='category' value='[% category %]' /> |
182 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
175 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
183 |
<input type="submit" class="editshelf" value="Edit list" /> |
176 |
<input type="submit" class="editshelf" value="Edit list" /> |
184 |
</form> |
177 |
</form> |
185 |
|
178 |
|
Lines 187-204
Link Here
|
187 |
<input type="hidden" name="op" value="delete" /> |
180 |
<input type="hidden" name="op" value="delete" /> |
188 |
<input type="hidden" name="referer" value="list" /> |
181 |
<input type="hidden" name="referer" value="list" /> |
189 |
<input type='hidden' name='category' value='[% category %]' /> |
182 |
<input type='hidden' name='category' value='[% category %]' /> |
190 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
183 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
191 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
184 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
192 |
</form> |
185 |
</form> |
193 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
186 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
194 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="">Share list</a> |
187 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber %]" class="">Share list</a> |
195 |
[% END %] |
188 |
[% END %] |
196 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
189 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
197 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
190 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
198 |
<input type="hidden" name="op" value="remove_share" /> |
191 |
<input type="hidden" name="op" value="remove_share" /> |
199 |
<input type="hidden" name="referer" value="list" /> |
192 |
<input type="hidden" name="referer" value="list" /> |
200 |
<input type='hidden' name='category' value='[% category %]' /> |
193 |
<input type='hidden' name='category' value='[% category %]' /> |
201 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
194 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
202 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
195 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
203 |
</form> |
196 |
</form> |
204 |
[% END %] |
197 |
[% END %] |
Lines 206-212
Link Here
|
206 |
|
199 |
|
207 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
200 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
208 |
<input type="hidden" name="op" value="view" /> |
201 |
<input type="hidden" name="op" value="view" /> |
209 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
202 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
210 |
|
203 |
|
211 |
<label for="sortfield">Sort by: </label> |
204 |
<label for="sortfield">Sort by: </label> |
212 |
<select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()"> |
205 |
<select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()"> |
Lines 283-289
Link Here
|
283 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
276 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
284 |
[% IF can_manage_shelf %] |
277 |
[% IF can_manage_shelf %] |
285 |
<input type="hidden" name="op" value="remove_biblios" /> |
278 |
<input type="hidden" name="op" value="remove_biblios" /> |
286 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
279 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
287 |
[% END %] |
280 |
[% END %] |
288 |
<div class="searchresults"> |
281 |
<div class="searchresults"> |
289 |
<table id="listcontents" class="table"> |
282 |
<table id="listcontents" class="table"> |
Lines 342-348
Link Here
|
342 |
[% IF ( BakerTaylorEnabled ) %] |
335 |
[% IF ( BakerTaylorEnabled ) %] |
343 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
336 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
344 |
[% IF ( bt_id ) %] |
337 |
[% IF ( bt_id ) %] |
345 |
<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a> |
338 |
<a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a> |
346 |
[% ELSE %] |
339 |
[% ELSE %] |
347 |
<span class="no-image">No cover image available</span> |
340 |
<span class="no-image">No cover image available</span> |
348 |
[% END %] |
341 |
[% END %] |
Lines 363-375
Link Here
|
363 |
[% END %] |
356 |
[% END %] |
364 |
|
357 |
|
365 |
[% IF ( itemsloo.title ) %] |
358 |
[% IF ( itemsloo.title ) %] |
366 |
[% itemsloo.title |html %] |
359 |
[% itemsloo.title %] |
367 |
[% ELSE %] |
360 |
[% ELSE %] |
368 |
No title |
361 |
No title |
369 |
[% END %] |
362 |
[% END %] |
370 |
|
363 |
|
371 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
364 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
372 |
[% subtitl.subfield|html %] |
365 |
[% subtitl.subfield %] |
373 |
[% END %] |
366 |
[% END %] |
374 |
</a> |
367 |
</a> |
375 |
|
368 |
|
Lines 385-391
Link Here
|
385 |
[% itemsloo.place %] |
378 |
[% itemsloo.place %] |
386 |
[% END %] |
379 |
[% END %] |
387 |
[% IF ( itemsloo.publishercode ) %] |
380 |
[% IF ( itemsloo.publishercode ) %] |
388 |
[% itemsloo.publishercode|html %] |
381 |
[% itemsloo.publishercode %] |
389 |
[% END %] |
382 |
[% END %] |
390 |
[% IF ( itemsloo.publicationyear ) %] |
383 |
[% IF ( itemsloo.publicationyear ) %] |
391 |
[% itemsloo.publicationyear %] |
384 |
[% itemsloo.publicationyear %] |
Lines 395-401
Link Here
|
395 |
[% END %] |
388 |
[% END %] |
396 |
[% END %] |
389 |
[% END %] |
397 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
390 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
398 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes|html %][% END %] |
391 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes %][% END %] |
399 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
392 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
400 |
</span> |
393 |
</span> |
401 |
<span class="results_summary"> |
394 |
<span class="results_summary"> |
Lines 500-512
Link Here
|
500 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
493 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
501 |
<input type="hidden" name="op" value="edit_form" /> |
494 |
<input type="hidden" name="op" value="edit_form" /> |
502 |
<input type="hidden" name="category" value="category" /> |
495 |
<input type="hidden" name="category" value="category" /> |
503 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
496 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
504 |
<input type="submit" class="editshelf" value="Edit list" /> |
497 |
<input type="submit" class="editshelf" value="Edit list" /> |
505 |
</form> |
498 |
</form> |
506 |
|
499 |
|
507 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
500 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
508 |
<input type="hidden" name="op" value="delete" /> |
501 |
<input type="hidden" name="op" value="delete" /> |
509 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]"/> |
502 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/> |
510 |
<input type="hidden" name="category" value="category" /> |
503 |
<input type="hidden" name="category" value="category" /> |
511 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
504 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
512 |
</form> |
505 |
</form> |
Lines 525-531
Link Here
|
525 |
|
518 |
|
526 |
[% IF itemsloop && can_remove_biblios %] |
519 |
[% IF itemsloop && can_remove_biblios %] |
527 |
<input type="hidden" name="op" value="remove_biblios" /> |
520 |
<input type="hidden" name="op" value="remove_biblios" /> |
528 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
521 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
529 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
522 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
530 |
<input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
523 |
<input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
531 |
</form> |
524 |
</form> |
Lines 533-539
Link Here
|
533 |
<form method="post" action="opac-shelves.pl"> |
526 |
<form method="post" action="opac-shelves.pl"> |
534 |
<input type="hidden" name="op" value="delete" /> |
527 |
<input type="hidden" name="op" value="delete" /> |
535 |
<input type="hidden" name="referer" value="list" /> |
528 |
<input type="hidden" name="referer" value="list" /> |
536 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]"/> |
529 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]"/> |
537 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
530 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
538 |
</form> |
531 |
</form> |
539 |
[% END %] |
532 |
[% END %] |
Lines 546-561
Link Here
|
546 |
<legend>Create a new list</legend> |
539 |
<legend>Create a new list</legend> |
547 |
<input type="hidden" name="op" value="add" /> |
540 |
<input type="hidden" name="op" value="add" /> |
548 |
[% ELSE %] |
541 |
[% ELSE %] |
549 |
<legend>Editing <em>[% shelf.shelfname |html %]</em></legend> |
542 |
<legend>Editing <em>[% shelf.shelfname %]</em></legend> |
550 |
<input type="hidden" name="op" value="edit" /> |
543 |
<input type="hidden" name="op" value="edit" /> |
551 |
<input type="hidden" name="referer" value="[% referer %]" /> |
544 |
<input type="hidden" name="referer" value="[% referer %]" /> |
552 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
545 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
553 |
[% END %] |
546 |
[% END %] |
554 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" /> |
547 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" /> |
555 |
<ol> |
548 |
<ol> |
556 |
<li> |
549 |
<li> |
557 |
<label class="required" for="shelfname">List name: </label> |
550 |
<label class="required" for="shelfname">List name: </label> |
558 |
<input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname |html %]" /></li> |
551 |
<input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname %]" /></li> |
559 |
<li> |
552 |
<li> |
560 |
<label for="sortfield" >Sort this list by: </label> |
553 |
<label for="sortfield" >Sort this list by: </label> |
561 |
<select name="sortfield" id="sortfield"> |
554 |
<select name="sortfield" id="sortfield"> |
Lines 665-671
Link Here
|
665 |
[% FOREACH s IN shelves %] |
658 |
[% FOREACH s IN shelves %] |
666 |
[% SET contents = s.get_contents %] |
659 |
[% SET contents = s.get_contents %] |
667 |
<tr> |
660 |
<tr> |
668 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname |html %]</a></td> |
661 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></td> |
669 |
<td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
662 |
<td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
670 |
<td> |
663 |
<td> |
671 |
[% IF s.category == PRIVATE %] |
664 |
[% IF s.category == PRIVATE %] |
Lines 677-683
Link Here
|
677 |
<td> |
670 |
<td> |
678 |
[% IF s.can_be_managed( loggedinusernumber ) %] |
671 |
[% IF s.can_be_managed( loggedinusernumber ) %] |
679 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
672 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
680 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber |html %]" /> |
673 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
681 |
<input type="hidden" name="category" value="[% s.category %]" /> |
674 |
<input type="hidden" name="category" value="[% s.category %]" /> |
682 |
<input type="hidden" name="op" value="edit_form" /> |
675 |
<input type="hidden" name="op" value="edit_form" /> |
683 |
<input type="hidden" name="referer" value="list" /> |
676 |
<input type="hidden" name="referer" value="list" /> |
Lines 689-707
Link Here
|
689 |
<input type="hidden" name="op" value="delete" /> |
682 |
<input type="hidden" name="op" value="delete" /> |
690 |
<input type="hidden" name="referer" value="list" /> |
683 |
<input type="hidden" name="referer" value="list" /> |
691 |
<input type='hidden' name='category' value='[% category %]' /> |
684 |
<input type='hidden' name='category' value='[% category %]' /> |
692 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" /> |
685 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
693 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
686 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
694 |
</form> |
687 |
</form> |
695 |
[% END %] |
688 |
[% END %] |
696 |
[% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
689 |
[% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
697 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="">Share</a> |
690 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber %]" class="">Share</a> |
698 |
[% END %] |
691 |
[% END %] |
699 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
692 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
700 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
693 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
701 |
<input type="hidden" name="op" value="remove_share" /> |
694 |
<input type="hidden" name="op" value="remove_share" /> |
702 |
<input type="hidden" name="referer" value="list" /> |
695 |
<input type="hidden" name="referer" value="list" /> |
703 |
<input type='hidden' name='category' value='[% category %]' /> |
696 |
<input type='hidden' name='category' value='[% category %]' /> |
704 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" /> |
697 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
705 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
698 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
706 |
</form> |
699 |
</form> |
707 |
[% END %] |
700 |
[% END %] |