|
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 178-201
Link Here
|
| 178 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
171 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
| 179 |
<input type="hidden" name="op" value="edit_form" /> |
172 |
<input type="hidden" name="op" value="edit_form" /> |
| 180 |
<input type='hidden' name='category' value='[% category %]' /> |
173 |
<input type='hidden' name='category' value='[% category %]' /> |
| 181 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
174 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 182 |
<input type="submit" class="editshelf" value="Edit list" /> |
175 |
<input type="submit" class="editshelf" value="Edit list" /> |
| 183 |
</form> |
176 |
</form> |
| 184 |
|
177 |
|
| 185 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
178 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
| 186 |
<input type="hidden" name="op" value="delete" /> |
179 |
<input type="hidden" name="op" value="delete" /> |
| 187 |
<input type='hidden' name='category' value='[% category %]' /> |
180 |
<input type='hidden' name='category' value='[% category %]' /> |
| 188 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
181 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 189 |
<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);"/> |
| 190 |
</form> |
183 |
</form> |
| 191 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
184 |
[% IF category == PRIVATE && Koha.Preference('OpacAllowSharingPrivateLists') %] |
| 192 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber | html %]" class="">Share list</a> |
185 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelf.shelfnumber %]" class="">Share list</a> |
| 193 |
[% END %] |
186 |
[% END %] |
| 194 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
187 |
[% ELSIF category == PRIVATE # not manageshelf and private means shared %] |
| 195 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
188 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" class="form-inline"> |
| 196 |
<input type="hidden" name="op" value="remove_share" /> |
189 |
<input type="hidden" name="op" value="remove_share" /> |
| 197 |
<input type='hidden' name='category' value='[% category %]' /> |
190 |
<input type='hidden' name='category' value='[% category %]' /> |
| 198 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
191 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 199 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
192 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
| 200 |
</form> |
193 |
</form> |
| 201 |
[% END %] |
194 |
[% END %] |
|
Lines 203-209
Link Here
|
| 203 |
|
196 |
|
| 204 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
197 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
| 205 |
<input type="hidden" name="op" value="view" /> |
198 |
<input type="hidden" name="op" value="view" /> |
| 206 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
199 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 207 |
|
200 |
|
| 208 |
<label for="sortfield">Sort by: </label> |
201 |
<label for="sortfield">Sort by: </label> |
| 209 |
<select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()"> |
202 |
<select name="sortfield" id="sortfield" class="resort" onchange="$('#sorting-form').submit()"> |
|
Lines 280-286
Link Here
|
| 280 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
273 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed"> |
| 281 |
[% IF can_manage_shelf %] |
274 |
[% IF can_manage_shelf %] |
| 282 |
<input type="hidden" name="op" value="remove_biblios" /> |
275 |
<input type="hidden" name="op" value="remove_biblios" /> |
| 283 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
276 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 284 |
[% END %] |
277 |
[% END %] |
| 285 |
<div class="searchresults"> |
278 |
<div class="searchresults"> |
| 286 |
<table id="listcontents" class="table"> |
279 |
<table id="listcontents" class="table"> |
|
Lines 339-345
Link Here
|
| 339 |
[% IF ( BakerTaylorEnabled ) %] |
332 |
[% IF ( BakerTaylorEnabled ) %] |
| 340 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
333 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
| 341 |
[% IF ( bt_id ) %] |
334 |
[% IF ( bt_id ) %] |
| 342 |
<a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a> |
335 |
<a href="https://[% BakerTaylorBookstoreURL %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL %][% bt_id %]" /></a> |
| 343 |
[% ELSE %] |
336 |
[% ELSE %] |
| 344 |
<span class="no-image">No cover image available</span> |
337 |
<span class="no-image">No cover image available</span> |
| 345 |
[% END %] |
338 |
[% END %] |
|
Lines 360-372
Link Here
|
| 360 |
[% END %] |
353 |
[% END %] |
| 361 |
|
354 |
|
| 362 |
[% IF ( itemsloo.title ) %] |
355 |
[% IF ( itemsloo.title ) %] |
| 363 |
[% itemsloo.title |html %] |
356 |
[% itemsloo.title %] |
| 364 |
[% ELSE %] |
357 |
[% ELSE %] |
| 365 |
No title |
358 |
No title |
| 366 |
[% END %] |
359 |
[% END %] |
| 367 |
|
360 |
|
| 368 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
361 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
| 369 |
[% subtitl.subfield|html %] |
362 |
[% subtitl.subfield %] |
| 370 |
[% END %] |
363 |
[% END %] |
| 371 |
</a> |
364 |
</a> |
| 372 |
|
365 |
|
|
Lines 382-388
Link Here
|
| 382 |
[% itemsloo.place %] |
375 |
[% itemsloo.place %] |
| 383 |
[% END %] |
376 |
[% END %] |
| 384 |
[% IF ( itemsloo.publishercode ) %] |
377 |
[% IF ( itemsloo.publishercode ) %] |
| 385 |
[% itemsloo.publishercode|html %] |
378 |
[% itemsloo.publishercode %] |
| 386 |
[% END %] |
379 |
[% END %] |
| 387 |
[% IF ( itemsloo.publicationyear ) %] |
380 |
[% IF ( itemsloo.publicationyear ) %] |
| 388 |
[% itemsloo.publicationyear %] |
381 |
[% itemsloo.publicationyear %] |
|
Lines 392-398
Link Here
|
| 392 |
[% END %] |
385 |
[% END %] |
| 393 |
[% END %] |
386 |
[% END %] |
| 394 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
387 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
| 395 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes|html %][% END %] |
388 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes %][% END %] |
| 396 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
389 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
| 397 |
</span> |
390 |
</span> |
| 398 |
<span class="results_summary"> |
391 |
<span class="results_summary"> |
|
Lines 497-509
Link Here
|
| 497 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
490 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
| 498 |
<input type="hidden" name="op" value="edit_form" /> |
491 |
<input type="hidden" name="op" value="edit_form" /> |
| 499 |
<input type="hidden" name="category" value="category" /> |
492 |
<input type="hidden" name="category" value="category" /> |
| 500 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
493 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 501 |
<input type="submit" class="editshelf" value="Edit list" /> |
494 |
<input type="submit" class="editshelf" value="Edit list" /> |
| 502 |
</form> |
495 |
</form> |
| 503 |
|
496 |
|
| 504 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
497 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
| 505 |
<input type="hidden" name="op" value="delete" /> |
498 |
<input type="hidden" name="op" value="delete" /> |
| 506 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]"/> |
499 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]"/> |
| 507 |
<input type="hidden" name="category" value="category" /> |
500 |
<input type="hidden" name="category" value="category" /> |
| 508 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
501 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
| 509 |
</form> |
502 |
</form> |
|
Lines 522-528
Link Here
|
| 522 |
|
515 |
|
| 523 |
[% IF itemsloop && can_remove_biblios %] |
516 |
[% IF itemsloop && can_remove_biblios %] |
| 524 |
<input type="hidden" name="op" value="remove_biblios" /> |
517 |
<input type="hidden" name="op" value="remove_biblios" /> |
| 525 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
518 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 526 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
519 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
| 527 |
<input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
520 |
<input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
| 528 |
</form> |
521 |
</form> |
|
Lines 530-536
Link Here
|
| 530 |
<form method="post" action="opac-shelves.pl"> |
523 |
<form method="post" action="opac-shelves.pl"> |
| 531 |
<input type="hidden" name="op" value="delete" /> |
524 |
<input type="hidden" name="op" value="delete" /> |
| 532 |
<input type="hidden" name="referer" value="list" /> |
525 |
<input type="hidden" name="referer" value="list" /> |
| 533 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]"/> |
526 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]"/> |
| 534 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
527 |
<input type="submit" class="btn btn-danger" value="Delete this list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST)" /> |
| 535 |
</form> |
528 |
</form> |
| 536 |
[% END %] |
529 |
[% END %] |
|
Lines 543-558
Link Here
|
| 543 |
<legend>Create a new list</legend> |
536 |
<legend>Create a new list</legend> |
| 544 |
<input type="hidden" name="op" value="add" /> |
537 |
<input type="hidden" name="op" value="add" /> |
| 545 |
[% ELSE %] |
538 |
[% ELSE %] |
| 546 |
<legend>Editing <em>[% shelf.shelfname |html %]</em></legend> |
539 |
<legend>Editing <em>[% shelf.shelfname %]</em></legend> |
| 547 |
<input type="hidden" name="op" value="edit" /> |
540 |
<input type="hidden" name="op" value="edit" /> |
| 548 |
<input type="hidden" name="referer" value="view" /> |
541 |
<input type="hidden" name="referer" value="view" /> |
| 549 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> |
542 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
| 550 |
[% END %] |
543 |
[% END %] |
| 551 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" /> |
544 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" /> |
| 552 |
<ol> |
545 |
<ol> |
| 553 |
<li> |
546 |
<li> |
| 554 |
<label class="required" for="shelfname">List name: </label> |
547 |
<label class="required" for="shelfname">List name: </label> |
| 555 |
<input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname |html %]" /></li> |
548 |
<input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname %]" /></li> |
| 556 |
<li> |
549 |
<li> |
| 557 |
<label for="sortfield" >Sort this list by: </label> |
550 |
<label for="sortfield" >Sort this list by: </label> |
| 558 |
<select name="sortfield" id="sortfield"> |
551 |
<select name="sortfield" id="sortfield"> |
|
Lines 662-668
Link Here
|
| 662 |
[% FOREACH s IN shelves %] |
655 |
[% FOREACH s IN shelves %] |
| 663 |
[% SET contents = s.get_contents %] |
656 |
[% SET contents = s.get_contents %] |
| 664 |
<tr> |
657 |
<tr> |
| 665 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname |html %]</a></td> |
658 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></td> |
| 666 |
<td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
659 |
<td>[% IF contents.count %][% contents.count %] [% IF contents.count == 1 %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
| 667 |
<td> |
660 |
<td> |
| 668 |
[% IF s.category == PRIVATE %] |
661 |
[% IF s.category == PRIVATE %] |
|
Lines 674-680
Link Here
|
| 674 |
<td> |
667 |
<td> |
| 675 |
[% IF s.can_be_managed( loggedinusernumber ) %] |
668 |
[% IF s.can_be_managed( loggedinusernumber ) %] |
| 676 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
669 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
| 677 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber |html %]" /> |
670 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
| 678 |
<input type="hidden" name="category" value="[% s.category %]" /> |
671 |
<input type="hidden" name="category" value="[% s.category %]" /> |
| 679 |
<input type="hidden" name="op" value="edit_form" /> |
672 |
<input type="hidden" name="op" value="edit_form" /> |
| 680 |
<input type="hidden" name="referer" value="list" /> |
673 |
<input type="hidden" name="referer" value="list" /> |
|
Lines 686-704
Link Here
|
| 686 |
<input type="hidden" name="op" value="delete" /> |
679 |
<input type="hidden" name="op" value="delete" /> |
| 687 |
<input type="hidden" name="referer" value="list" /> |
680 |
<input type="hidden" name="referer" value="list" /> |
| 688 |
<input type='hidden' name='category' value='[% category %]' /> |
681 |
<input type='hidden' name='category' value='[% category %]' /> |
| 689 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" /> |
682 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
| 690 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
683 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
| 691 |
</form> |
684 |
</form> |
| 692 |
[% END %] |
685 |
[% END %] |
| 693 |
[% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
686 |
[% IF s.category == PRIVATE AND s.can_be_managed( loggedinusernumber ) AND Koha.Preference('OpacAllowSharingPrivateLists') %] |
| 694 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber |html %]" class="">Share</a> |
687 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% s.shelfnumber %]" class="">Share</a> |
| 695 |
[% END %] |
688 |
[% END %] |
| 696 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
689 |
[% IF s.is_shared_with( loggedinusernumber ) %] |
| 697 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
690 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
| 698 |
<input type="hidden" name="op" value="remove_share" /> |
691 |
<input type="hidden" name="op" value="remove_share" /> |
| 699 |
<input type="hidden" name="referer" value="list" /> |
692 |
<input type="hidden" name="referer" value="list" /> |
| 700 |
<input type='hidden' name='category' value='[% category %]' /> |
693 |
<input type='hidden' name='category' value='[% category %]' /> |
| 701 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber | html %]" /> |
694 |
<input type="hidden" name="shelfnumber" value="[% s.shelfnumber %]" /> |
| 702 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
695 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_REMOVE_SHARE);" value="Remove share" /> |
| 703 |
</form> |
696 |
</form> |
| 704 |
[% END %] |
697 |
[% END %] |