Lines 3-9
Link Here
|
3 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] |
3 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] |
4 |
|
4 |
|
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF ( viewshelf ) %]Contents of [% shelfname |html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %] |
6 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF ( viewshelf ) %]Contents of [% shelfname %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% BLOCK cssinclude %][% END %] |
7 |
[% BLOCK cssinclude %][% END %] |
8 |
</head> |
8 |
</head> |
9 |
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %] |
9 |
[% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-userlists' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-lists' bodyclass='scrollto' %][% END %] |
Lines 77-83
Link Here
|
77 |
[% END %] |
77 |
[% END %] |
78 |
|
78 |
|
79 |
[% IF ( viewshelf ) %] |
79 |
[% IF ( viewshelf ) %] |
80 |
<li><span class="divider">›</span> Contents of <i>[% shelfname | html %]</i></li> |
80 |
<li><span class="divider">›</span> Contents of <i>[% shelfname %]</i></li> |
81 |
[% END %] |
81 |
[% END %] |
82 |
|
82 |
|
83 |
[% IF ( shelves ) %] |
83 |
[% IF ( shelves ) %] |
Lines 85-91
Link Here
|
85 |
[% END %] |
85 |
[% END %] |
86 |
|
86 |
|
87 |
[% IF ( edit ) %] |
87 |
[% IF ( edit ) %] |
88 |
<li><span class="divider">›</span> Edit list <i>[% shelfname | html %]</i></li> |
88 |
<li><span class="divider">›</span> Edit list <i>[% shelfname %]</i></li> |
89 |
[% END %] |
89 |
[% END %] |
90 |
|
90 |
|
91 |
</ul> <!-- / .breadcrumb --> |
91 |
</ul> <!-- / .breadcrumb --> |
Lines 122-128
Link Here
|
122 |
</div> |
122 |
</div> |
123 |
[% END %] |
123 |
[% END %] |
124 |
[% IF ( paramsloo.nopermission ) %] |
124 |
[% IF ( paramsloo.nopermission ) %] |
125 |
<div class="alert">ERROR: You do not have adequate permission for that action on list [% paramsloo.nopermission |html%].</div> |
125 |
<div class="alert">ERROR: You do not have adequate permission for that action on list [% paramsloo.nopermission%].</div> |
126 |
[% END %] |
126 |
[% END %] |
127 |
[% IF ( paramsloo.failgetitem ) %] |
127 |
[% IF ( paramsloo.failgetitem ) %] |
128 |
<div class="alert">ERROR: No item found with barcode [% paramsloo.failgetitem %].</div> |
128 |
<div class="alert">ERROR: No item found with barcode [% paramsloo.failgetitem %].</div> |
Lines 131-140
Link Here
|
131 |
<div class="alert">A record matching barcode <b>[% paramsloo.duplicatebiblio %]</b> has already been added.</div> |
131 |
<div class="alert">A record matching barcode <b>[% paramsloo.duplicatebiblio %]</b> has already been added.</div> |
132 |
[% END %] |
132 |
[% END %] |
133 |
[% IF ( paramsloo.delete_ok ) %] |
133 |
[% IF ( paramsloo.delete_ok ) %] |
134 |
<div class="alert alert-info">List [% paramsloo.delete_ok |html %] Deleted.</div> |
134 |
<div class="alert alert-info">List [% paramsloo.delete_ok %] Deleted.</div> |
135 |
[% END %] |
135 |
[% END %] |
136 |
[% IF ( paramsloo.delete_fail ) %] |
136 |
[% IF ( paramsloo.delete_fail ) %] |
137 |
<div class="alert alert-info">ERROR: Database error. Delete (list number [% paramsloo.delete_fail |html %]) failed.</div> |
137 |
<div class="alert alert-info">ERROR: Database error. Delete (list number [% paramsloo.delete_fail %]) failed.</div> |
138 |
[% END %] |
138 |
[% END %] |
139 |
[% IF ( paramsloo.unrecognized ) %] |
139 |
[% IF ( paramsloo.unrecognized ) %] |
140 |
<div class="alert alert-info">ERROR: List number [% paramsloo.unrecognized %] unrecognized.</div> |
140 |
<div class="alert alert-info">ERROR: List number [% paramsloo.unrecognized %] unrecognized.</div> |
Lines 153-159
Link Here
|
153 |
|
153 |
|
154 |
[% IF ( viewshelf ) %]<!-- Viewing a particular shelf --> |
154 |
[% IF ( viewshelf ) %]<!-- Viewing a particular shelf --> |
155 |
<h3> |
155 |
<h3> |
156 |
[% shelfname |html %] |
156 |
[% shelfname %] |
157 |
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&viewshelf=[% shelfnumber %]" class="rss-list-link noprint"> |
157 |
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&viewshelf=[% shelfnumber %]" class="rss-list-link noprint"> |
158 |
<img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/> |
158 |
<img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this list" title="Subscribe to this list" border="0" class="rsssearchicon"/> |
159 |
</a> |
159 |
</a> |
Lines 163-172
Link Here
|
163 |
<div id="toolbar" class="toolbar clearfix"> |
163 |
<div id="toolbar" class="toolbar clearfix"> |
164 |
<div class="list-actions"> |
164 |
<div class="list-actions"> |
165 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New list</a> <span class="sep">|</span> |
165 |
<a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New list</a> <span class="sep">|</span> |
166 |
<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> |
166 |
<a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber %]&showprivateshelves=[% showprivateshelves %]" class="download" data-toggle="modal" data-target="#modalWin">Download list</a> |
167 |
|
167 |
|
168 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
168 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
169 |
<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> |
169 |
<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> |
170 |
[% END %] |
170 |
[% END %] |
171 |
|
171 |
|
172 |
<a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfnumber %]&sort=[% sort %]&direction=[% direction |uri %]&print=1">Print list</a> |
172 |
<a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfnumber %]&sort=[% sort %]&direction=[% direction |uri %]&print=1">Print list</a> |
Lines 176-205
Link Here
|
176 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
176 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
177 |
<input type="hidden" name="op" value="modif" /> |
177 |
<input type="hidden" name="op" value="modif" /> |
178 |
<input type="hidden" name="display" value="viewshelf" /> |
178 |
<input type="hidden" name="display" value="viewshelf" /> |
179 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
179 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
180 |
<input type="submit" class="editshelf" value="Edit list" /> |
180 |
<input type="submit" class="editshelf" value="Edit list" /> |
181 |
</form> |
181 |
</form> |
182 |
|
182 |
|
183 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
183 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
184 |
<input type="hidden" value="1" name="shelves"/> |
184 |
<input type="hidden" value="1" name="shelves"/> |
185 |
<input type="hidden" value="1" name="DEL-[% shelfnumber | html %]"/> |
185 |
<input type="hidden" value="1" name="DEL-[% shelfnumber %]"/> |
186 |
[% IF ( showprivateshelves ) %] |
186 |
[% IF ( showprivateshelves ) %] |
187 |
<input type="hidden" name="display" value="privateshelves"/> |
187 |
<input type="hidden" name="display" value="privateshelves"/> |
188 |
[% END %] |
188 |
[% END %] |
189 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
189 |
<input type="submit" class="deleteshelf" value="Delete list" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);"/> |
190 |
</form> |
190 |
</form> |
191 |
[% IF showprivateshelves && Koha.Preference('OpacAllowSharingPrivateLists') %] |
191 |
[% IF showprivateshelves && Koha.Preference('OpacAllowSharingPrivateLists') %] |
192 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelfnumber | html %]" class="">Share list</a> |
192 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelfnumber %]" class="">Share list</a> |
193 |
[% END %] |
193 |
[% END %] |
194 |
[% ELSIF showprivateshelves # not manageshelf and private means shared %] |
194 |
[% ELSIF showprivateshelves # not manageshelf and private means shared %] |
195 |
[% INCLUDE remove_share %] |
195 |
[% INCLUDE remove_share %] |
196 |
<input type="hidden" name="REMSHR-[% shelfnumber | html %]" value="1" /> |
196 |
<input type="hidden" name="REMSHR-[% shelfnumber %]" value="1" /> |
197 |
</form> |
197 |
</form> |
198 |
[% END # / IF manageshelf %] |
198 |
[% END # / IF manageshelf %] |
199 |
</div> |
199 |
</div> |
200 |
|
200 |
|
201 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
201 |
<form action="/cgi-bin/koha/opac-shelves.pl" id="sorting-form" class="form-inline sort_by pull-right"> |
202 |
<input type="hidden" name="viewshelf" value="[% shelfnumber | html %]" /> |
202 |
<input type="hidden" name="viewshelf" value="[% shelfnumber %]" /> |
203 |
|
203 |
|
204 |
<label for="sort">Sort by: </label> |
204 |
<label for="sort">Sort by: </label> |
205 |
<select name="sort" id="sort" class="resort" onchange="$('#sorting-form').submit()"> |
205 |
<select name="sort" id="sort" class="resort" onchange="$('#sorting-form').submit()"> |
Lines 275-281
Link Here
|
275 |
|
275 |
|
276 |
<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"> |
277 |
[% IF ( manageshelf ) %] |
277 |
[% IF ( manageshelf ) %] |
278 |
<input type="hidden" name="viewshelf" value="[% shelfnumber | html %]" /> |
278 |
<input type="hidden" name="viewshelf" value="[% shelfnumber %]" /> |
279 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
279 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
280 |
[% END %] |
280 |
[% END %] |
281 |
<div class="searchresults"> |
281 |
<div class="searchresults"> |
Lines 334-340
Link Here
|
334 |
</a> <!-- / .p1 --> |
334 |
</a> <!-- / .p1 --> |
335 |
[% IF ( BakerTaylorEnabled ) %] |
335 |
[% IF ( BakerTaylorEnabled ) %] |
336 |
[% IF ( itemsloo.normalized_isbn ) %] |
336 |
[% IF ( itemsloo.normalized_isbn ) %] |
337 |
<a href="https://[% BakerTaylorBookstoreURL |html %][% itemsloo.normalized_isbn %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% itemsloo.normalized_isbn %]" /></a> |
337 |
<a href="https://[% BakerTaylorBookstoreURL %][% itemsloo.normalized_isbn %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL %][% itemsloo.normalized_isbn %]" /></a> |
338 |
[% ELSE %] |
338 |
[% ELSE %] |
339 |
<span class="no-image">No cover image available</span> |
339 |
<span class="no-image">No cover image available</span> |
340 |
[% END %] |
340 |
[% END %] |
Lines 355-367
Link Here
|
355 |
[% END %] |
355 |
[% END %] |
356 |
|
356 |
|
357 |
[% IF ( itemsloo.title ) %] |
357 |
[% IF ( itemsloo.title ) %] |
358 |
[% itemsloo.title |html %] |
358 |
[% itemsloo.title %] |
359 |
[% ELSE %] |
359 |
[% ELSE %] |
360 |
No title |
360 |
No title |
361 |
[% END %] |
361 |
[% END %] |
362 |
|
362 |
|
363 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
363 |
[% FOREACH subtitl IN itemsloo.subtitle %] |
364 |
[% subtitl.subfield|html %] |
364 |
[% subtitl.subfield %] |
365 |
[% END %] |
365 |
[% END %] |
366 |
</a> |
366 |
</a> |
367 |
|
367 |
|
Lines 377-383
Link Here
|
377 |
[% itemsloo.place %] |
377 |
[% itemsloo.place %] |
378 |
[% END %] |
378 |
[% END %] |
379 |
[% IF ( itemsloo.publishercode ) %] |
379 |
[% IF ( itemsloo.publishercode ) %] |
380 |
[% itemsloo.publishercode|html %] |
380 |
[% itemsloo.publishercode %] |
381 |
[% END %] |
381 |
[% END %] |
382 |
[% IF ( itemsloo.publicationyear ) %] |
382 |
[% IF ( itemsloo.publicationyear ) %] |
383 |
[% itemsloo.publicationyear %] |
383 |
[% itemsloo.publicationyear %] |
Lines 387-393
Link Here
|
387 |
[% END %] |
387 |
[% END %] |
388 |
[% END %] |
388 |
[% END %] |
389 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
389 |
[% IF ( itemsloo.pages ) %]. [% itemsloo.pages %][% END %] |
390 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes|html %][% END %] |
390 |
[% IF ( itemsloo.notes ) %], [% itemsloo.notes %][% END %] |
391 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
391 |
[% IF ( itemsloo.item('size') ) %] [% itemsloo.item('size') %][% END %] |
392 |
</span> |
392 |
</span> |
393 |
<span class="results_summary"> |
393 |
<span class="results_summary"> |
Lines 492-498
Link Here
|
492 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
492 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="form-inline"> |
493 |
<input type="hidden" name="op" value="modif" /> |
493 |
<input type="hidden" name="op" value="modif" /> |
494 |
<input type="hidden" name="display" value="viewshelf" /> |
494 |
<input type="hidden" name="display" value="viewshelf" /> |
495 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
495 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
496 |
<input type="submit" class="editshelf" value="Edit list" /> |
496 |
<input type="submit" class="editshelf" value="Edit list" /> |
497 |
</form> |
497 |
</form> |
498 |
|
498 |
|
Lines 518-530
Link Here
|
518 |
[% END # / IF viewshelf %] |
518 |
[% END # / IF viewshelf %] |
519 |
|
519 |
|
520 |
[% IF ( itemsloop && allowremovingitems ) %] |
520 |
[% IF ( itemsloop && allowremovingitems ) %] |
521 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
521 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
522 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
522 |
<input type="hidden" name="modifyshelfcontents" value="1" /> |
523 |
<input type="hidden" name="viewshelf" value="[% shelfnumber | html %]" /><input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
523 |
<input type="hidden" name="viewshelf" value="[% shelfnumber %]" /><input type="submit" value="Remove selected items" id="remove-selected" class="btn btn-danger"/> |
524 |
</form> |
524 |
</form> |
525 |
[% ELSIF ( !itemsloop && manageshelf ) %] |
525 |
[% ELSIF ( !itemsloop && manageshelf ) %] |
526 |
<form method="post" action="opac-shelves.pl"> |
526 |
<form method="post" action="opac-shelves.pl"> |
527 |
<input type="hidden" name="DEL-[% shelfnumber | html %]" value="1" /> |
527 |
<input type="hidden" name="DEL-[% shelfnumber %]" value="1" /> |
528 |
<input type="hidden" name="shelves" value="1" /> |
528 |
<input type="hidden" name="shelves" value="1" /> |
529 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
529 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
530 |
<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)" /> |
Lines 534-545
Link Here
|
534 |
[% IF ( edit ) %] |
534 |
[% IF ( edit ) %] |
535 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl"> |
535 |
<form method="post" action="/cgi-bin/koha/opac-shelves.pl"> |
536 |
<input type="hidden" name="op" value="modifsave" /> |
536 |
<input type="hidden" name="op" value="modifsave" /> |
537 |
<input type="hidden" name="display" value="[% display |html %]" /> |
537 |
<input type="hidden" name="display" value="[% display %]" /> |
538 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber | html %]" /> |
538 |
<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> |
539 |
<fieldset class="rows"> |
539 |
<fieldset class="rows"> |
540 |
<legend>Editing <em>[% shelfname |html %]</em></legend> |
540 |
<legend>Editing <em>[% shelfname %]</em></legend> |
541 |
<ol> |
541 |
<ol> |
542 |
<li><label for="shelfname">List name: </label><input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelfname |html %]" /></li> |
542 |
<li><label for="shelfname">List name: </label><input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelfname %]" /></li> |
543 |
<li> |
543 |
<li> |
544 |
<label for="sortfield" >Sort this list by: </label> |
544 |
<label for="sortfield" >Sort this list by: </label> |
545 |
<select name="sortfield" id="sortfield"> |
545 |
<select name="sortfield" id="sortfield"> |
Lines 595-603
Link Here
|
595 |
<fieldset class="action"> |
595 |
<fieldset class="action"> |
596 |
<input type="submit" value="Save" class="btn" /> |
596 |
<input type="submit" value="Save" class="btn" /> |
597 |
[% IF ( showprivateshelves ) %] |
597 |
[% IF ( showprivateshelves ) %] |
598 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber | html %]&display=privateshelves">Cancel</a> |
598 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]&display=privateshelves">Cancel</a> |
599 |
[% ELSE %] |
599 |
[% ELSE %] |
600 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber | html %]">Cancel</a> |
600 |
<a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=[% shelfnumber %]">Cancel</a> |
601 |
[% END %] |
601 |
[% END %] |
602 |
</fieldset> |
602 |
</fieldset> |
603 |
</form> |
603 |
</form> |
Lines 643-649
Link Here
|
643 |
<tbody> |
643 |
<tbody> |
644 |
[% FOREACH shelveslooppri IN shelveslooppriv %] |
644 |
[% FOREACH shelveslooppri IN shelveslooppriv %] |
645 |
<tr> |
645 |
<tr> |
646 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves&viewshelf=[% shelveslooppri.shelf %]&sortfield=[% shelveslooppri.sortfield %]">[% shelveslooppri.shelfname |html %]</a></td> |
646 |
<td><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves&viewshelf=[% shelveslooppri.shelf %]&sortfield=[% shelveslooppri.sortfield %]">[% shelveslooppri.shelfname %]</a></td> |
647 |
<td>[% IF ( shelveslooppri.count ) %][% shelveslooppri.count %] [% IF ( shelveslooppri.single ) %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
647 |
<td>[% IF ( shelveslooppri.count ) %][% shelveslooppri.count %] [% IF ( shelveslooppri.single ) %]item[% ELSE %]items[% END %][% ELSE %]Empty[% END %]</td> |
648 |
<td> |
648 |
<td> |
649 |
[% IF ( shelveslooppri.viewcategory1 ) %][% IF !shelveslooppri.shares %]Private[% ELSE %]Shared[% END %][% END %] |
649 |
[% IF ( shelveslooppri.viewcategory1 ) %][% IF !shelveslooppri.shares %]Private[% ELSE %]Shared[% END %][% END %] |
Lines 651-657
Link Here
|
651 |
<td> |
651 |
<td> |
652 |
[% IF ( shelveslooppri.mine ) %] |
652 |
[% IF ( shelveslooppri.mine ) %] |
653 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
653 |
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="form-inline"> |
654 |
<input type="hidden" name="shelfnumber" value="[% shelveslooppri.shelf |html %]" /> |
654 |
<input type="hidden" name="shelfnumber" value="[% shelveslooppri.shelf %]" /> |
655 |
<input type="hidden" name="display" value="privateshelves" /> |
655 |
<input type="hidden" name="display" value="privateshelves" /> |
656 |
<input type="hidden" name="op" value="modif" /> |
656 |
<input type="hidden" name="op" value="modif" /> |
657 |
<input type="submit" class="editshelf" value="Edit" /> |
657 |
<input type="submit" class="editshelf" value="Edit" /> |
Lines 659-680
Link Here
|
659 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
659 |
<form action="opac-shelves.pl" method="post" class="form-inline"> |
660 |
<input type="hidden" name="shelves" value="1" /> |
660 |
<input type="hidden" name="shelves" value="1" /> |
661 |
<input type="hidden" name="display" value="privateshelves" /> |
661 |
<input type="hidden" name="display" value="privateshelves" /> |
662 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf |html %]" value="1" /> |
662 |
<input type="hidden" name="DEL-[% shelveslooppri.shelf %]" value="1" /> |
663 |
<input type="hidden" name="shelfoff" value="[% shelfoff |html %]" /> |
663 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
664 |
[% IF ( shelveslooppri.confirm ) %] |
664 |
[% IF ( shelveslooppri.confirm ) %] |
665 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm |html %]" value="1" /> |
665 |
<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" /> |
666 |
<input type="submit" class="btn btn-danger confirm" value="Confirm" /> |
666 |
<input type="submit" class="btn btn-danger confirm" value="Confirm" /> |
667 |
[% ELSE %] |
667 |
[% ELSE %] |
668 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
668 |
<input type="submit" class="deleteshelf" onclick="return confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" /> |
669 |
[% END %] |
669 |
[% END %] |
670 |
</form> |
670 |
</form> |
671 |
[% IF Koha.Preference('OpacAllowSharingPrivateLists') %] |
671 |
[% IF Koha.Preference('OpacAllowSharingPrivateLists') %] |
672 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelveslooppri.shelf |html %]" class="">Share</a> |
672 |
<a href="/cgi-bin/koha/opac-shareshelf.pl?op=invite&shelfnumber=[% shelveslooppri.shelf %]" class="">Share</a> |
673 |
[% END %] |
673 |
[% END %] |
674 |
[% ELSE # not shelveslooppri.mine, so shared %] |
674 |
[% ELSE # not shelveslooppri.mine, so shared %] |
675 |
[% INCLUDE remove_share # if pref is off, you should still be able to remove shares %] |
675 |
[% INCLUDE remove_share # if pref is off, you should still be able to remove shares %] |
676 |
<input type="hidden" name="shelfoff" value="[% shelfoff |html %]" /> |
676 |
<input type="hidden" name="shelfoff" value="[% shelfoff %]" /> |
677 |
<input type="hidden" name="REMSHR-[% shelveslooppri.shelf |html %]" value="1" /> |
677 |
<input type="hidden" name="REMSHR-[% shelveslooppri.shelf %]" value="1" /> |
678 |
</form> |
678 |
</form> |
679 |
[% END %] |
679 |
[% END %] |
680 |
</td> |
680 |
</td> |
Lines 717-723
Link Here
|
717 |
<tbody> |
717 |
<tbody> |
718 |
[% FOREACH shelvesloo IN shelvesloop %] |
718 |
[% FOREACH shelvesloo IN shelvesloop %] |
719 |
<tr> |
719 |
<tr> |
720 |
<td><a class="title" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelvesloo.shelf %]&sortfield=[% shelvesloo.sortfield %]">[% shelvesloo.shelfname |html %]</a></td> |
720 |
<td><a class="title" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelvesloo.shelf %]&sortfield=[% shelvesloo.sortfield %]">[% shelvesloo.shelfname %]</a></td> |
721 |
<td>[% shelvesloo.count %] [% IF ( shelvesloo.single ) %]item[% ELSE %]item(s)[% END %]</td> |
721 |
<td>[% shelvesloo.count %] [% IF ( shelvesloo.single ) %]item[% ELSE %]item(s)[% END %]</td> |
722 |
<td> |
722 |
<td> |
723 |
[% IF ( shelvesloo.viewcategory2 ) %]Public[% END %] |
723 |
[% IF ( shelvesloo.viewcategory2 ) %]Public[% END %] |