bug 2772: bad image location
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-shelves.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;   <!-- 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.pack.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">
5 //<![CDATA[
6 $.tablesorter.addParser({
7     id: 'articles', 
8     is: function(s) {return false;  }, 
9     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
10     type: 'text' 
11 });
12
13        $(function() {
14             $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">Clear All</a>");
15             $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">Select All</a>");
16             $("#listcontents").tablesorter({
17                 widgets : ['zebra'],
18                 <!-- TMPL_IF NAME="manageshelf" -->
19                 sortList: [[1,0]],
20                 headers: { 0: { sorter: false },1:{sorter: 'articles'}
21                 <!-- TMPL_ELSE -->
22                 sortList: [[0,0]],
23                 headers: { 0:{sorter:'articles'}
24                 <!-- /TMPL_IF -->
25                 }
26             }); 
27             $("#CheckAll").click(function(){
28                 $(".checkboxed").checkCheckboxes();
29                 return false;
30             });
31             $("#CheckNone").click(function(){
32                 $(".checkboxed").unCheckCheckboxes();
33                 return false;
34             });
35        });
36 //]]>
37 </script>
38 </head>
39 <!-- TMPL_IF NAME="loggedinusername" --><body id="opac-userlists"><!-- TMPL_ELSE --><body id="opac-lists"><!-- /TMPL_IF -->
40     <!-- TMPL_IF EXPR="OpacNav||loggedinusername" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
41  <div id="bd">
42 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
43
44   <div id="yui-main">
45    <div class="yui-b">
46 <div class="container">
47 <!-- TMPL_IF NAME="paramsloop" -->
48 <!-- TMPL_LOOP NAME="paramsloop" -->
49 <div class="yui-ge">
50     <div class="yui-u first">
51         <!-- TMPL_IF NAME="already" --><div class="dialog alert">A List named <b><!-- TMPL_VAR NAME="already" --></b> already exists!</div><!-- /TMPL_IF -->
52         <!-- TMPL_IF NAME="status" --><div class="dialog alert"><!-- TMPL_VAR NAME="string" --></div><!-- /TMPL_IF -->
53         <!-- TMPL_IF NAME="nobarcode" --><div class="dialog alert">ERROR: No barcode given.</div><!-- /TMPL_IF -->
54         <!-- TMPL_IF NAME="noshelfnumber" --><div class="dialog alert">ERROR: No shelfnumber given.</div><!-- /TMPL_IF -->
55         <!-- TMPL_IF NAME="need_confirm" -->
56         <div class="dialog alert">The list <i><!-- TMPL_VAR NAME="need_confirm" --></i> is not empty.
57             <br />It has <b><!-- TMPL_VAR NAME="count" --></b> entries.
58             <br />Use the "Confirm" button below to confirm deletion.
59         </div>
60         <!-- /TMPL_IF -->
61         <!-- TMPL_IF NAME="nopermission" -->
62         <div class="dialog alert">ERROR: You do not have adequate permission for that action on list <!-- TMPL_VAR NAME="nopermission" -->.</div>
63         <!-- /TMPL_IF -->
64         <!-- TMPL_IF NAME="failgetitem" -->
65         <div class="dialog alert">ERROR: No item found with barcode <!-- TMPL_VAR NAME="failgetitem" -->.</div>
66         <!-- /TMPL_IF -->
67         <!-- TMPL_IF NAME="duplicatebiblio" -->
68         <div class="dialog alert">A record matching barcode <b><!-- TMPL_VAR NAME="duplicatebiblio" --></b> has already been added.</div>
69         <!-- /TMPL_IF -->
70         <!-- TMPL_IF NAME="delete_ok" -->
71             <div class="dialog message">List <!-- TMPL_VAR NAME="delete_ok" --> Deleted.</div>
72         <!-- /TMPL_IF -->
73         <!-- TMPL_IF NAME="delete_fail" -->
74             <div class="dialog message">ERROR: Database error. Delete (list number <!-- TMPL_VAR NAME="delete_fail" -->) failed.</div>
75         <!-- /TMPL_IF -->
76         <!-- TMPL_IF NAME="unrecognized" -->
77             <div class="dialog message">ERROR: List number <!-- TMPL_VAR NAME="unrecognized" --> unrecognized.</div>
78         <!-- /TMPL_IF -->
79     </div>
80 </div>
81 <!-- /TMPL_LOOP -->
82 <!-- /TMPL_IF --> 
83
84     <div id="toolbar" class="yui-g">
85     
86     
87     <!-- TMPL_IF NAME="viewshelf" -->
88     <!--  Viewing a particular shelf -->
89     <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="&gt;" border="0" /> <em><!-- TMPL_VAR NAME="shelfname" ESCAPE="html" --></em></h3>
90         <!-- TMPL_IF NAME="itemsloop" -->
91         <!-- TMPL_IF NAME="manageshelf" --><div><span class="checkall"></span>
92         <span class="clearall"></span> | <a class="editshelf" href="/cgi-bin/koha/opac-shelves.pl?shelfnumber=<!-- TMPL_VAR NAME="shelfnumber" -->&amp;op=modif">Edit List</a> <form method="post" action="opac-shelves.pl">
93 <input type="hidden" value="1" name="shelves"/>
94 <!-- TMPL_IF NAME="showprivateshelves" -->
95 <input type="hidden" name="display" value="privateshelves" />
96 <!-- /TMPL_IF -->
97 <input type="hidden" value="1" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->"/>
98 <input type="submit" class="deleteshelf" value="Delete List" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));"/></form>
99 <a href="#" class="send" 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')">Send List</a>
100 </div><!-- /TMPL_IF -->
101     <!-- TMPL_IF NAME="manageshelf" --><form action="/cgi-bin/koha/opac-shelves.pl" method="post" name="myform" class="checkboxed">
102         <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
103         <input type="hidden" name="modifyshelfcontents" value="1" /><!-- /TMPL_IF -->
104         <!-- TMPL_VAR name='pagination_bar'-->
105 <table id="listcontents">
106         <thead><tr>
107             <!-- TMPL_IF NAME="manageshelf" --><th>&nbsp;</th><!-- /TMPL_IF -->
108             <!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th><!-- /TMPL_UNLESS -->
109             <th>Title</th>
110             <th>Author</th>
111             <th>Copyright</th>
112         </tr></thead>
113             <tbody><!-- TMPL_LOOP NAME="itemsloop" -->
114                 <!-- TMPL_IF NAME="toggle" -->
115         <tr class="highlight">
116                 <!-- TMPL_ELSE -->
117         <tr>
118                 <!-- /TMPL_IF -->
119                 <!-- TMPL_IF NAME="manageshelf" -->
120             <td>
121                 <input type="checkbox" name="REM-<!-- TMPL_VAR NAME="biblionumber" -->" />
122             </td>
123                 <!-- /TMPL_IF -->
124             <!-- TMPL_UNLESS NAME="item-level_itypes" --><td>
125                 <!-- TMPL_IF NAME="imageurl" -->
126                     <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" />
127                 </TMPL_IF>
128                 <!-- TMPL_VAR NAME="description" -->
129             </td> <!-- /TMPL_UNLESS -->
130
131             <td><!-- TMPL_IF NAME="BiblioDefaultViewmarc" --><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>
132               <!-- TMPL_ELSE -->
133               <!-- TMPL_IF NAME="BiblioDefaultViewisbd" --><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>
134               <!-- TMPL_ELSE --><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>
135               <!-- /TMPL_IF --><!-- /TMPL_IF -->
136               <!-- COinS / OpenURL --><span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=<!-- TMPL_VAR NAME="author" -->&amp;rft.btitle=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->&amp;rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&amp;rft.tpages=<!-- TMPL_VAR NAME="size" -->&amp;rft.isbn=<!-- TMPL_VAR NAME="isbn"  ESCAPE="url" -->&amp;rft.aucorp=&amp;rft.place=<!-- TMPL_VAR NAME="place" -->&amp;rft.pub=<!-- TMPL_VAR NAME="publisher" ESCAPE="url" -->&amp;rft.edition=<!-- TMPL_VAR NAME="edition" -->&amp;rft.series=<!-- TMPL_VAR NAME="series" -->&amp;rft.genre="></span>
137             </td>
138             <td><!-- TMPL_VAR NAME="author" --></td>
139             <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
140         </tr>
141                 <!-- /TMPL_LOOP --></tbody><!-- /itemsloop -->
142     </table>
143             <!-- TMPL_ELSE -->
144         <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>
145             <!-- /TMPL_IF --><!-- /itemsloop -->
146     <!-- /TMPL_IF -->
147     <!-- /viewshelf -->
148
149     <!-- TMPL_IF NAME="manageshelf" -->
150     <!-- Editing shelf -->
151         <!-- TMPL_IF NAME="itemsloop" -->
152             <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
153             <input type="hidden" name="modifyshelfcontents" value="1" />
154             <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?'))" />
155         <!-- TMPL_ELSE -->
156 <form method="post" action="opac-shelves.pl">
157             <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" value="1" />
158             <input type="hidden" name="shelves" value="1" />
159             <input type="submit" class="icon delete" value="Delete this List" onclick="return confirmDelete(_('Are you sure you want to delete this List?'))" />
160         <!-- /TMPL_IF -->
161         </form>
162     <!-- /TMPL_IF -->
163
164     <!-- TMPL_IF NAME="edit" -->
165     <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="&gt;" 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="&gt;" border="0" /> Editing</h3>
166         <form method="post" action="/cgi-bin/koha/opac-shelves.pl">
167             <input type="hidden" name="op" value="modifsave" />
168             <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
169             <fieldset class="rows">
170             <ol>
171             <li><label for="shelfname">List Name: </label><input type="text" id="shelfname" name="shelfname" size="60" value="<!-- TMPL_VAR NAME="shelfname" ESCAPE="html" -->" /></li>
172             <li><label for="sortfield" >Sort this list by: </label>
173             <select name="sortfield">
174             <!-- TMPL_IF NAME="sort_title" --><option value="title" selected="selected">Title</option><!-- TMPL_ELSE --><option value="title">Title</option><!-- /TMPL_IF -->
175             <!-- TMPL_IF NAME="sort_author" --><option value="author" selected="selected">Author</option><!-- TMPL_ELSE --><option value="author">Author</option><!-- /TMPL_IF -->
176             <!-- TMPL_IF NAME="sort_copyrightdate" --><option value="copyrightdate" selected="selected">Copyrightdate</option><!-- TMPL_ELSE --><option value="copyrightdate">Copyrightdate</option><!-- /TMPL_IF -->
177             </select></li>
178             <li><label for="category">Category: </label>
179                 <select name="category" id="category">
180                       <option value="1">Private</option>
181                       <option value="2">Public</option>
182                 </select>
183             </li>
184             </ol>
185             </fieldset>
186             <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>
187         </form>
188     <!-- /TMPL_IF -->
189
190    <!-- TMPL_UNLESS NAME="edit" --> <!-- TMPL_UNLESS NAME="viewshelf" --> <!-- TMPL_UNLESS NAME="shelves" -->
191         <h2>Lists</h2>
192         <ul class="link-tabs">
193         <!-- TMPL_IF NAME="showprivateshelves" -->
194             <li id="privateshelves_tab" class="on"><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Your Lists</a></li>
195         <!-- TMPL_ELSE -->
196             <li id="privateshelves_tab" class="off"><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Your Lists</a></li>
197         <!-- /TMPL_IF -->
198         <!-- TMPL_IF NAME="showpublicshelves" -->
199             <li id="publicshelves_tab" class="on"><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public Lists</a></li>
200         <!-- TMPL_ELSE -->
201             <li id="publicshelves_tab" class="off"><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public Lists</a></li>
202         <!-- /TMPL_IF -->
203         </ul>
204         <!-- TMPL_IF NAME="showprivateshelves" -->
205         <div id="privateshelves" class="tab-container" style="display:block;">
206         <!-- TMPL_ELSE -->
207         <div id="privateshelves" class="tab-container" style="display:none;">
208         <!-- /TMPL_IF -->
209         
210                 <!-- TMPL_IF NAME="loggedinusername" -->
211     <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New List</a>
212             <!-- TMPL_IF NAME="shelveslooppriv" -->
213             <!-- TMPL_VAR name='pagination_bar'-->
214                 <table>
215                 <tr><th>List Name</th><th>Contents</th><th>Sort by</th><th>Type</th><th>&nbsp;</th></tr>
216                 <!-- TMPL_LOOP NAME="shelveslooppriv" -->
217                     <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF -->
218         <td><a href="opac-shelves.pl?display=privateshelves&viewshelf=<!-- TMPL_VAR NAME="shelf" -->"><!-- TMPL_VAR NAME="shelfname" ESCAPE="html"  --></a></td>
219         <td><!-- TMPL_VAR NAME="count" --> item(s)</td>
220         <td><!-- TMPL_VAR NAME="sortfield" --></td>
221         <td><!-- TMPL_IF NAME="viewcategory1" -->Private<!-- /TMPL_IF -->
222             <!-- TMPL_IF NAME="viewcategory2" -->Public<!-- /TMPL_IF -->
223             <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
224         </td>
225         <td id="toolbar">
226             <!-- TMPL_IF NAME="mine" -->
227                 <form action="opac-shelves.pl" method="get">
228                     <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
229                     <input type="hidden" name="display" value="privateshelves" />
230                     <input type="hidden" name="op" value="modif" />
231                     <input type="submit" class="editshelf" value="Edit" />
232                 </form>
233                 <form action="opac-shelves.pl" method="post">
234                     <input type="hidden" name="shelves" value="1" />
235                     <input type="hidden" name="display" value="privateshelves" />
236                     <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" value="1" />
237                     <!-- TMPL_IF NAME="confirm" -->
238                     <input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" />
239                     <input type="submit" class="confirm" value="Confirm" />
240                     <!-- TMPL_ELSE -->
241                     <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
242                     <!-- /TMPL_IF -->
243                 </form>
244             <!-- /TMPL_IF -->&nbsp;
245             <a href="#" class="send" 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')">Send List</a>
246         </td>
247         </tr>
248                 <!-- /TMPL_LOOP -->
249             <!-- TMPL_ELSE -->
250             <tr><td colspan="4">No Private Lists.</td></tr>
251             <!-- /TMPL_IF --><!-- /shelveslooppriv -->
252         </table>
253         <!-- TMPL_ELSE --><!-- /loggedinusername -->
254           <div><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create new Lists.</div>
255         <!-- /TMPL_IF --><!-- /loggedinusername -->
256                 </div><!-- /privateshelves -->
257
258         <!-- TMPL_IF NAME="showpublicshelves" -->
259         <div id="publicshelves" class="tab-container" style="display:block;">
260         <!-- TMPL_ELSE -->
261         <div id="publicshelves" class="tab-container" style="display:none;">
262         <!-- /TMPL_IF -->
263         <!-- TMPL_IF NAME="shelvesloop" -->
264         <!-- TMPL_VAR name='pagination_bar'-->
265         <table>
266         <tr><th>List Name</th><th>Contents</th><th>Type</th><th>&nbsp;</th></tr>
267             <!-- TMPL_LOOP NAME="shelvesloop" -->
268                 <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF -->
269         <td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->"><!-- TMPL_VAR NAME="shelfname" ESCAPE="html"  --></a></td>
270         <td><!-- TMPL_VAR NAME="count" --> item(s)</td>
271         <td><!-- TMPL_IF NAME="viewcategory1" -->Private<!-- /TMPL_IF -->
272             <!-- TMPL_IF NAME="viewcategory2" -->Public<!-- /TMPL_IF -->
273             <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
274         </td>
275     <td id="toolbar">
276             <!-- TMPL_IF NAME="mine" -->
277         <form action="opac-shelves.pl" method="get">
278           <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
279           <input type="hidden" name="op" value="modif" />
280           <input type="submit" class="editshelf" value="Edit" />
281         </form>
282         <form action="opac-shelves.pl" method="post">
283           <input type="hidden" name="shelves" value="1" />
284           <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" value="1" />
285           <!-- TMPL_IF NAME="confirm" -->
286           <input type="hidden" name="CONFIRM-<!-- TMPL_VAR NAME="confirm" -->" value="1" />
287           <input type="submit" class="confirm" value="Confirm" />
288           <!-- TMPL_ELSE -->
289           <input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
290           <!-- /TMPL_IF -->
291         </form>
292       <!-- /TMPL_IF -->&nbsp;
293       <a href="#" class="send" 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')">Send List</a>
294     </td>
295                 </tr>
296             <!-- /TMPL_LOOP -->
297         </table>
298         <!-- TMPL_ELSE -->
299             <!-- TMPL_IF NAME="showpublicshelves" -->No Public Lists.<!-- /TMPL_IF -->
300         <!-- /TMPL_IF --><!-- /shelvesloop -->
301         </div><!-- /publicshelves -->
302     <!-- /TMPL_UNLESS --><!-- /viewshelf --><!-- /TMPL_UNLESS --><!-- /edit --><!-- /TMPL_UNLESS --><!-- /shelves -->
303
304         <!-- TMPL_IF NAME="shelves" -->
305         <div id="addshelf"><form method="post" action="/cgi-bin/koha/opac-shelves.pl">
306         <fieldset class="rows">
307         <legend>Create a New List</legend>
308             <input type="hidden" name="shelves" value="1" />
309             <ol><li><label for="addshelf">List Name:</label>
310                 <!-- TMPL_IF NAME="already" -->
311                 <input id="addshelf" type="text" name="addshelf" value="<!-- TMPL_VAR NAME="already" -->" size="60" />
312                 <!-- TMPL_ELSE -->
313                 <input id="addshelf" type="text" name="addshelf" size="60" />
314                 <!-- /TMPL_IF -->
315                 <input type="hidden" name="owner" id="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->" /></li>
316                 <li><label for="sortfield" >Sort this list by: </label>
317                 <select name="sortfield">
318                 <!-- TMPL_IF NAME="sort_title" --><option value="title" selected="selected">Title</option><!-- TMPL_ELSE --><option value="title">Title</option><!-- /TMPL_IF -->
319                 <!-- TMPL_IF NAME="sort_author" --><option value="author" selected="selected">Author</option><!-- TMPL_ELSE --><option value="author">Author</option><!-- /TMPL_IF -->
320                 <!-- TMPL_IF NAME="sort_copyrightdate" --><option value="copyrightdate" selected="selected">Copyrightdate</option><!-- TMPL_ELSE --><option value="copyrightdate">Copyrightdate</option><!-- /TMPL_IF -->
321                 </select></li>
322                 <li><label for="category">Category:</label>
323                 <select name="category" id="category">
324                     <option value="1">Private</option>
325                     <option value="2">Public</option>
326                 </select></li>
327 </ol>
328         </fieldset>
329             <fieldset class="action"><input type="submit" value="Save" class="submit" /> <a class="cancel" href="/cgi-bin/koha/opac-shelves.pl">Cancel</a></fieldset>
330         </form>    </div>
331     <!-- /TMPL_IF --><!-- /showadd -->
332     </div></div>
333    </div>
334   </div>
335 <!-- TMPL_IF EXPR="OpacNav||loggedinusername" -->
336   <div class="yui-b">
337   <div class="container">
338     <!-- TMPL_INCLUDE NAME="navigation.inc" -->
339     <!-- TMPL_INCLUDE NAME="usermenu.inc" -->
340   </div>
341   </div><!-- /TMPL_IF -->
342  </div>
343 <!-- </div> -->
344 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->