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