removing useless code (copied from addbiblio)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / virtualshelves / shelves.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; <!-- TMPL_IF NAME="viewshelf" -->Lists &rsaquo; Contents of <!-- TMPL_VAR NAME="shelfname" --><!-- TMPL_ELSE -->Lists<!-- /TMPL_IF --><!-- TMPL_IF NAME="shelves" --> &rsaquo; Create New List<!-- /TMPL_IF --><!-- TMPL_IF NAME="edit" --> &rsaquo; Edit List <!-- TMPL_VAR name="shelfname"--><!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
5 <script type="text/javascript">
6 //<![CDATA[ 
7
8 var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
9
10 $(document).ready(function(){
11         $("#addbarcode").focus();
12         $("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\">Clear All<\/a>");
13         $("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\">Select All<\/a>");
14     $("#CheckAll").click(function(){
15         $(".checkboxed").checkCheckboxes();
16         return false;
17     });
18     $("#CheckNone").click(function(){
19         $(".checkboxed").unCheckCheckboxes();
20         return false;
21     });
22     $("#placehold").show();
23 });
24
25         function confirmDelete(message){
26                 if (window.confirm(message)) {
27                         location.href="/cgi-bin/koha/virtualshelves/shelves.pl?<!-- TMPL_IF NAME="showprivateshelves" -->display=privateshelves&<!-- /TMPL_IF -->shelves=1&amp;DEL-<!-- TMPL_VAR NAME="shelfnumber" -->=1";
28                 } else { 
29                         return false;
30                 }
31         }
32     /**
33      * This function checks all checkboxes if all are empty,
34      * or unchecks all if any already checked.
35      */
36     function CheckAll(){
37         var checkboxes = document.getElementsByTagName('input');
38         var nbCheckbox = checkboxes.length;
39         var check = areAllChecked();
40         for(var i=0;i<nbCheckbox;i++){
41             if(checkboxes[i].getAttribute('type') == "checkbox" ){
42                 checkboxes[i].checked = (check) ? 0 : 1;
43             }
44         }
45     }
46     /**
47      * This function returns true if ALL checkboxes are checked
48      */
49     function areAllChecked(){
50         var checkboxes = document.getElementsByTagName('input');
51         var nbCheckbox = checkboxes.length;
52         for(var i=0;i<nbCheckbox;i++){
53             if(checkboxes[i].getAttribute('type') == "checkbox" ){
54                 if(checkboxes[i].checked == 0){
55                     return false;
56                 }
57             }
58         }
59         return true;
60     }
61     
62 function placeHold () {
63     var checkedItems = $(".selection:checked");
64     if ($(checkedItems).size() == 0) {
65         alert(MSG_NO_ITEM_SELECTED);
66         return false;
67     }
68     var bibs = "";
69     $(checkedItems).each(function() {
70         bibs += $(this).val() + "/";
71     });
72     $("#hold_form_biblios").val(bibs);
73     $("#hold_form").submit();
74     return false;
75 }
76 //]]>
77 </script>
78 </head>
79 <body>
80 <!-- TMPL_INCLUDE NAME="header.inc" -->
81 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
82
83 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
84 <!-- TMPL_IF NAME="viewshelf" -->&rsaquo; Contents of <i><!-- TMPL_VAR NAME="shelfname" --></i><!-- /TMPL_IF --><!-- TMPL_IF NAME="shelves" --> &rsaquo; Create New List<!-- /TMPL_IF --><!-- TMPL_IF NAME="edit" --> &rsaquo; Edit List <i><!-- TMPL_VAR name="shelfname"--></i><!-- /TMPL_IF --></div>
85
86 <div id="doc" class="yui-t7">
87  <div id="bd">
88   <div id="yui-main">
89    <div class="yui-g"><!-- TMPL_INCLUDE NAME="virtualshelves-toolbar.inc" -->
90    </div>
91 <!-- TMPL_IF NAME="paramsloop" -->
92 <!-- TMPL_LOOP NAME="paramsloop" -->
93 <div class="yui-ge">
94     <div class="yui-u first">
95         <!-- TMPL_IF NAME="already" --><div class="dialog alert">A List named <!-- TMPL_VAR NAME="already" --> already exists!</div><!-- /TMPL_IF -->
96                 <!-- TMPL_IF NAME="status" --><div class="dialog alert"><!-- TMPL_VAR NAME="string" --></div><!-- /TMPL_IF -->
97                 <!-- TMPL_IF NAME="nobarcode" --><div class="dialog alert">ERROR: No barcode given.</div><!-- /TMPL_IF --> 
98                 <!-- TMPL_IF NAME="noshelfnumber" --><div class="dialog alert">ERROR: No shelfnumber given.</div><!-- /TMPL_IF --> 
99                 <!-- TMPL_IF NAME="need_confirm" -->
100                 <div class="dialog alert">The list <i><!-- TMPL_VAR NAME="need_confirm" --></i> is not empty.
101                         <br />It has <b><!-- TMPL_VAR NAME="count" --></b> entries.
102                         <br />Use the "Confirm" button below to confirm deletion.
103                 </div>
104                 <!-- /TMPL_IF -->
105                 <!-- TMPL_IF NAME="nopermission" -->
106                 <div class="dialog alert">ERROR: You do not have adequate permission for that action on list <!-- TMPL_VAR NAME="nopermission" -->.</div>
107                 <!-- /TMPL_IF -->
108                 <!-- TMPL_IF NAME="failgetitem" -->
109                 <div class="dialog alert">ERROR: No item found with barcode <!-- TMPL_VAR NAME="failgetitem" -->.</div>
110                 <!-- /TMPL_IF --> 
111                 <!-- TMPL_IF NAME="duplicatebiblio" -->
112                 <div class="dialog alert">A record matching barcode <b><!-- TMPL_VAR NAME="duplicatebiblio" --></b> has already been added.</div>
113                 <!-- /TMPL_IF --> 
114         </div>
115 </div>
116 <!-- /TMPL_LOOP -->
117 <!-- /TMPL_IF --> 
118
119 <!-- TMPL_IF NAME="viewshelf" -->
120    <div class="yui-g">
121     <!-- TMPL_IF NAME="itemsloop" -->
122
123         <form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post" class="checkboxed">
124         <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
125         <input type="hidden" name="modifyshelfcontents" value="1" />
126  <fieldset>
127   <legend>Contents of <i><!-- TMPL_VAR NAME="shelfname" --></i></legend>
128  <!--TMPL_IF NAME="manageshelf" -->
129    <p>
130      <span class="checkall"></span>
131      <span class="clearall"></span>
132    </p>
133  <!-- /TMPL_IF -->
134  <!-- TMPL_VAR name='pagination_bar'-->
135     <table>
136             <tr>
137                 <!--TMPL_IF NAME="manageshelf" --><th class="checkall">&nbsp;</th><!-- /TMPL_IF -->
138                 <!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th><!-- /TMPL_UNLESS -->
139                 <th>Title</th>
140                 <th>Author</th>
141                 <th>Date Added</th>
142                 <th>&nbsp;</th>
143             </tr>
144                 <!-- TMPL_LOOP NAME="itemsloop" -->
145                         <!-- TMPL_UNLESS NAME="__odd__" -->
146                         <tr class="highlight">
147                         <!-- TMPL_ELSE -->
148                         <tr>
149                         <!-- /TMPL_UNLESS -->
150                         <!-- TMPL_IF NAME="manageshelf" -->
151                         <td>
152                                 <!-- TMPL_IF NAME="confirm" -->
153                                 <input type="hidden"   name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" />
154                                 <input type="checkbox" class="selection" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="REM-<!-- TMPL_VAR NAME="biblionumber" -->" checked />
155                                 <!-- TMPL_ELSE -->
156                                 <input type="checkbox" class="selection" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="REM-<!-- TMPL_VAR NAME="biblionumber" -->" />
157                                 <!-- /TMPL_IF -->
158                         </td>
159                         <!-- /TMPL_IF -->
160                         <!-- TMPL_UNLESS NAME="item-level_itypes" --><td>
161                 <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" /><!-- TMPL_VAR NAME="description" -->
162                         </td><!-- /TMPL_UNLESS -->
163                         <td>
164                         <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
165                                 <a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
166             <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
167                                 <a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
168             <!-- TMPL_ELSE -->
169                                 <a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
170                         <!-- /TMPL_IF -->
171                         <!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" --></a>
172                         </td>
173                         <td><!-- TMPL_VAR NAME="author" --></td>
174                         <td><!-- TMPL_VAR NAME="dateadded" --></td>
175                         <td>
176                         <!-- TMPL_UNLESS name="notforloan" -->
177                         <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Holds</a>
178                         <!-- /TMPL_UNLESS -->
179                         </td>
180                         </tr>
181                 <!-- /TMPL_LOOP --><!-- /itemsloop -->
182     </table>
183  </fieldset>
184  <fieldset class="action">
185         <!-- TMPL_IF name="manageshelf" -->
186             <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place Hold"/>
187             <input type="submit" value="Remove selected Items" onclick='return confirm(_("Are you sure you want to remove these items from the shelf?"))' />
188         <!-- /TMPL_IF -->
189  </fieldset>
190 </form>
191         <!-- /TMPL_IF -->
192    </div>
193 <!-- /TMPL_IF --><!-- /viewshelf -->
194
195 <!-- TMPL_IF name="manageshelf" -->
196 <div class="yui-g">
197 <form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post">
198  <fieldset class="brief">
199     <legend>Add an item to <i><!-- TMPL_VAR NAME="shelfname" --></i></legend>
200         <ol>
201             <li>
202                 <label for="addbarcode">Barcode:</label>
203                 <input name="addbarcode" type="text" id="addbarcode" size="14" />
204                 <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
205                 <input type="hidden" name="modifyshelfcontents" value="1" />
206                 <input type="submit" value="Add" />
207             </li>
208         </ol>
209  </fieldset>
210 </form>
211 </div>
212 <!-- /TMPL_IF --><!-- /manageshelf -->
213
214 <!-- TMPL_IF name="debug" -->
215   <!-- TMPL_IF name="edit" --><div>Edit is on (<!-- TMPL_VAR name="shelfname" -->)</div><!-- /TMPL_IF -->
216   <!-- TMPL_IF NAME="seflag" --><div>seflag is on (<!-- TMPL_VAR name="seflag" -->)</div><!-- /TMPL_IF -->
217 <!-- /TMPL_IF -->
218
219 <!-- TMPL_IF NAME="seflag" -->
220 <div class="yui-ge">
221     <div class="yui-u first">
222     <form method="post" action="/cgi-bin/koha/virtualshelves/shelves.pl">
223         <fieldset class="rows">
224
225     <!-- TMPL_IF NAME="shelves" -->
226         <input type="hidden" name="shelves" value="1" />
227         <legend>Create a new List</legend>
228         <ol>
229         <li><label for="addshelf">Name: </label><input id="addshelf" type="text" name="addshelf" size="25" /></li>
230         <li><span class="label">Owner: </span><input type="hidden" name="owner" id="owner" value="<!-- TMPL_VAR name="loggedinuser" -->" /><!-- TMPL_VAR name="loggedinusername" --></li>
231                 <li><label for="sortfield" >Sort this list by: </label>
232                 <select name="sortfield">
233                 <!-- TMPL_IF NAME="sort_title" --><option value="title" selected="selected">Title</option><!-- TMPL_ELSE --><option value="title">Title</option><!-- /TMPL_IF -->
234                 <!-- TMPL_IF NAME="sort_author" --><option value="author" selected="selected">Author</option><!-- TMPL_ELSE --><option value="author">Author</option><!-- /TMPL_IF -->
235                 <!-- TMPL_IF NAME="sort_copyrightdate" --><option value="copyrightdate" selected="selected">Copyrightdate</option><!-- TMPL_ELSE --><option value="copyrightdate">Copyrightdate</option><!-- /TMPL_IF -->
236                 </select></li>
237         <li><label for="category">Category: </label>
238                         <select name="category" id="category">
239                   <option value="1">Private</option>
240                   <option value="2">Public</option>
241                   <option value="3">Open</option>
242                         </select></li></ol>
243     <!-- /TMPL_IF -->
244
245     <!-- TMPL_IF name="edit" -->
246                 <input type="hidden" name="op" value="modifsave" />
247                 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->" />
248                 <legend>Edit List <i><!-- TMPL_VAR name="shelfname" --></i></legend>
249                 <ol>
250                 <li><label for="shelfname">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value='<!-- TMPL_VAR name="shelfname" ESCAPE="HTML" -->' /></li>
251                 <li><label for="owner">Owner: </label><input type="hidden" id="owner" name="owner" value="<!-- TMPL_IF NAME="owner" --><!-- TMPL_VAR NAME="ownername" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="loggedinusername" --><!-- /TMPL_IF -->" /><!-- TMPL_IF NAME="owner" --><!-- TMPL_VAR NAME="ownername" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="loggedinusername" --><!-- /TMPL_IF --></li>
252                 <li><label for="sortfield" >Sort this list by: </label>
253                 <select name="sortfield">
254                 <!-- TMPL_IF NAME="sort_title" --><option value="title" selected="selected">Title</option><!-- TMPL_ELSE --><option value="title">Title</option><!-- /TMPL_IF -->
255                 <!-- TMPL_IF NAME="sort_author" --><option value="author" selected="selected">Author</option><!-- TMPL_ELSE --><option value="author">Author</option><!-- /TMPL_IF -->
256                 <!-- TMPL_IF NAME="sort_copyrightdate" --><option value="copyrightdate" selected="selected">Copyrightdate</option><!-- TMPL_ELSE --><option value="copyrightdate">Copyrightdate</option><!-- /TMPL_IF -->
257                 </select></li>
258                 <li><label for="category">Category: </label>
259                         <select id="category" name="category">
260                         <!-- TMPL_IF name="category1" -->
261                                 <option value="1" selected="selected">Private</option>
262                         <!-- TMPL_ELSE -->
263                                 <option value="1">Private</option>
264                         <!-- /TMPL_IF -->
265                         <!-- TMPL_IF name="category2" -->
266                                 <option value="2" selected="selected">Public</option>
267                         <!-- TMPL_ELSE -->
268                                 <option value="2">Public</option>
269                         <!-- /TMPL_IF -->
270                         <!-- TMPL_IF NAME="category3" -->
271                                 <option value="3" selected="selected">Open</option>
272                         <!-- TMPL_ELSE -->
273                                 <option value="3">Open</option>
274                         <!-- /TMPL_IF -->
275                         </select></li></ol>
276         <!-- /TMPL_IF -->
277
278                 </fieldset>
279                 <fieldset class="action"><input type="submit" value="Save" /><a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="cancel">Cancel</a></fieldset>
280     </form>
281     </div>
282     <div class="yui-u">
283         <div class="help"><ul>
284             <li>A <b>Private</b> List is managed by you and can be seen only by you.</li>
285             <li> A <b>Public</b> List can be seen by everybody, but managed only by you.</li>
286             <li> A <b>Open</b> List can be seen and managed by everybody.</li>
287         </ul></div>
288     </div>
289 </div>
290 <!-- /TMPL_IF --><!-- /seflag -->
291
292 <!-- TMPL_UNLESS NAME="vseflag" -->
293         <h2>Lists</h2>
294                 <div class="toptabs">
295         <ul class="ui-tabs-nav">
296         <!-- TMPL_IF NAME="showprivateshelves" -->
297             <li id="privateshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a></li>
298         <!-- TMPL_ELSE -->
299             <li id="privateshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a></li>
300         <!-- /TMPL_IF -->
301         <!-- TMPL_IF NAME="showpublicshelves" -->
302             <li id="publicshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a></li>
303         <!-- TMPL_ELSE -->
304             <li id="publicshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a></li>
305         <!-- /TMPL_IF -->
306         </ul>
307         <!-- TMPL_IF NAME="showprivateshelves" -->
308                 <div id="privateshelves" class="ui-tabs-panel" style="display:block;">
309                 <!-- TMPL_ELSE -->
310                 <div id="privateshelves" class="ui-tabs-panel" style="display:none;">
311                 <!-- /TMPL_IF -->
312             <!-- TMPL_IF NAME="shelveslooppriv" -->
313                         <!-- TMPL_VAR name='pagination_bar'-->
314                         <table>
315                         <tr><th>List Name</th><th>Contents</th><th>Sort by</th><th>Type</th><th>Options</th></tr>
316                 <!-- TMPL_LOOP NAME="shelveslooppriv" -->
317                     <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF -->
318         <td><a href="shelves.pl?<!-- TMPL_IF NAME="showprivateshelves" -->display=privateshelves&amp;<!-- /TMPL_IF -->viewshelf=<!-- TMPL_VAR NAME="shelf" -->"><!-- TMPL_VAR NAME="shelfname" ESCAPE="html"  --></a></td>
319         <td><!-- TMPL_VAR NAME="count" --> item(s)</td>
320         <td><!-- TMPL_VAR NAME="sortfield" --></td>
321         <td><!-- TMPL_IF NAME="viewcategory1" -->Private<!-- /TMPL_IF -->
322                         <!-- TMPL_IF NAME="viewcategory2" -->Public<!-- /TMPL_IF -->
323                         <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
324                 </td>
325         <td>
326             <!-- TMPL_IF NAME="mine" -->
327                                 <form action="merge.pl" method="get">
328                                         <input type="hidden" name="shelf" value="<!-- TMPL_VAR NAME="shelf" -->" />
329                                         <input type="submit" class="editshelf" value="Merge" />
330                                 </form>
331                                 <form action="shelves.pl" method="get">
332                                         <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
333                                         <input type="hidden" name="op" value="modif" />
334                                         <input type="submit" class="editshelf" value="Edit" />
335                                 </form>
336                                 <form action="shelves.pl" method="post">
337                                         <input type="hidden" name="shelves" value="1" />
338                     <input type="hidden" name="display" value="privateshelves" />
339                                         <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" value="1" />
340                                         <!-- TMPL_IF NAME="confirm" -->
341                                         <input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" />
342                                         <input type="submit" class="approve" value="Confirm" />
343                                         <!-- TMPL_ELSE -->
344                                         <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
345                                         <!-- /TMPL_IF -->
346                                 </form>
347                         <!-- TMPL_ELSE -->
348                                 None
349                         <!-- /TMPL_IF -->
350                 </td>
351                 </tr>
352                 <!-- /TMPL_LOOP -->
353             <!-- TMPL_ELSE -->
354             <tr><td colspan="4">No Private Lists.</td></tr>
355             <!-- /TMPL_IF --><!-- /shelveslooppriv -->
356         </table>
357                 </div><!-- /privateshelves -->
358
359         <!-- TMPL_IF NAME="showpublicshelves" -->
360                 <div id="publicshelves" class="ui-tabs-panel" style="display:block;">
361                 <!-- TMPL_ELSE -->
362                 <div id="publicshelves" class="ui-tabs-panel" style="display:none;">
363                 <!-- /TMPL_IF -->
364         <!-- TMPL_IF NAME="shelvesloop" -->
365                 <!-- TMPL_VAR name='pagination_bar'-->
366         <table>
367         <tr><th>List Name</th><th>Contents</th><th>Sort By</th><th>Type</th><th>Options</th></tr>
368             <!-- TMPL_LOOP NAME="shelvesloop" -->
369                 <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF -->
370                 <td><a href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->"><!-- TMPL_VAR NAME="shelfname" ESCAPE="html"  --></a></td>
371                 <td><!-- TMPL_VAR NAME="count" --> item(s)</td>
372         <td><!-- TMPL_VAR NAME="sortfield" --></td>
373         <td><!-- TMPL_IF NAME="viewcategory1" -->Private<!-- /TMPL_IF -->
374                         <!-- TMPL_IF NAME="viewcategory2" -->Public<!-- /TMPL_IF -->
375                         <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
376                 </td>
377         <td>
378             <!-- TMPL_IF NAME="manageshelf" -->
379                                 <form action="shelves.pl" method="get">
380                                         <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
381                                         <input type="hidden" name="op" value="modif" />
382                                         <input type="submit" class="editshelf" value="Edit" />
383                                 </form>
384                                 <form action="shelves.pl" method="post">
385                                         <input type="hidden" name="shelves" value="1" />
386                                         <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" value="1" />
387                                         <!-- TMPL_IF NAME="confirm" -->
388                                         <input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" />
389                                         <input type="submit" class="confirm" value="Confirm" />
390                                         <!-- TMPL_ELSE -->
391                                         <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
392                                         <!-- /TMPL_IF -->
393                                 </form>
394                         <!-- TMPL_ELSE -->
395                                 None
396                         <!-- /TMPL_IF -->
397                 </td>
398                 </tr>
399             <!-- /TMPL_LOOP -->
400         </table>
401         <!-- TMPL_ELSE -->
402                 <!-- TMPL_IF NAME="showpublicshelves" -->No Public Lists.<!-- /TMPL_IF -->
403         <!-- /TMPL_IF --><!-- /shelvesloop -->
404         </div><!-- /publicshelves -->
405                 </div>
406 <!-- /TMPL_UNLESS -->
407
408 <form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl"/>
409     <!-- Value will be set here by placeHold() -->
410     <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
411     <input type="hidden" name="multi_hold" value="1"/>
412 </form>
413
414 </div>
415 </div>
416 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->