1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › <!-- TMPL_IF NAME="viewshelf" -->Contents of <!-- TMPL_VAR NAME="shelfname" ESCAPE="html" --><!-- TMPL_ELSE -->My Lists<!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
3 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
4 <script type="text/JavaScript" language="JavaScript">
6 var MSG_NO_TAG_SPECIFIED = _("No tag was specified.");
8 $.tablesorter.addParser({
10 is: function(s) {return false; },
11 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
15 function holdSelections() {
16 var checkedBoxes = $(":checkbox:checked");
17 if ($(checkedBoxes).size() == 0) {
18 alert(MSG_NO_RECORD_SELECTED);
21 $(checkedBoxes).each(function(){
22 var name = $(this).attr("name");
26 document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers="+bibs;
30 function tagSelected() {
31 <!-- TMPL_IF NAME="loggedinusername" -->
32 var checkedBoxes = $("input:checkbox:checked");
33 if ($(checkedBoxes).size()) {
34 $("#tagsel_tag").hide();
35 $(".tag_hides").hide();
36 $("#tagsel_form").show();
38 alert(MSG_NO_RECORD_SELECTED);
41 window.location = "/cgi-bin/koha/opac-user.pl";
45 function tagCanceled() {
46 $("#tagsel_form").hide();
47 $("#tagsel_tag").show();
48 $(".tag_hides").show();
52 var checkedBoxes = $("input:checkbox:checked");
53 if (!$(checkedBoxes).size()) {
54 alert(MSG_NO_RECORD_SELECTED);
58 var tag = $("#tagsel_new").val();
59 if (!tag || (tag == "")) {
60 alert(MSG_NO_TAG_SPECIFIED);
65 for (var i = 0; i < $(checkedBoxes).size(); i++) {
66 var box = $(checkedBoxes).get(i);
67 bibs[i] = $(box).val();
70 KOHA.Tags.add_multitags_button(bibs, tag);
75 $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">Clear All<\/a>");
76 $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">Select All<\/a>");
77 $(".sendlist").show();
78 <!-- TMPL_IF NAME="RequestOnOpac" -->$("#placehold").html("<a href=\"#\" class=\"hold tag_hides\">Place Hold<\/a>");
79 $("a.hold").click(function(){
83 $("#listcontents").tablesorter({
85 <!-- TMPL_IF NAME="manageshelf" -->
86 <!-- TMPL_IF NAME="authorsort" -->
88 <!-- TMPL_ELSIF NAME="copyrightsort" -->
93 headers: { 0: { sorter: false },1:{sorter: 'articles'}
95 <!-- TMPL_IF NAME="authorsort" -->
97 <!-- TMPL_ELSIF NAME="copyrightsort" -->
102 headers: { 0:{sorter:'articles'}
106 $("#CheckAll").click(function(){
107 $(".checkboxed").checkCheckboxes();
110 $("#CheckNone").click(function(){
111 $(".checkboxed").unCheckCheckboxes();
114 <!-- TMPL_IF NAME="TagsEnabled" -->
115 $("#addtags").click(function(){
119 $("#addtags").html("<a id=\"tagsel_tag\" href=\"#\">Tag<\/a>");
120 $("#tagsel_button").click(function(){
129 <!-- TMPL_IF NAME="loggedinusername" --><body id="opac-userlists"><!-- TMPL_ELSE --><body id="opac-lists"><!-- /TMPL_IF -->
130 <!-- TMPL_IF EXPR="OpacNav||loggedinusername" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
132 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
135 <div class="container">
137 <!-- TMPL_IF NAME="paramsloop" -->
138 <!-- TMPL_LOOP NAME="paramsloop" -->
140 <div class="yui-u first">
141 <!-- TMPL_IF NAME="already" --><div class="dialog alert">A List named <b><!-- TMPL_VAR NAME="already" --></b> already exists!</div><!-- /TMPL_IF -->
142 <!-- TMPL_IF NAME="status" --><div class="dialog alert"><!-- TMPL_VAR NAME="string" --></div><!-- /TMPL_IF -->
143 <!-- TMPL_IF NAME="nobarcode" --><div class="dialog alert">ERROR: No barcode given.</div><!-- /TMPL_IF -->
144 <!-- TMPL_IF NAME="noshelfnumber" --><div class="dialog alert">ERROR: No shelfnumber given.</div><!-- /TMPL_IF -->
145 <!-- TMPL_IF NAME="need_confirm" -->
146 <div class="dialog alert">
147 The list <i><!-- TMPL_VAR NAME="need_confirm" --></i> is not empty.
148 <br />It has <b><!-- TMPL_VAR NAME="count" --></b> entries.
149 <br />Use the "Confirm" button below to confirm deletion.
152 <!-- TMPL_IF NAME="nopermission" -->
153 <div class="dialog alert">ERROR: You do not have adequate permission for that action on list <!-- TMPL_VAR NAME="nopermission" -->.</div>
155 <!-- TMPL_IF NAME="failgetitem" -->
156 <div class="dialog alert">ERROR: No item found with barcode <!-- TMPL_VAR NAME="failgetitem" -->.</div>
158 <!-- TMPL_IF NAME="duplicatebiblio" -->
159 <div class="dialog alert">A record matching barcode <b><!-- TMPL_VAR NAME="duplicatebiblio" --></b> has already been added.</div>
161 <!-- TMPL_IF NAME="delete_ok" -->
162 <div class="dialog message">List <!-- TMPL_VAR NAME="delete_ok" --> Deleted.</div>
164 <!-- TMPL_IF NAME="delete_fail" -->
165 <div class="dialog message">ERROR: Database error. Delete (list number <!-- TMPL_VAR NAME="delete_fail" -->) failed.</div>
167 <!-- TMPL_IF NAME="unrecognized" -->
168 <div class="dialog message">ERROR: List number <!-- TMPL_VAR NAME="unrecognized" --> unrecognized.</div>
172 <!-- /TMPL_LOOP --><!-- /paramsloop -->
173 <!-- /TMPL_IF --> <!-- /paramsloop -->
178 <!-- TMPL_IF NAME="viewshelf" --><!-- Viewing a particular shelf -->
179 <h3><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a> <img src="<!-- TMPL_VAR NAME="themelang" -->/../images/caret.gif" width="16" height="16" alt=">" border="0" /> <em><!-- TMPL_VAR NAME="shelfname" ESCAPE="html" --></em></h3>
180 <!-- TMPL_IF NAME="itemsloop" -->
181 <!-- TMPL_IF NAME="manageshelf" -->
183 <span class="checkall"></span>
184 <span class="clearall"></span>
186 <span class="sendlist"><a href="#" class="send tag_hides" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=<!-- TMPL_VAR NAME="shelfnumber" -->','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send List</a></span>
187 <a class="editshelf tag_hides" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=<!-- TMPL_VAR NAME="shelfnumber" -->&op=modif">Edit List</a>
188 <form method="post" action="opac-shelves.pl" class="tag_hides">
189 <input type="hidden" value="1" name="shelves"/>
190 <!-- TMPL_IF NAME="showprivateshelves" -->
191 <input type="hidden" name="display" value="privateshelves" />
193 <input type="hidden" value="1" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->"/>
194 <input type="submit" class="deleteshelf" value="Delete List" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));"/>
196 <!-- TMPL_IF NAME="RequestOnOpac" -->
197 <span id="placehold"></span>
199 <!-- TMPL_IF NAME="TagsEnabled" -->
200 <span id="addtags"></span>
201 <span id="tagsel_form" style="display:none">
202 <label for="tagsel_new" style="display:inline">New Tag:</label>
203 <input name="tagsel_new" id="tagsel_new" maxlength="100" style="display:inline"/>
204 <input id="tagsel_button" name="tagsel_button" class="input tagsel_button" title="tagsel_button"
205 type="submit" value="Add" style="display:inline" />
206 <a href="#" id="tagsel_cancel" onclick="tagCanceled(); return false;" style="display:inline">Cancel</a>
211 <div style="margin-left:1em;"><span class="sendlist"><a href="#" class="send tag_hides" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=<!-- TMPL_VAR NAME="shelfnumber" -->','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send List</a></span> | <span><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to place holds or add tags</span></div>
213 <!-- TMPL_IF NAME="manageshelf" -->
214 <form action="/cgi-bin/koha/opac-shelves.pl" method="post" name="myform" class="checkboxed">
215 <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
216 <input type="hidden" name="modifyshelfcontents" value="1" />
218 <!-- TMPL_VAR name='pagination_bar'-->
219 <table id="listcontents">
221 <!-- TMPL_IF NAME="manageshelf" --><th> </th><!-- /TMPL_IF -->
222 <!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th><!-- /TMPL_UNLESS -->
228 <!-- TMPL_LOOP NAME="itemsloop" -->
229 <!-- TMPL_UNLESS NAME="__odd__" -->
230 <tr class="highlight">
233 <!-- /TMPL_UNLESS -->
234 <!-- TMPL_IF NAME="manageshelf" -->
235 <td><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="biblionumber" -->"
236 value="<!-- TMPL_VAR NAME="biblionumber">" /></td>
238 <!-- TMPL_UNLESS NAME="item-level_itypes" -->
240 <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" /><!-- TMPL_VAR NAME="description" -->
242 <!-- /TMPL_UNLESS -->
244 <!-- TMPL_IF NAME="BiblioDefaultViewmarc" -->
245 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" --></a>
247 <!-- TMPL_IF NAME="BiblioDefaultViewisbd" -->
248 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" --></a>
250 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" --></a>
253 <!-- COinS / OpenURL -->
254 <!-- COinS / OpenURL --><span class="Z3988" title="<!-- TMPL_VAR NAME="coins" -->"></span>
256 <div id="newtag<!-- TMPL_VAR NAME="biblionumber">_status" class="tagstatus results_summary" style="display:none">Tag status here.</div>
258 <td><!-- TMPL_VAR NAME="author" --></td>
259 <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
261 <!-- /TMPL_LOOP --><!-- /itemsloop -->
265 <div class="dialog message">This List is empty. You can add to your lists from the results of any <a href="opac-main.pl">search</a>!</div>
266 <!-- /TMPL_IF --><!-- /itemsloop -->
267 <!-- /TMPL_IF --><!-- /viewshelf -->
270 <!-- TMPL_IF NAME="manageshelf" -->
271 <!-- Editing shelf -->
272 <!-- TMPL_IF NAME="itemsloop" -->
273 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
274 <input type="hidden" name="modifyshelfcontents" value="1" />
275 <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="submit" value="Remove Selected Items" class="icon delete" onclick="return confirmDelete(_('Are you sure you want to remove these items from the list?'))" />
277 <form method="post" action="opac-shelves.pl">
278 <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" value="1" />
279 <input type="hidden" name="shelves" value="1" />
280 <input type="submit" class="icon delete" value="Delete this List" onclick="return confirmDelete(_('Are you sure you want to delete this List?'))" />
286 <!-- TMPL_IF NAME="edit" -->
287 <h3><a href="/cgi-bin/koha/opac-shelves.pl">Lists</a> <img src="<!-- TMPL_VAR NAME="themelang" -->/../images/caret.gif" width="16" height="16" alt=">" border="0" /> <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->"><em><!-- TMPL_VAR NAME="shelfname" ESCAPE="html" --></em></a> <img src="<!-- TMPL_VAR NAME="themelang" -->/../images/caret.gif" width="16" height="16" alt=">" border="0" /> Editing</h3>
288 <form method="post" action="/cgi-bin/koha/opac-shelves.pl">
289 <input type="hidden" name="op" value="modifsave" />
290 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
291 <fieldset class="rows">
293 <li><label for="shelfname">List Name: </label><input type="text" id="shelfname" name="shelfname" size="60" value="<!-- TMPL_VAR NAME="shelfname" ESCAPE="html" -->" /></li>
295 <label for="sortfield" >Sort this list by: </label>
296 <select name="sortfield" id="sortfield">
297 <!-- TMPL_IF NAME="sort_title" --><option value="title" selected="selected">Title</option><!-- TMPL_ELSE --><option value="title">Title</option><!-- /TMPL_IF -->
298 <!-- TMPL_IF NAME="sort_author" --><option value="author" selected="selected">Author</option><!-- TMPL_ELSE --><option value="author">Author</option><!-- /TMPL_IF -->
299 <!-- TMPL_IF NAME="sort_copyrightdate" --><option value="copyrightdate" selected="selected">Copyrightdate</option><!-- TMPL_ELSE --><option value="copyrightdate">Copyrightdate</option><!-- /TMPL_IF -->
303 <label for="category">Category: </label>
304 <select name="category" id="category">
305 <option value="1">Private</option>
306 <option value="2">Public</option>
311 <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="cancel" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=<!-- TMPL_VAR NAME="shelfnumber" -->">Cancel</a></fieldset>
313 <!-- /TMPL_IF --><!-- /edit -->
316 <!-- TMPL_UNLESS NAME="edit" -->
317 <!-- TMPL_UNLESS NAME="viewshelf" -->
318 <!-- TMPL_UNLESS NAME="shelves" -->
320 <ul class="link-tabs">
321 <!-- TMPL_IF NAME="showprivateshelves" -->
322 <li id="privateshelves_tab" class="on"><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Your Lists</a></li>
324 <li id="privateshelves_tab" class="off"><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Your Lists</a></li>
326 <!-- TMPL_IF NAME="showpublicshelves" -->
327 <li id="publicshelves_tab" class="on"><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public Lists</a></li>
329 <li id="publicshelves_tab" class="off"><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public Lists</a></li>
333 <!-- TMPL_IF NAME="showprivateshelves" -->
334 <div id="privateshelves" class="tab-container" style="display:block;">
336 <div id="privateshelves" class="tab-container" style="display:none;">
339 <!-- TMPL_IF NAME="loggedinusername" -->
340 <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New List</a>
341 <!-- TMPL_IF NAME="shelveslooppriv" -->
342 <!-- TMPL_VAR name='pagination_bar'-->
351 <!-- TMPL_LOOP NAME="shelveslooppriv" -->
352 <!-- TMPL_UNLESS NAME="__odd__" -->
353 <tr class="highlight">
356 <!-- /TMPL_UNLESS -->
357 <td><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves&viewshelf=<!-- TMPL_VAR NAME="shelf" -->&sortfield=<!-- TMPL_VAR NAME="sortfield" -->"><!-- TMPL_VAR NAME="shelfname" ESCAPE="html" --></a></td>
358 <td><!-- TMPL_VAR NAME="count" --> item(s)</td>
359 <td><!-- TMPL_VAR NAME="sortfield" --></td>
361 <!-- TMPL_IF NAME="viewcategory1" -->Private<!-- /TMPL_IF -->
362 <!-- TMPL_IF NAME="viewcategory2" -->Public<!-- /TMPL_IF -->
363 <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
366 <span class="sendlist"><a href="#" class="send tag_hides" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=<!-- TMPL_VAR NAME="shelf" -->','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send List</a></span>
367 <!-- TMPL_IF NAME="mine" -->
368 <form action="/cgi-bin/koha/opac-shelves.pl" method="get">
369 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
370 <input type="hidden" name="display" value="privateshelves" />
371 <input type="hidden" name="op" value="modif" />
372 <input type="submit" class="editshelf" value="Edit" />
374 <form action="opac-shelves.pl" method="post">
375 <input type="hidden" name="shelves" value="1" />
376 <input type="hidden" name="display" value="privateshelves" />
377 <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" value="1" />
378 <!-- TMPL_IF NAME="confirm" -->
379 <input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" />
380 <input type="submit" class="confirm" value="Confirm" />
382 <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
385 <!-- /TMPL_IF -->
390 <tr><td colspan="4">No Private Lists.</td></tr>
391 <!-- /TMPL_IF --><!-- /shelveslooppriv -->
393 <!-- TMPL_ELSE --><!-- /loggedinusername -->
394 <div><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create new Lists.</div>
395 <!-- /TMPL_IF --><!-- /loggedinusername -->
398 </div><!-- /privateshelves -->
400 <!-- TMPL_IF NAME="showpublicshelves" -->
401 <div id="publicshelves" class="tab-container" style="display:block;">
403 <div id="publicshelves" class="tab-container" style="display:none;">
405 <!-- TMPL_IF NAME="loggedinusername" -->
406 <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New List</a>
408 <div><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create new Lists.</div>
410 <!-- TMPL_IF NAME="shelvesloop" -->
411 <!-- TMPL_VAR name='pagination_bar'-->
417 <th>Type</th><th> </th>
419 <!-- TMPL_LOOP NAME="shelvesloop" -->
420 <!-- TMPL_UNLESS NAME="__odd__" -->
421 <tr class="highlight">
424 <!-- /TMPL_UNLESS -->
425 <td><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->&sortfield=<!-- TMPL_VAR NAME="sortfield" -->"><!-- TMPL_VAR NAME="shelfname" ESCAPE="html" --></a></td>
426 <td><!-- TMPL_VAR NAME="count" --> item(s)</td>
427 <td><!-- TMPL_VAR NAME="sortfield" --></td>
429 <!-- TMPL_IF NAME="viewcategory1" -->Private<!-- /TMPL_IF -->
430 <!-- TMPL_IF NAME="viewcategory2" -->Public<!-- /TMPL_IF -->
431 <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
434 <span class="sendlist"><a href="#" class="send tag_hides" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=<!-- TMPL_VAR NAME="shelf" -->','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send List</a></span>
435 <!-- TMPL_IF NAME="mine" -->
436 <form action="/cgi-bin/koha/opac-shelves.pl" method="get">
437 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
438 <input type="hidden" name="op" value="modif" />
439 <input type="submit" class="editshelf" value="Edit" />
441 <form action="opac-shelves.pl" method="post">
442 <input type="hidden" name="shelves" value="1" />
443 <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" value="1" />
444 <!-- TMPL_IF NAME="confirm" -->
445 <input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" />
446 <input type="submit" class="confirm" value="Confirm" />
448 <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
451 <!-- /TMPL_IF -->
454 <!-- /TMPL_LOOP --><!-- /shelvesloop -->
456 <!-- TMPL_ELSE --><!-- /shelvesloop -->
457 <!-- TMPL_IF NAME="showpublicshelves" -->No Public Lists.<!-- /TMPL_IF -->
458 <!-- /TMPL_IF --><!-- /shelvesloop -->
460 </div><!-- /publicshelves -->
462 <!-- /TMPL_UNLESS --><!-- /shelves -->
463 <!-- /TMPL_UNLESS --><!-- /viewshelf -->
464 <!-- /TMPL_UNLESS --><!-- /edit -->
466 <!-- TMPL_IF NAME="shelves" -->
468 <form method="post" action="/cgi-bin/koha/opac-shelves.pl">
469 <fieldset class="rows">
470 <legend>Create a New List</legend>
471 <input type="hidden" name="shelves" value="1" />
474 <label for="addshelf">List Name:</label>
475 <!-- TMPL_IF NAME="already" -->
476 <input id="addshelf" type="text" name="addshelf" value="<!-- TMPL_VAR NAME="already" -->" size="60" />
478 <input id="addshelf" type="text" name="addshelf" size="60" />
480 <input type="hidden" name="owner" id="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->" />
483 <label for="sortfield" >Sort this list by: </label>
484 <select name="sortfield" id="sortfield">
485 <!-- TMPL_IF NAME="sort_title" --><option value="title" selected="selected">Title</option><!-- TMPL_ELSE --><option value="title">Title</option><!-- /TMPL_IF -->
486 <!-- TMPL_IF NAME="sort_author" --><option value="author" selected="selected">Author</option><!-- TMPL_ELSE --><option value="author">Author</option><!-- /TMPL_IF -->
487 <!-- TMPL_IF NAME="sort_copyrightdate" --><option value="copyrightdate" selected="selected">Copyrightdate</option><!-- TMPL_ELSE --><option value="copyrightdate">Copyrightdate</option><!-- /TMPL_IF -->
491 <label for="category">Category:</label>
492 <select name="category" id="category">
493 <option value="1">Private</option>
494 <option value="2">Public</option>
499 <fieldset class="action">
500 <input type="submit" value="Save" class="submit" />
501 <a class="cancel" href="/cgi-bin/koha/opac-shelves.pl">Cancel</a>
505 <!-- /TMPL_IF --><!-- /shelves -->
512 <!-- TMPL_IF EXPR="OpacNav||loggedinusername" -->
514 <div class="container">
515 <!-- TMPL_INCLUDE NAME="navigation.inc" -->
516 <!-- TMPL_INCLUDE NAME="usermenu.inc" -->
524 <div id="debug"></div>
526 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->