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>
9 <script type="text/javascript">
10 $( document ).ready(function() {
12 setTimeout('window.close()', 1);
17 [% IF ( viewshelf ) %]
18 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
19 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
21 <script type="text/javascript">
24 var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
25 var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?");
26 var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to remove this list?");
29 $(document).ready(function(){
31 var dtListResults = $("#listresultst").dataTable($.extend(true, {}, dataTablesDefaults, {
33 'sAjaxSource': "/cgi-bin/koha/svc/virtualshelves/search",
34 'fnServerData': function(sSource, aoData, fnCallback) {
40 'value': $("#searchshelfname_filter").val(),
43 'value': $("#searchowner_filter").val(),
46 'value': $("#searchsortby_filter").val(),
48 'name': 'template_path',
49 'value': 'virtualshelves/tables/shelves_results.tt',
56 'success': function(json){
62 { 'mDataProp': 'dt_type' },
63 { 'mDataProp': 'dt_shelfname' },
64 { 'mDataProp': 'dt_count' },
65 { 'mDataProp': 'dt_owner' },
66 { 'mDataProp': 'dt_sortby' },
67 { 'mDataProp': 'dt_created_on' },
68 { 'mDataProp': 'dt_modification_time' },
69 { 'mDataProp': 'dt_action', 'bSortable': false }
72 { "bVisible": false, "aTargets": [ 'NoVisible' ] }
75 'sPaginationType': 'full_numbers',
81 dtListResults.fnAddFilters("filter", 750);
83 var tabs = $("#tabs").tabs({
84 activate: function(e, ui) {
85 var active = tabs.tabs("option", "active" );
88 dtListResults.fnDraw();
89 } else if ( active == 1 ) {
91 dtListResults.fnDraw();
98 [% IF ( viewshelf ) %]
99 $(document).ready(function(){
100 [% IF ( itemsloop ) %]$('#searchheader').fixFloat();[% END %]
101 $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\">"+_("Clear all")+"<\/a>");
102 $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\">"+_("Select all")+"<\/a>");
103 $("#CheckAll").click(function(){
104 $(".checkboxed").checkCheckboxes();
107 $("#CheckNone").click(function(){
108 $(".checkboxed").unCheckCheckboxes();
111 $(".placehold").on("click",function(e){
115 $(".addtocart").show();
116 var param1 = "| <label for=\"addto\">"+_("Add to:")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
117 [% IF ( intranetbookbag ) %]
118 param1 += "<option value=\"addtocart\">"+_("Cart")+"<\/option>";
120 [% IF ( virtualshelves ) %]
121 [% IF ( addbarshelves ) %]
122 param1 += "<optgroup label=\""+_("Your lists:")+"\">";
123 [% FOREACH addbarshelvesloo IN addbarshelvesloop %]
124 [% IF ( shelfnumber != addbarshelvesloo.shelfnumber ) %]
125 param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";
128 param1 += "<\/optgroup>";
130 [% IF ( addpubshelves ) %]
131 param1 += "<optgroup label=\""+_("Public lists:")+"\">";
132 [% FOREACH addpubshelvesloo IN addpubshelvesloop %]
133 [% IF ( shelfnumber != addpubshelvesloo.shelfnumber ) %]
134 param1 += "<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>";
137 param1 += "<\/optgroup>";
139 [% IF ( ( addbarshelvesloop && addbarshelvesloop.size > 9 ) || (addpubshelvesloop && addpubshelvesloop.size > 9 )) %]
140 param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";
142 param1 +="<option value=\"newlist\">"+_("[ New list ]")+"<\/option>"
144 param1 += "<\/select> <button id=\"cartsubmit\" type=\"submit\" class=\"btn btn-mini\">"+_("Save")+"</button>";
145 $("span.addto").html(param1);
146 $("#cartsubmit").on("click",function(e){
150 $("#addto").change(function(){
153 $(".addto").find("input:submit").click(function(e){
157 $("#selection_ops").show();
158 $(".merge-items").on("click",function(e){
162 $("#listform").on("submit",function(e){
165 $(".list-remove").on("click",function(e){
166 if($(".selection").filter(":checked").length > 0){
167 return confirm(MSG_REMOVE_FROM_LIST);
169 alert(MSG_NO_ITEM_SELECTED);
176 function confirmDelete(message){
177 if (window.confirm(message)) {
178 location.href="/cgi-bin/koha/virtualshelves/shelves.pl?[% IF ( showprivateshelves ) %]display=privateshelves&[% END %]shelves=1&DEL-[% shelfnumber %]=1&shelfoff=[% shelfoff %]";
185 * This function checks if the adequate number of records are checked for merging
187 function MergeItems() {
188 var checkboxes = $("input:checkbox:checked");
189 var nbCheckbox = checkboxes.length;
190 if (nbCheckbox != 2) {
191 alert(_("Two records must be selected for merging."));
193 location.href='/cgi-bin/koha/cataloguing/merge.pl?biblionumber=' + checkboxes[0].value + '&biblionumber=' + checkboxes[1].value;
199 * This function checks all checkboxes if all are empty,
200 * or unchecks all if any already checked.
203 var checkboxes = document.getElementsByTagName('input');
204 var nbCheckbox = checkboxes.length;
205 var check = areAllChecked();
206 for(var i=0;i<nbCheckbox;i++){
207 if(checkboxes[i].getAttribute('type') == "checkbox" ){
208 checkboxes[i].checked = (check) ? 0 : 1;
213 * This function returns true if ALL checkboxes are checked
215 function areAllChecked(){
216 var checkboxes = document.getElementsByTagName('input');
217 var nbCheckbox = checkboxes.length;
218 for(var i=0;i<nbCheckbox;i++){
219 if(checkboxes[i].getAttribute('type') == "checkbox" ){
220 if(checkboxes[i].checked == 0){
228 function placeHold () {
229 var checkedItems = $(".selection:checked");
230 if ($(checkedItems).size() == 0) {
231 alert(MSG_NO_ITEM_SELECTED);
235 $(checkedItems).each(function() {
236 bibs += $(this).val() + "/";
238 $("#hold_form_biblios").val(bibs);
239 $("#hold_form").submit();
244 var checkboxes = $("#searchresults").find(":checkbox");
245 var vshelf = vShelfAdd(checkboxes);
246 if($("#addto").find("option:selected").attr("value") == "addtolist"){
247 var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s","");
249 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?shelfnumber='+shelfnumber+'&confirm=1&' + vshelf,'popup',500,500);
252 } else if($("#addto").find("option:selected").attr("value") == "newlist"){
254 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?newshelf=1&' + vshelf,'popup',500,500);
257 } else if($("#addto").find("option:selected").attr("value") == "morelists"){
259 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?' + vshelf,'popup',500,500);
263 if($("#addto").find("option:selected").attr("value") == "addtocart"){
264 addMultiple(checkboxes);
271 <body id="lists_shelves" class="lists">
272 [% INCLUDE 'header.inc' %]
273 [% INCLUDE 'cat-search.inc' %]
275 [% BLOCK list_permissions %]
277 <label for="permissions">Permissions: </label>
278 <select name="allow_add" id="allow_add">
279 [% IF allow_add %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %]
280 [% IF allow_add %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %]
282 <span>anyone else to add entries.</span>
285 <label> </label>
286 <select name="allow_delete_own" id="allow_delete_own">
287 [% IF allow_delete_own %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %]
288 [% IF allow_delete_own %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %]
290 <span>anyone to remove his own contributed entries.</span>
293 <label> </label>
294 <select name="allow_delete_other" id="allow_delete_other">
295 [% IF allow_delete_other %]<option value="0">Do not allow</option>[% ELSE %]<option value="0" selected="selected">Do not allow</option>[% END %]
296 [% IF allow_delete_other %]<option value="1" selected="selected">Allow</option>[% ELSE %]<option value="1">Allow</option>[% END %]
298 <span>anyone to remove other contributed entries.</span>
301 <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 %]
303 [% 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>
305 <div id="doc3" class="yui-t2">
310 <div class="yui-g">[% INCLUDE 'virtualshelves-toolbar.inc' %]
312 [% IF ( paramsloop ) %]
313 [% FOREACH paramsloo IN paramsloop %]
315 <div class="yui-u first">
316 [% IF ( paramsloo.already ) %]<div class="dialog alert">A List named [% paramsloo.already %] already exists!</div>[% END %]
317 [% 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 %]
318 [% IF ( paramsloo.status ) %]<div class="dialog alert">[% paramsloo.string %]</div>[% END %]
319 [% IF ( paramsloo.nobarcode ) %]<div class="dialog alert">ERROR: No barcode given.</div>[% END %]
320 [% IF ( paramsloo.noshelfnumber ) %]<div class="dialog alert">ERROR: No list number given.</div>[% END %]
321 [% IF ( paramsloo.need_confirm ) %]
322 <div class="dialog alert">The list <i>[% paramsloo.need_confirm %]</i> is not empty.
323 [% IF ( paramsloo.single ) %]
324 <br />It has <b>[% paramsloo.count %]</b> entry.
326 <br />It has <b>[% paramsloo.count %]</b> entries.
328 <br />Use the "Confirm" button below to confirm deletion.
331 [% IF ( paramsloo.nopermission ) %]
332 <div class="dialog alert">ERROR: You do not have adequate permission for that action on list [% paramsloo.nopermission %].</div>
334 [% IF ( paramsloo.failgetitem ) %]
335 <div class="dialog alert">ERROR: No item found with barcode [% paramsloo.failgetitem %].</div>
337 [% IF ( paramsloo.duplicatebiblio ) %]
338 <div class="dialog alert">A record matching barcode <b>[% paramsloo.duplicatebiblio %]</b> has already been added.</div>
340 [% IF ( paramsloo.nothingdeleted) %]
341 <div class="dialog message">Warning: You could not delete any of the selected items from this list.</div>
343 [% IF ( paramsloo.somedeleted) %]
344 <div class="dialog message">Warning: You could not delete all selected items from this list.</div>
346 [% IF ( paramsloo.modifyfailure) %]
347 <div class="dialog message">ERROR: List could not be modified.</div>
354 [% IF ( viewshelf ) %]
356 [% IF ( itemsloop ) %]
358 <h3>Contents of <i>[% shelfname | html %]</i></h3>
359 <div class="pages">[% pagination_bar %]</div>
360 <form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="listform" method="post" class="checkboxed">
361 <input type="hidden" name="viewshelf" value="[% shelfnumber %]" />
362 <input type="hidden" name="modifyshelfcontents" value="1" />
364 [% IF direction == 'asc' %]
365 [% SET new_direction = 'desc' %]
367 [% SET direction = 'desc' %]
368 [% SET new_direction = 'asc' %]
371 <div id="searchheader" class="noprint">
372 [% IF ( itemsloop ) %]
373 <div id="selection_ops"><span class="checkall"></span> |
374 <span class="clearall"></span>
376 <span class="addto">| </span>
378 [% IF ( CAN_user_reserveforothers && DisplayMultiPlaceHold ) %]
379 <div class="btn-group"><button class="btn btn-mini placehold"><i class="icon-hold"></i> Place hold</button></div>
381 [% IF ( allowremovingitems ) %]
382 <div class="btn-group"><button type="submit" class="btn btn-mini list-remove"><i class="icon-remove-sign"></i> Remove selected</button></div>
384 [% 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 %]
389 <table id="searchresults">
391 [% IF ( itemsloop ) %]<th class="checkall"> </th>[% END %]
393 [% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %]
395 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=title&direction=[% IF sort != 'title' %]asc[% ELSE %][% new_direction %][% END %]">Title</a>
396 [% IF sort == 'title' %]
397 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
399 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
403 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=author&direction=[% IF sort != 'author' %]asc[% ELSE %][% new_direction %][% END %]">Author</a>
404 [% IF sort == 'author' %]
405 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
407 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
412 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]&sort=itemcallnumber&direction=[% IF sort != 'itemcallnumber' %]asc[% ELSE %][% new_direction %][% END %]">Call number</a>
413 [% IF sort == 'itemcallnumber' %]
414 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
416 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
420 [% FOREACH itemsloo IN itemsloop %]
421 [% UNLESS ( loop.odd ) %]
422 <tr class="highlight">
426 [% IF ( itemsloop ) %]
428 [% IF ( itemsloo.confirm ) %]
429 <input type="hidden" name="CONFIRM-[% itemsloo.confirm %]" />
430 <input type="checkbox" class="selection" value="[% itemsloo.biblionumber %]" name="REM-[% itemsloo.biblionumber %]" checked />
432 <input type="checkbox" class="selection" value="[% itemsloo.biblionumber %]" name="REM-[% itemsloo.biblionumber %]" />
436 [% UNLESS ( item_level_itypes ) %]<td>
437 [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl %]" alt="[% itemsloo.description %]" title="[% itemsloo.description %]" />[% END %][% itemsloo.description %]
440 [% IF ( itemsloo.XSLTBloc ) %]
441 [% itemsloo.XSLTBloc %]
443 [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
444 [% itemsloo.title |html %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield %][% END %]</a>
447 [% IF ( itemsloo.notforloan ) %]
448 <span class="noholdstext">No holds allowed</span>
450 [% IF ( itemsloo.ITEM_RESULTS.size ) %]
451 <a id="reserve_[% itemsloo.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]">Holds</a>
452 [% 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 %]
454 <span class="noholdstext">No holds allowed</span>
457 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
458 | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% itemsloo.biblionumber %]">Edit record</a>
460 [% IF ( CAN_user_editcatalogue_edit_items ) %]
461 | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% itemsloo.biblionumber %]">Edit items</a>
465 <td>[% itemsloo.author %]</td>
466 <td>[% itemsloo.dateadded %]</td>
469 [% FOREACH result IN itemsloo.ITEM_RESULTS %]
470 <li>[% result.holdingbranch %] [% IF ( result.location_intranet ) %] ([% result.location_intranet %]) [% END %]
471 [% IF ( result.itemcallnumber ) %]
472 [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% result.itemcallnumber |uri %]%22">[% result.itemcallnumber %]</a>]
479 [% END %]<!-- /itemsloop -->
481 <div class="pages">[% pagination_bar %]</div>
486 [% END %]<!-- /viewshelf -->
489 [% IF ( edit ) %]<div>Edit is on ([% shelfname | html %])</div>[% END %]
490 [% IF ( seflag ) %]<div>seflag is on ([% seflag %])</div>[% END %]
495 <div class="yui-u first">
496 <form method="post" action="/cgi-bin/koha/virtualshelves/shelves.pl" class="validated">
497 <fieldset class="rows">
500 <legend>Create a new list</legend>
501 <input type="hidden" name="shelves" value="1" />
503 <li><label class="required" for="addshelf">List name:</label><input id="addshelf" type="text" name="addshelf" size="25" required="required" class="required" />
504 <span class="required">Required</span>
506 <li><span class="label">Owner: </span><input type="hidden" name="owner" id="owner" value="[% loggedinuser %]" />[% loggedinusername %]</li>
507 <li><label for="sortfield" >Sort this list by: </label>
508 <select name="sortfield" id="sortfield">
509 <option value="title">Title</option>
510 <option value="author">Author</option>
511 <option value="copyrightdate">Copyrightdate</option>
512 <option value="itemcallnumber">Call number</option>
514 <li><label for="category">Category: </label>
515 <select name="category" id="category">
516 <option value="1">Private</option>
517 <option value="2">Public</option>
519 [% INCLUDE list_permissions %]
524 <legend>Edit list <i>[% shelfname | html %]</i></legend>
525 <input type="hidden" name="display" value="[% display %]" />
526 <input type="hidden" name="op" value="modifsave" />
527 [% IF ( showprivateshelves ) %]<input type="hidden" name="display" value="privateshelves" />[% END %]
528 <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
530 <li><label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelfname |html %]" required="required" class="required" />
531 <span class="required">Required</span>
533 <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>
534 <li><label for="sortfield" >Sort this list by: </label>
535 <select name="sortfield">
536 [% IF ( sortfield == "title" ) %]<option value="title" selected="selected">Title</option>[% ELSE %]<option value="title">Title</option>[% END %]
537 [% IF ( sortfield == "author" ) %]<option value="author" selected="selected">Author</option>[% ELSE %]<option value="author">Author</option>[% END %]
538 [% IF ( sortfield == "copyrightdate" ) %]<option value="copyrightdate" selected="selected">Copyrightdate</option>[% ELSE %]<option value="copyrightdate">Copyrightdate</option>[% END %]
539 [% IF ( sortfield == "itemcallnumber" ) %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %]
541 <li><label for="category">Category: </label>
542 <select id="category" name="category">
543 [% IF ( category1 ) %]
544 <option value="1" selected="selected">Private</option>
546 <option value="1">Private</option>
548 [% IF ( category2 ) %]
549 <option value="2" selected="selected">Public</option>
551 <option value="2">Public</option>
554 [% INCLUDE list_permissions %]
560 <fieldset class="action"><input type="submit" value="Save" class="submit" />
561 [% IF ( showprivateshelves ) %]
562 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves" class="cancel">Cancel</a>
564 [% IF ( display == "viewshelf" ) %]
565 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% shelfnumber %]" class="cancel">Cancel</a>
567 <a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="cancel">Cancel</a>
574 <div class="help"><ul>
575 <li><b>Private list:</b> Is managed by you and can be seen only by you.</li>
576 <li><b>Public list:</b> Can be seen by everybody, but managed only by you.</li>
577 <li>The owner of a list is always allowed to add entries, but needs permission to remove.</li>
582 [% END %]<!-- /seflag -->
584 [% IF op == 'list' %]
586 <div id="tabs" class="toptabs">
588 <li id="privateshelves_tab" class="active"><a href="#tab_content">Your lists</a></li>
589 <li id="publicshelves_tab" class="active"><a href="#tab_content">Public lists</a></li>
592 <div id="tab_content">
593 <table id="listresultst">
596 <th class="NoVisible">Type</th>
601 <th>Creation date</th>
602 <th>Modification date</th>
605 <tr class="filters_row">
607 <th><input class="filter text_filter" id="searchshelfname_filter" placeholder="List name"></th>
609 <th><input class="filter text_filter" id="searchowner_filter" placeholder="Owner"></th>
611 <select class="filter text_filter" id="searchsortby_filter">
612 <option value=""></option>
613 <option value="title">Title</option>
614 <option value="author">Author</option>
615 <option value="copyrightdate">Copyrightdate</option>
616 <option value="itemcallnumber">Call number</option>
630 <form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
631 <!-- Value will be set here by placeHold() -->
632 <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
633 <input type="hidden" name="multi_hold" value="1"/>
639 [% IF ( allowaddingitem ) %]
641 <form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post">
642 <fieldset class="brief">
643 <legend>Add an item</legend>
646 <label for="addbarcode">Barcode:</label>
647 <input name="addbarcode" type="text" id="addbarcode" class="focus" />
648 <input type="hidden" name="viewshelf" value="[% shelfnumber %]" />
649 <input type="hidden" name="modifyshelfcontents" value="1" />
652 <fieldset class="action">
653 <input type="submit" value="Add" />
658 [% END %]<!-- /allowaddingitem -->
661 [% INCLUDE 'intranet-bottom.inc' %]