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