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