1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]Lists[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › Edit list [% shelfname | html %][% END %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5 [% INCLUDE 'datatables.inc' %]
6 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
8 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
9 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
11 <script type="text/javascript">
14 var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
15 var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?");
16 var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to remove this list?");
19 $(document).ready(function(){
21 var dtListResults = $("#listresultst").dataTable($.extend(true, {}, dataTablesDefaults, {
23 'sAjaxSource': "/cgi-bin/koha/svc/virtualshelves/search",
24 'fnServerData': function(sSource, aoData, fnCallback) {
30 'value': $("#searchshelfname_filter").val(),
33 'value': $("#searchowner_filter").val(),
36 'value': $("#searchsortby_filter").val(),
38 'name': 'template_path',
39 'value': 'virtualshelves/tables/shelves_results.tt',
46 'success': function(json){
52 { 'mDataProp': 'dt_type' },
53 { 'mDataProp': 'dt_shelfname' },
54 { 'mDataProp': 'dt_count' },
55 { 'mDataProp': 'dt_owner' },
56 { 'mDataProp': 'dt_sortby' },
57 { 'mDataProp': 'dt_created_on' },
58 { 'mDataProp': 'dt_modification_time' },
59 { 'mDataProp': 'dt_action', 'bSortable': false }
62 { "bVisible": false, "aTargets": [ 'NoVisible' ] }
65 'sPaginationType': 'full_numbers',
71 dtListResults.fnAddFilters("filter", 750);
73 var tabs = $("#tabs").tabs({
74 activate: function(e, ui) {
75 var active = tabs.tabs("option", "active" );
78 dtListResults.fnDraw();
79 } else if ( active == 1 ) {
81 dtListResults.fnDraw();
88 [% IF ( viewshelf ) %]
89 $(document).ready(function(){
90 [% IF ( itemsloop ) %]$('#searchheader').fixFloat();[% END %]
91 $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\">"+_("Clear all")+"<\/a>");
92 $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\">"+_("Select all")+"<\/a>");
93 $("#CheckAll").click(function(){
94 $(".checkboxed").checkCheckboxes();
97 $("#CheckNone").click(function(){
98 $(".checkboxed").unCheckCheckboxes();
101 $(".placehold").on("click",function(e){
105 $(".addtocart").show();
106 var param1 = "| <label for=\"addto\">"+_("Add to:")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
107 [% IF ( intranetbookbag ) %]
108 param1 += "<option value=\"addtocart\">"+_("Cart")+"<\/option>";
110 [% IF ( virtualshelves ) %]
111 [% IF ( addbarshelves ) %]
112 param1 += "<optgroup label=\""+_("Your lists:")+"\">";
113 [% FOREACH addbarshelvesloo IN addbarshelvesloop %]
114 [% IF ( shelfnumber != addbarshelvesloo.shelfnumber ) %]
115 param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";
118 param1 += "<\/optgroup>";
120 [% IF ( addpubshelves ) %]
121 param1 += "<optgroup label=\""+_("Public lists:")+"\">";
122 [% FOREACH addpubshelvesloo IN addpubshelvesloop %]
123 [% IF ( shelfnumber != addpubshelvesloo.shelfnumber ) %]
124 param1 += "<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>";
127 param1 += "<\/optgroup>";
129 [% IF ( ( addbarshelvesloop && addbarshelvesloop.size > 9 ) || (addpubshelvesloop && addpubshelvesloop.size > 9 )) %]
130 param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";
132 param1 +="<option value=\"newlist\">"+_("[ New list ]")+"<\/option>"
134 param1 += "<\/select> <button id=\"cartsubmit\" type=\"submit\" class=\"btn btn-mini\">"+_("Save")+"</button>";
135 $("span.addto").html(param1);
136 $("#cartsubmit").on("click",function(e){
140 $("#addto").change(function(){
143 $(".addto").find("input:submit").click(function(e){
147 $("#selection_ops").show();
148 $(".merge-items").on("click",function(e){
152 $("#listform").on("submit",function(e){
155 $(".list-remove").on("click",function(e){
156 if($(".selection").filter(":checked").length > 0){
157 return confirm(MSG_REMOVE_FROM_LIST);
159 alert(MSG_NO_ITEM_SELECTED);
166 function confirmDelete(message){
167 if (window.confirm(message)) {
168 location.href="/cgi-bin/koha/virtualshelves/shelves.pl?[% IF ( showprivateshelves ) %]display=privateshelves&[% END %]shelves=1&DEL-[% shelfnumber %]=1&shelfoff=[% shelfoff %]";
175 * This function checks if the adequate number of records are checked for merging
177 function MergeItems() {
178 var checkboxes = $("input:checkbox:checked");
179 var nbCheckbox = checkboxes.length;
180 if (nbCheckbox != 2) {
181 alert(_("Two records must be selected for merging."));
183 location.href='/cgi-bin/koha/cataloguing/merge.pl?biblionumber=' + checkboxes[0].value + '&biblionumber=' + checkboxes[1].value;
189 * This function checks all checkboxes if all are empty,
190 * or unchecks all if any already checked.
193 var checkboxes = document.getElementsByTagName('input');
194 var nbCheckbox = checkboxes.length;
195 var check = areAllChecked();
196 for(var i=0;i<nbCheckbox;i++){
197 if(checkboxes[i].getAttribute('type') == "checkbox" ){
198 checkboxes[i].checked = (check) ? 0 : 1;
203 * This function returns true if ALL checkboxes are checked
205 function areAllChecked(){
206 var checkboxes = document.getElementsByTagName('input');
207 var nbCheckbox = checkboxes.length;
208 for(var i=0;i<nbCheckbox;i++){
209 if(checkboxes[i].getAttribute('type') == "checkbox" ){
210 if(checkboxes[i].checked == 0){
218 function placeHold () {
219 var checkedItems = $(".selection:checked");
220 if ($(checkedItems).size() == 0) {
221 alert(MSG_NO_ITEM_SELECTED);
225 $(checkedItems).each(function() {
226 bibs += $(this).val() + "/";
228 $("#hold_form_biblios").val(bibs);
229 $("#hold_form").submit();
234 var checkboxes = $("#searchresults").find(":checkbox");
235 var vshelf = vShelfAdd(checkboxes);
236 if($("#addto").find("option:selected").attr("value") == "addtolist"){
237 var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s","");
239 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?shelfnumber='+shelfnumber+'&confirm=1&' + vshelf,'popup',500,500);
242 } else if($("#addto").find("option:selected").attr("value") == "newlist"){
244 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?newshelf=1&' + vshelf,'popup',500,500);
247 } else if($("#addto").find("option:selected").attr("value") == "morelists"){
249 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?' + vshelf,'popup',500,500);
253 if($("#addto").find("option:selected").attr("value") == "addtocart"){
254 addMultiple(checkboxes);
261 <body id="lists_shelves" class="lists">
262 [% INCLUDE 'header.inc' %]
263 [% INCLUDE 'cat-search.inc' %]
265 [% BLOCK list_permissions %]
267 <label for="permissions">Permissions: </label>
268 <select name="allow_add" id="allow_add">
269 [% IF allow_add %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %]
270 [% IF allow_add %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %]
272 <span>anyone else to add entries.</span>
275 <label> </label>
276 <select name="allow_delete_own" id="allow_delete_own">
277 [% IF allow_delete_own %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %]
278 [% IF allow_delete_own %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %]
280 <span>anyone to remove his own contributed entries.</span>
283 <label> </label>
284 <select name="allow_delete_other" id="allow_delete_other">
285 [% IF allow_delete_other %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %]
286 [% IF allow_delete_other %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %]
288 <span>anyone to remove other contributed entries.</span>
291 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( category2 ) %] › [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a> [% ELSE %] Public lists [% END %] [% ELSIF ( showprivateshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( showpublicshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a> [% ELSE %] Public lists [% END %] [% END %]
293 [% IF ( viewshelf ) %]› Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › Edit list <i>[% shelfname | html %]</i>[% END %]</div>
295 <div id="doc2" class="yui-t7">
298 <div class="yui-g">[% INCLUDE 'virtualshelves-toolbar.inc' %]
300 [% IF ( paramsloop ) %]
301 [% FOREACH paramsloo IN paramsloop %]
303 <div class="yui-u first">
304 [% IF ( paramsloo.already ) %]<div class="dialog alert">A List named [% paramsloo.already %] already exists!</div>[% END %]
305 [% IF ( paramsloo.addshelf_failed ) %]<div class="dialog alert">List could not be created. [% IF loggedinuser==0 %](Do not use the database administrator account.)[% END %]</div>[% END %]
306 [% IF ( paramsloo.status ) %]<div class="dialog alert">[% paramsloo.string %]</div>[% END %]
307 [% IF ( paramsloo.nobarcode ) %]<div class="dialog alert">ERROR: No barcode given.</div>[% END %]
308 [% IF ( paramsloo.noshelfnumber ) %]<div class="dialog alert">ERROR: No list number given.</div>[% END %]
309 [% IF ( paramsloo.need_confirm ) %]
310 <div class="dialog alert">The list <i>[% paramsloo.need_confirm %]</i> is not empty.
311 [% IF ( paramsloo.single ) %]
312 <br />It has <b>[% paramsloo.count %]</b> entry.
314 <br />It has <b>[% paramsloo.count %]</b> entries.
316 <br />Use the "Confirm" button below to confirm deletion.
319 [% IF ( paramsloo.nopermission ) %]
320 <div class="dialog alert">ERROR: You do not have adequate permission for that action on list [% paramsloo.nopermission %].</div>
322 [% IF ( paramsloo.failgetitem ) %]
323 <div class="dialog alert">ERROR: No item found with barcode [% paramsloo.failgetitem %].</div>
325 [% IF ( paramsloo.duplicatebiblio ) %]
326 <div class="dialog alert">A record matching barcode <b>[% paramsloo.duplicatebiblio %]</b> has already been added.</div>
328 [% IF ( paramsloo.nothingdeleted) %]
329 <div class="dialog message">Warning: You could not delete any of the selected items from this list.</div>
331 [% IF ( paramsloo.somedeleted) %]
332 <div class="dialog message">Warning: You could not delete all selected items from this list.</div>
334 [% IF ( paramsloo.modifyfailure) %]
335 <div class="dialog message">ERROR: List could not be modified.</div>
342 [% IF ( viewshelf ) %]
344 [% IF ( itemsloop ) %]
346 <h3>Contents of <i>[% shelfname | html %]</i></h3>
347 <div class="pages">[% pagination_bar %]</div>
348 <form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="listform" method="post" class="checkboxed">
349 <input type="hidden" name="viewshelf" value="[% shelfnumber %]" />
350 <input type="hidden" name="modifyshelfcontents" value="1" />
352 [% IF direction == 'asc' %]
353 [% SET new_direction = 'desc' %]
355 [% SET direction = 'desc' %]
356 [% SET new_direction = 'asc' %]
359 <div id="searchheader">
360 [% IF ( itemsloop ) %]
361 <div id="selection_ops"><span class="checkall"></span> |
362 <span class="clearall"></span>
364 <span class="addto">| </span>
366 [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %]
367 <div class="btn-group"><button class="btn btn-mini placehold"><i class="icon-hold"></i> Place hold</button></div>
369 [% IF ( allowremovingitems ) %]
370 <div class="btn-group"><button type="submit" class="btn btn-mini list-remove"><i class="icon-remove-sign"></i> Remove selected</button></div>
372 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<div class="btn-group"><button type="submit" class="btn btn-mini merge-items"><i class="icon-merge"></i> Merge selected</button></div>[% END %]
377 <table id="searchresults">
379 [% IF ( itemsloop ) %]<th class="checkall"> </th>[% END %]
381 [% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %]
383 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% IF sort != 'title' %]asc[% ELSE %][% new_direction %][% END %]">Title</a>
384 [% IF sort == 'title' %]
385 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
387 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
391 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% IF sort != 'author' %]asc[% ELSE %][% new_direction %][% END %]">Author</a>
392 [% IF sort == 'author' %]
393 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
395 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
400 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% IF sort != 'itemcallnumber' %]asc[% ELSE %][% new_direction %][% END %]">Call number</a>
401 [% IF sort == 'itemcallnumber' %]
402 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
404 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
408 [% FOREACH itemsloo IN itemsloop %]
409 [% UNLESS ( loop.odd ) %]
410 <tr class="highlight">
414 [% IF ( itemsloop ) %]
416 [% IF ( itemsloo.confirm ) %]
417 <input type="hidden" name="CONFIRM-[% itemsloo.confirm %]" />
418 <input type="checkbox" class="selection" value="[% itemsloo.biblionumber %]" name="REM-[% itemsloo.biblionumber %]" checked />
420 <input type="checkbox" class="selection" value="[% itemsloo.biblionumber %]" name="REM-[% itemsloo.biblionumber %]" />
424 [% UNLESS ( item_level_itypes ) %]<td>
425 [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl %]" alt="[% itemsloo.description %]" title="[% itemsloo.description %]" />[% END %][% itemsloo.description %]
428 [% IF ( itemsloo.XSLTBloc ) %]
429 [% itemsloo.XSLTBloc %]
431 [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
432 [% itemsloo.title |html %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield %][% END %]</a>
435 [% IF ( itemsloo.notforloan ) %]
436 <span class="noholdstext">No holds allowed</span>
438 [% IF ( itemsloo.ITEM_RESULTS.size ) %]
439 <a id="reserve_[% itemsloo.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]">Holds</a>
440 [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]&findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %]
442 <span class="noholdstext">No holds allowed</span>
445 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
446 | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% itemsloo.biblionumber %]">Edit record</a>
448 [% IF ( CAN_user_editcatalogue_edit_items ) %]
449 | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% itemsloo.biblionumber %]">Edit items</a>
453 <td>[% itemsloo.author %]</td>
454 <td>[% itemsloo.dateadded %]</td>
457 [% FOREACH result IN itemsloo.ITEM_RESULTS %]
458 <li>[% result.holdingbranch %] [% IF ( result.location_intranet ) %] ([% result.location_intranet %]) [% END %]
459 [% IF ( result.itemcallnumber ) %]
460 [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% result.itemcallnumber |uri %]%22">[% result.itemcallnumber %]</a>]
467 [% END %]<!-- /itemsloop -->
469 <div class="pages">[% pagination_bar %]</div>
474 [% END %]<!-- /viewshelf -->
476 [% IF ( allowaddingitem ) %]
478 <form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post">
479 <fieldset class="brief">
480 <legend>Add an item to <i>[% shelfname | html %]</i></legend>
483 <label for="addbarcode">Barcode:</label>
484 <input name="addbarcode" type="text" id="addbarcode" size="14" />
485 <input type="hidden" name="viewshelf" value="[% shelfnumber %]" />
486 <input type="hidden" name="modifyshelfcontents" value="1" />
487 <input type="submit" value="Add" />
493 [% END %]<!-- /allowaddingitem -->
496 [% IF ( edit ) %]<div>Edit is on ([% shelfname | html %])</div>[% END %]
497 [% IF ( seflag ) %]<div>seflag is on ([% seflag %])</div>[% END %]
502 <div class="yui-u first">
503 <form method="post" action="/cgi-bin/koha/virtualshelves/shelves.pl" class="validated">
504 <fieldset class="rows">
507 <legend>Create a new list</legend>
508 <input type="hidden" name="shelves" value="1" />
510 <li><label class="required" for="addshelf">List name:</label><input id="addshelf" type="text" name="addshelf" size="25" required="required" class="required" />
511 <span class="required">Required</span>
513 <li><span class="label">Owner: </span><input type="hidden" name="owner" id="owner" value="[% loggedinuser %]" />[% loggedinusername %]</li>
514 <li><label for="sortfield" >Sort this list by: </label>
515 <select name="sortfield" id="sortfield">
516 <option value="title">Title</option>
517 <option value="author">Author</option>
518 <option value="copyrightdate">Copyrightdate</option>
519 <option value="itemcallnumber">Call number</option>
521 <li><label for="category">Category: </label>
522 <select name="category" id="category">
523 <option value="1">Private</option>
524 <option value="2">Public</option>
526 [% INCLUDE list_permissions %]
531 <legend>Edit list <i>[% shelfname | html %]</i></legend>
532 <input type="hidden" name="display" value="[% display %]" />
533 <input type="hidden" name="op" value="modifsave" />
534 [% IF ( showprivateshelves ) %]<input type="hidden" name="display" value="privateshelves" />[% END %]
535 <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
537 <li><label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelfname |html %]" required="required" class="required" />
538 <span class="required">Required</span>
540 <li><label for="owner">Owner: </label><input type="hidden" id="owner" name="owner" value="[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]" />[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]</li>
541 <li><label for="sortfield" >Sort this list by: </label>
542 <select name="sortfield">
543 [% IF ( sortfield == "title" ) %]<option value="title" selected="selected">Title</option>[% ELSE %]<option value="title">Title</option>[% END %]
544 [% IF ( sortfield == "author" ) %]<option value="author" selected="selected">Author</option>[% ELSE %]<option value="author">Author</option>[% END %]
545 [% IF ( sortfield == "copyrightdate" ) %]<option value="copyrightdate" selected="selected">Copyrightdate</option>[% ELSE %]<option value="copyrightdate">Copyrightdate</option>[% END %]
546 [% IF ( sortfield == "itemcallnumber" ) %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %]
548 <li><label for="category">Category: </label>
549 <select id="category" name="category">
550 [% IF ( category1 ) %]
551 <option value="1" selected="selected">Private</option>
553 <option value="1">Private</option>
555 [% IF ( category2 ) %]
556 <option value="2" selected="selected">Public</option>
558 <option value="2">Public</option>
561 [% INCLUDE list_permissions %]
567 <fieldset class="action"><input type="submit" value="Save" class="submit" />
568 [% IF ( showprivateshelves ) %]
569 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves" class="cancel">Cancel</a>
571 [% IF ( display == "viewshelf" ) %]
572 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]" class="cancel">Cancel</a>
574 <a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="cancel">Cancel</a>
581 <div class="help"><ul>
582 <li><b>Private list:</b> Is managed by you and can be seen only by you.</li>
583 <li><b>Public list:</b> Can be seen by everybody, but managed only by you.</li>
584 <li>The owner of a list is always allowed to add entries, but needs permission to remove.</li>
589 [% END %]<!-- /seflag -->
591 [% IF op == 'list' %]
593 <div id="tabs" class="toptabs">
595 <li id="privateshelves_tab" class="active"><a href="#tab_content">Your lists</a></li>
596 <li id="publicshelves_tab" class="active"><a href="#tab_content">Public lists</a></li>
599 <div id="tab_content">
600 <table id="listresultst">
603 <th class="NoVisible">Type</th>
608 <th>Creation date</th>
609 <th>Modification date</th>
612 <tr class="filters_row">
614 <th><input class="filter text_filter" id="searchshelfname_filter" placeholder="List name"></th>
616 <th><input class="filter text_filter" id="searchowner_filter" placeholder="Owner"></th>
618 <select class="filter text_filter" id="searchsortby_filter">
619 <option value=""></option>
620 <option value="title">Title</option>
621 <option value="author">Author</option>
622 <option value="copyrightdate">Copyrightdate</option>
623 <option value="itemcallnumber">Call number</option>
637 <form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
638 <!-- Value will be set here by placeHold() -->
639 <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
640 <input type="hidden" name="multi_hold" value="1"/>
645 [% INCLUDE 'intranet-bottom.inc' %]