5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › [% IF op == 'view' %]Lists › Contents of [% shelf.shelfname | html %][% ELSE %]Lists[% END %][% IF op == 'add_form' %] › Create new list[% END %][% IF op == 'edit_form' %] › Edit list [% shelf.shelfname | html %][% END %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9 [% INCLUDE 'datatables.inc' %]
10 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
12 [% BLOCK list_permissions %]
14 <label for="allow_changes_from">Allow changes to contents from: </label>
15 <select name="allow_changes_from" id="allow_changes_from" onchange="AdjustRemark()">
17 [% IF shelf.allow_change_from_owner %]<option value="0">Nobody</option>[% ELSE %]<option value="0" selected="selected">Nobody</option>[% END %]
19 [% IF shelf.allow_change_from_owner && (( !shelf.is_public && !shelf.is_shared ) || !shelf.allow_change_from_others ) %]
20 <option value="1" selected="selected">Owner only</option>
22 <option value="1">Owner only</option>
25 [% IF shelf.allow_change_from_others %]<option value="2" selected="selected">Anyone seeing this list</option>[% ELSE %]<option value="2">Anyone seeing this list</option>[% END %]
28   <span id="anyone_remark" style="display:none;color:red;">The Anyone permission has no actual effect while this list is strictly private.</span>
33 <script type="text/javascript">
34 $( document ).ready(function() {
36 setTimeout('window.close()', 1);
42 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
43 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
45 <script type="text/javascript">
48 var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
49 var MSG_REMOVE_FROM_LIST = _("Are you sure you want to remove these items from the list?");
50 var MSG_CONFIRM_DELETE_LIST = _("Are you sure you want to remove this list?");
53 $(document).ready(function(){
54 [% IF category == PUBLIC %]
55 var type = [% PUBLIC %];
57 var type = [% PRIVATE %];
59 var dtListResults = $("#listresultst").dataTable($.extend(true, {}, dataTablesDefaults, {
61 "aaSorting": [[ 5, "asc" ]],
63 'sAjaxSource': "/cgi-bin/koha/svc/virtualshelves/search",
64 'fnServerData': function(sSource, aoData, fnCallback) {
70 'value': $("#searchshelfname_filter").val(),
73 'value': $("#searchowner_filter").val(),
76 'value': $("#searchsortby_filter").val(),
78 'name': 'template_path',
79 'value': 'virtualshelves/tables/shelves_results.tt',
86 'success': function(json){
92 { 'mDataProp': 'dt_type' },
93 { 'mDataProp': 'dt_shelfname' },
94 { 'mDataProp': 'dt_count' },
95 { 'mDataProp': 'dt_is_shared' },
96 { 'mDataProp': 'dt_owner' },
97 { 'mDataProp': 'dt_sortby' },
98 { 'mDataProp': 'dt_created_on' },
99 { 'mDataProp': 'dt_modification_time' },
100 { 'mDataProp': 'dt_action', 'bSortable': false, 'sClass': 'actions' }
103 { "bVisible": false, "aTargets": [ 'NoVisible' ] }
106 'sPaginationType': 'full_numbers',
109 "bSortCellsTop": true
112 dtListResults.fnAddFilters("filter", 750);
114 var tabs = $("#tabs").tabs({
115 [% IF category == PUBLIC %]
120 activate: function(e, ui) {
121 var active = tabs.tabs("option", "active" );
123 type = [% PRIVATE %];
124 dtListResults.fnDraw();
125 } else if ( active == 1 ) {
127 dtListResults.fnDraw();
131 $("body").on("click", ".deleteshelf", function(){
132 return confirmDelete(MSG_CONFIRM_DELETE_LIST);
137 [% IF shelf AND op == 'view' %]
138 $(document).ready(function(){
139 [% IF ( itemsloop ) %]$('#searchheader').fixFloat();[% END %]
140 $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-remove\"></i>"+_(" Clear all")+"<\/a>");
141 $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\"><i class=\"fa fa-check\"></i>"+_(" Select all")+"<\/a>");
142 $("#CheckAll").click(function(){
143 $(".checkboxed").checkCheckboxes();
146 $("#CheckNone").click(function(){
147 $(".checkboxed").unCheckCheckboxes();
150 $(".placehold").on("click",function(e){
154 $(".addtocart").show();
155 var param1 = "| <label for=\"addto\">"+_("Add to:")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
156 [% IF ( intranetbookbag ) %]
157 param1 += "<option value=\"addtocart\">"+_("Cart")+"<\/option>";
159 [% IF Koha.Preference('virtualshelves') %]
160 [% IF add_to_some_private_shelves.count %]
161 param1 += "<optgroup label=\""+_("Your lists:")+"\">";
162 [% SET number_of_private_shelves = 0 %]
163 [% FOREACH s IN add_to_some_private_shelves %]
164 [% IF shelfnumber != s.shelfnumber %]
165 param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
166 [% SET number_of_private_shelves = number_of_private_shelves + 1 %]
167 [% IF number_of_private_shelves == 10 %][% LAST %][% END %]
170 param1 += "<\/optgroup>";
172 [% IF add_to_some_public_shelves.count %]
173 param1 += "<optgroup label=\""+_("Public lists:")+"\">";
174 [% SET number_of_public_shelves = 0 %]
175 [% FOREACH s IN add_to_some_public_shelves %]
176 [% IF shelfnumber != s.shelfnumber %]
177 param1 += "<option id=\"s[% s.shelfnumber %]\" value=\"addtolist\">[% s.shelfname |html %]<\/option>";
178 [% SET number_of_public_shelves = number_of_public_shelves + 1 %]
179 [% IF number_of_public_shelves == 10 %][% LAST %][% END %]
182 param1 += "<\/optgroup>";
184 [% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
185 param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";
187 param1 +="<option value=\"newlist\">"+_("[ New list ]")+"<\/option>"
189 param1 += "<\/select> <button id=\"cartsubmit\" type=\"submit\" class=\"btn btn-default btn-xs\">"+_("Save")+"</button>";
190 $("span.addto").html(param1);
191 $("#cartsubmit").on("click",function(e){
195 $("#addto").change(function(){
198 $(".addto").find("input:submit").click(function(e){
202 $("#selection_ops").show();
203 $(".merge-items").on("click",function(e){
207 $("#listform").on("submit",function(e){
210 $(".list-remove").on("click",function(e){
211 if($(".selection").filter(":checked").length > 0){
212 return confirm(MSG_REMOVE_FROM_LIST);
214 alert(MSG_NO_ITEM_SELECTED);
221 [% IF shelf AND op == 'edit_form' %]
222 $(document).ready(function(){
228 * This function checks if the adequate number of records are checked for merging
230 function MergeItems() {
231 var checkboxes = $("input:checkbox:checked");
232 if (checkboxes.length < 2) {
233 alert(_("At least two records must be selected for merging."));
236 $(checkboxes).each(function() {
237 params.push('biblionumber=' + $(this).val());
239 var url = '/cgi-bin/koha/cataloguing/merge.pl?' + params.join('&');
246 * This function checks all checkboxes if all are empty,
247 * or unchecks all if any already checked.
250 var checkboxes = document.getElementsByTagName('input');
251 var nbCheckbox = checkboxes.length;
252 var check = areAllChecked();
253 for(var i=0;i<nbCheckbox;i++){
254 if(checkboxes[i].getAttribute('type') == "checkbox" ){
255 checkboxes[i].checked = (check) ? 0 : 1;
260 * This function returns true if ALL checkboxes are checked
262 function areAllChecked(){
263 var checkboxes = document.getElementsByTagName('input');
264 var nbCheckbox = checkboxes.length;
265 for(var i=0;i<nbCheckbox;i++){
266 if(checkboxes[i].getAttribute('type') == "checkbox" ){
267 if(checkboxes[i].checked == 0){
275 function placeHold () {
276 var checkedItems = $(".selection:checked");
277 if ($(checkedItems).size() == 0) {
278 alert(MSG_NO_ITEM_SELECTED);
282 $(checkedItems).each(function() {
283 bibs += $(this).val() + "/";
285 $("#hold_form_biblios").val(bibs);
286 $("#hold_form").submit();
291 var checkboxes = $("#searchresults").find(":checkbox");
292 var vshelf = vShelfAdd(checkboxes);
293 if($("#addto").find("option:selected").attr("value") == "addtolist"){
294 var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s","");
296 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?shelfnumber='+shelfnumber+'&confirm=1&' + vshelf,'popup',500,500);
299 } else if($("#addto").find("option:selected").attr("value") == "newlist"){
301 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?newshelf=1&' + vshelf,'popup',500,500);
304 } else if($("#addto").find("option:selected").attr("value") == "morelists"){
306 openWindow('/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?' + vshelf,'popup',500,500);
310 if($("#addto").find("option:selected").attr("value") == "addtocart"){
311 addMultiple(checkboxes);
316 function AdjustRemark() {
317 var category = $("#category").val();
318 var perms = $("#allow_changes_from").val();
321 $("#anyone_remark").hide();
322 } else if( category==1 ) {
323 // If we move to Private (without shares), show Anyone remark
324 // Note: the number of shares is not tested real-time
325 [% IF !shelf.is_shared %]
326 $("#anyone_remark").show();
328 $("#anyone_remark").hide();
330 } else { // category==2
331 $("#anyone_remark").hide();
337 <body id="lists_shelves" class="lists">
338 [% INCLUDE 'header.inc' %]
339 [% INCLUDE 'cat-search.inc' %]
341 <div id="breadcrumbs">
342 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
343 [% IF op != 'list' %]
344 <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
348 [% IF shelf AND shelf.is_private %] ›
349 [% IF op == 'view' OR op == 'edit_form' %]
350 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PRIVATE %]">Your lists</a>
354 [% ELSIF shelf AND shelf.is_public %] ›
355 [% IF op == 'view' %]
356 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PUBLIC %]">Public lists</a>
362 [% IF op == 'view' %]› Contents of <i>[% shelf.shelfname | html %]</i>[% END %][% IF op == 'add_form' %] › Create new list[% END %][% IF op == 'edit_form' %] › Edit list <i>[% shelf.shelfname | html %]</i>[% END %]</div>
364 <div id="doc3" class="yui-t2">
369 <div class="yui-g">[% INCLUDE 'virtualshelves-toolbar.inc' %]
372 [% FOR m IN messages %]
373 <div class="dialog [% m.type %]">
375 [% CASE 'error_on_update' %]
376 <span>An error occurred when updating this list.</span>
377 [% CASE 'error_on_insert' %]
378 <span>An error occurred when creating this list.</span>
379 [% CASE 'error_on_delete' %]
380 <span>An error occurred when deleting this list.</span>
381 [% CASE 'error_on_add_biblio' %]
382 <span>The item ([% m.item_barcode %]) has not been added to the list. Please verify it is not already in the list.</span>
383 [% CASE 'success_on_update' %]
384 <span>List updated.</span>
385 [% CASE 'success_on_insert' %]
386 <span>List created.</span>
387 [% CASE 'success_on_delete' %]
388 <span>List deleted.</span>
389 [% CASE 'success_on_add_biblio' %]
390 <span>The item ([% m.item_barcode %]) has been added to the list.</span>
391 [% CASE 'success_on_remove_biblios' %]
392 <span>The item has been removed from the list.</span>
393 [% CASE 'does_not_exist' %]
394 <span>This list does not exist.</span>
395 [% CASE 'item_does_not_exist' %]
396 <span>The item ([% m.item_barcode %]) does not exist.</span>
397 [% CASE 'unauthorized_on_view' %]
398 <span>You do not have permission to view this list.</span>
399 [% CASE 'unauthorized_on_update' %]
400 <span>You do not have permission to update this list.</span>
401 [% CASE 'unauthorized_on_delete' %]
402 <span>You do not have permission to delete this list.</span>
403 [% CASE 'unauthorized_on_add_biblio' %]
404 <span>You do not have permission to add a record to this list.</span>
405 [% CASE 'no_biblio_removed' %]
406 <span>No record was removed.</span>
407 [% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %]
408 <span>An error occurred when creating this list. The name [% shelfname %] already exists.</span>
409 [% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %]
410 <span>List could not be created. (Do not use the database administrator account.)</span>
411 [% CASE 'DBIx::Class::Exception' %]
419 [% IF op == 'view' %]
423 <h3>Contents of <i>[% shelf.shelfname | html %]</i></h3>
424 <div class="pages">[% pagination_bar %]</div>
425 <form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="listform" method="post" class="checkboxed">
426 <input type="hidden" name="op" value="remove_biblios" />
427 <input type="hidden" name="referer" value="view" />
428 <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
430 [% IF direction == 'asc' %]
431 [% SET new_direction = 'desc' %]
433 [% SET direction = 'desc' %]
434 [% SET new_direction = 'asc' %]
437 <div id="searchheader" class="noprint">
439 <div id="selection_ops"><span class="checkall"></span> |
440 <span class="clearall"></span>
442 <span class="addto">| </span>
444 [% IF CAN_user_reserveforothers && Koha.Preference('DisplayMultiPlaceHold') %]
445 <div class="btn-group"><button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button></div>
447 [% IF can_remove_biblios %]
448 <div class="btn-group"><button type="submit" class="btn btn-default btn-xs list-remove"><i class="fa fa-trash"></i> Remove selected</button></div>
450 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<div class="btn-group"><button type="submit" class="btn btn-default btn-xs merge-items"><i class="fa fa-compress"></i> Merge selected</button></div>[% END %]
455 <table id="searchresults">
457 [% IF ( itemsloop ) %]<th class="checkall"> </th>[% END %]
459 [% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %]
461 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=title&direction=[% IF sortfield != 'title' %]asc[% ELSE %][% new_direction %][% END %]">Title</a>
462 [% IF sortfield == 'title' %]
463 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
465 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
469 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=author&direction=[% IF sortfield != 'author' %]asc[% ELSE %][% new_direction %][% END %]">Author</a>
470 [% IF sortfield == 'author' %]
471 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
473 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
478 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=itemcallnumber&direction=[% IF sortfield != 'itemcallnumber' %]asc[% ELSE %][% new_direction %][% END %]">Call number</a>
479 [% IF sortfield == 'itemcallnumber' %]
480 <img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" />
482 <img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" />
486 [% FOREACH itemsloo IN itemsloop %]
490 <input type="checkbox" class="selection" value="[% itemsloo.biblionumber %]" name="biblionumber" />
493 [% UNLESS ( item_level_itypes ) %]<td>
494 [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl %]" alt="[% itemsloo.description %]" title="[% itemsloo.description %]" />[% END %][% itemsloo.description %]
497 [% IF ( itemsloo.XSLTBloc ) %]
498 [% itemsloo.XSLTBloc %]
500 [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
501 [% itemsloo.title |html %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield %][% END %]</a>
504 [% IF ( itemsloo.notforloan ) %]
505 <span class="noholdstext">No holds allowed</span>
507 [% IF ( itemsloo.ITEM_RESULTS.size ) %]
508 <a id="reserve_[% itemsloo.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]">Holds</a>
509 [% 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 %]
511 <span class="noholdstext">No holds allowed</span>
514 [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
515 | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% itemsloo.biblionumber %]">Edit record</a>
517 [% IF ( CAN_user_editcatalogue_edit_items ) %]
518 | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% itemsloo.biblionumber %]">Edit items</a>
522 <td>[% itemsloo.author %]</td>
523 <td>[% itemsloo.dateadded | $KohaDates%]</td>
526 [% FOREACH result IN itemsloo.ITEM_RESULTS %]
527 <li>[% result.holdingbranch %] [% IF ( result.location_intranet ) %] ([% result.location_intranet %]) [% END %]
528 [% IF ( result.itemcallnumber ) %]
529 [<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% result.itemcallnumber |uri %]%22">[% result.itemcallnumber %]</a>]
536 [% END %]<!-- /itemsloop -->
538 <div class="pages">[% pagination_bar %]</div>
545 [% IF op == 'add_form' OR op == 'edit_form' %]
547 <div class="yui-u first">
548 <form method="post" action="/cgi-bin/koha/virtualshelves/shelves.pl" class="validated">
549 <fieldset class="rows">
551 [% IF op == 'add_form' %]
552 <legend>Create a new list</legend>
553 <input type="hidden" name="op" value="add" />
555 <legend>Edit list <i>[% shelf.shelfname | html %]</i></legend>
556 <input type="hidden" name="op" value="edit" />
558 <input type="hidden" name="referer" value="[% referer | html %]" />
559 <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
562 <label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelf.shelfname |html %]" required="required" class="required" />
563 <span class="required">Required</span>
566 <span class="label">Owner: </span>
567 [% IF op == 'add_form' %]
568 <input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />[% loggedinusername %]</li>
571 <input type="hidden" id="owner" name="owner" value="[% owner.borrowernumber %]" />[% owner.firstname _ ' ' _ owner.surname %]
573 <input type="hidden" id="owner" name="owner" value="[% loggedinusernumber %]" />[% loggedinusername %]
577 <li><label for="sortfield" >Sort this list by: </label>
578 <select name="sortfield">
579 [% IF shelf.sortfield == "title" %]<option value="title" selected="selected">Title</option>[% ELSE %]<option value="title">Title</option>[% END %]
580 [% IF shelf.sortfield == "author" %]<option value="author" selected="selected">Author</option>[% ELSE %]<option value="author">Author</option>[% END %]
581 [% IF shelf.sortfield == "copyrightdate" %]<option value="copyrightdate" selected="selected">Copyrightdate</option>[% ELSE %]<option value="copyrightdate">Copyrightdate</option>[% END %]
582 [% IF shelf.sortfield == "itemcallnumber" %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %]
584 <li><label for="category">Category: </label>
585 <select id="category" name="category" onchange="AdjustRemark()">
586 [% IF shelf.is_private %]
587 <option value="1" selected="selected">Private</option>
589 <option value="1">Private</option>
591 [% IF shelf.is_public %]
592 <option value="2" selected="selected">Public</option>
594 <option value="2">Public</option>
598 [% INCLUDE list_permissions %]
603 <fieldset class="action">
604 <input type="submit" value="Save" class="submit" />
605 [% IF referer == 'view' %]
606 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]" class="cancel">Cancel</a>
608 [% IF category == PUBLIC %]
609 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PUBLIC %]" class="cancel">Cancel</a>
611 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PRIVATE %]" class="cancel">Cancel</a>
618 <div class="help"><ul>
619 <li><b>Private list:</b> Is managed by you and can be seen only by you.</li>
620 <li><b>Public list:</b> Can be seen by everybody, but managed only by you.</li>
627 [% IF op == 'list' %]
629 <div id="tabs" class="toptabs">
631 <li id="privateshelves_tab" class="active"><a href="#tab_content">Your lists</a></li>
632 <li id="publicshelves_tab" class="active"><a href="#tab_content">Public lists</a></li>
635 <div id="tab_content">
636 <table id="listresultst">
639 <th class="NoVisible">Type</th>
645 <th>Creation date</th>
646 <th>Modification date</th>
649 <tr class="filters_row">
651 <th><input class="filter text_filter" id="searchshelfname_filter" placeholder="List name"></th>
654 <th><input class="filter text_filter" id="searchowner_filter" placeholder="Owner"></th>
656 <select class="filter text_filter" id="searchsortby_filter">
657 <option value=""></option>
658 <option value="title">Title</option>
659 <option value="author">Author</option>
660 <option value="copyrightdate">Copyrightdate</option>
661 <option value="itemcallnumber">Call number</option>
675 <form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
676 <!-- Value will be set here by placeHold() -->
677 <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
678 <input type="hidden" name="multi_hold" value="1"/>
684 [% IF ( can_add_biblios ) %]
686 <form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post">
687 <fieldset class="brief noprint">
688 <legend>Add items</legend>
691 <label for="barcodes">Barcodes:</label>
692 <textarea name="barcodes" id="barcodes" class="focus" autocomplete="off" rows="5"></textarea>
693 <input type="hidden" name="op" value="add_biblio" />
694 <input type="hidden" name="referer" value="view" />
695 <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
698 <fieldset class="action">
699 <input type="submit" value="Add" />
707 [% INCLUDE 'intranet-bottom.inc' %]