1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- <!-- TMPL_IF Name="viewshelf" -->Contents of <!-- TMPL_VAR Name="shelfname" --><!-- TMPL_ELSE -->My Virtual Shelves<!-- /TMPL_IF --><!-- TMPL_INCLUDE name="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE name="masthead.inc" -->
6 <div id="doc3" class="yui-t1">
9 <div class="yui-b"><div class="yui-g">
10 <!-- TMPL_IF Name="viewshelf" -->
11 <h3><a href="/cgi-bin/koha/opac-shelves.pl">Virtual Shelves</a> <img src="<!-- TMPL_VAR NAME="themelang" -->/../images/caret.gif" width="16" height="16" alt=">" border="0" /> <em><!-- TMPL_VAR Name="shelfname" --></em></h3>
12 <!-- TMPL_IF NAME="itemsloop" -->
13 <form action="/cgi-bin/koha/opac-shelves.pl" method="post" name="myform">
15 <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->" />
16 <input type="hidden" name="modifyshelfcontents" value="1" />
18 <!-- TMPL_IF name="manageshelf" --><th>
19 <a href="/cgi-bin/koha/opac-shelves.pl" onclick="CheckAll(); return false;"><img src="<!-- TMPL_VAR NAME="themelang" -->/../images/checkall.gif" alt="Check All" border="0" /></a>
20 </th><!-- /TMPL_IF -->
26 <!-- TMPL_LOOP Name="itemsloop" -->
27 <!-- TMPL_IF name="color" -->
28 <tr class="highlight">
31 <!-- TMPL_IF name="manageshelf" --><td>
32 <input type="checkbox" name="MOD-<!-- TMPL_VAR Name="biblionumber" -->" />
33 <input type="hidden" name="ModBiblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
34 </td><!-- /TMPL_IF -->
36 <img src="<!-- TMPL_VAR NAME="themelang" -->/../itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" />
39 <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
40 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
41 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
44 <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
45 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
46 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
49 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
50 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
56 <td><!-- TMPL_VAR Name="author" --></td>
57 <td><!-- TMPL_VAR NAME="classification" --></td>
62 <div class="message">This Virtual Shelf is empty.</div>
66 <!-- TMPL_IF name="manageshelf" --><!-- TMPL_IF NAME="itemsloop" --><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->" />
67 <input type="hidden" name="modifyshelfcontents" value="1" />
68 <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?')" /><!-- /TMPL_IF --><!-- /TMPL_IF --></form><!-- TMPL_IF name="manageshelf" --><!-- TMPL_UNLESS NAME="itemsloop" --><form method="get" action="/cgi-bin/koha/opac-shelves.pl"><input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="hidden" name="shelves" value="1" /><input type="submit" class="icon delete" value="Delete this Virtual Shelf" onclick="return confirmDelete('Are you sure you want to delete this Virtual Shelf?')" /></form><!-- /TMPL_UNLESS -->
71 <!-- TMPL_IF Name="shelves" -->
72 <!-- TMPL_IF Name="status1" -->
73 <p class="error"><!-- TMPL_VAR Name="string1" --></p>
75 <!-- TMPL_LOOP Name="paramsloop" -->
76 <!-- TMPL_IF Name="status" -->
77 <p class="error"><!-- TMPL_VAR Name="string" --></p>
80 <form method="post" action="/cgi-bin/koha/opac-shelves.pl">
81 <input type="hidden" name="shelves" value="1">
82 <div class="form"><table>
83 <caption>Create a New a Virtual Shelf</caption>
84 <tr><th><label for="addshelf">List Name:</label> </th><td> <input id="addshelf" type="text" name="addshelf" size="60"><input type="hidden" name="owner" id="owner" value="<!-- TMPL_VAR name="loggedinuser" -->"></td></tr>
87 <p><input type="hidden" name="category" value="1" /><input type="submit" value="Add New Shelf" class="icon add"></p>
90 <div id="right"><!-- TMPL_IF NAME="shelveslooppriv" -->
91 <form method="post" action="/cgi-bin/koha/opac-shelves.pl" name="mainform">
92 <input type="hidden" name="shelves" value="1" />
94 <caption>Delete Virtual Shelves</caption>
95 <tr><th> </th><th>Virtual Shelf Name</th><th>Contents</th></tr>
96 <!-- TMPL_LOOP Name="shelveslooppriv" -->
100 <!-- TMPL_IF NAME="shelfbookcount" --> <input type="checkbox" name="DEL-<!-- TMPL_VAR Name="shelf" -->" disabled="disabled" readonly="readonly" /><!--TMPL_ELSE--><input type="checkbox" name="DEL-<!-- TMPL_VAR Name="shelf" -->" /><!-- /TMPL_IF --> </td><td><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> item(s)<!-- TMPL_IF NAME="shelfbookcount" --><sup>*</sup><!-- /TMPL_IF --></td></tr>
103 </table><p><sup>*</sup>All items must be removed from Virtual Shelves prior to deletion.</p>
104 <input type="submit" value="Delete Selected Lists" onclick="return confirmDelete('Are you sure you want to delete this list?')" class="icon delete" /> </form>
106 <p><form action="opac-shelves.pl" method="get"><input type="submit" class="icon back" value="Back to Virtual Shelves" /></form></p>
109 <!-- TMPL_IF name="edit" -->
111 <input type="hidden" name="op" value="modifsave">
112 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
113 <div class="form"><table>
114 <caption>Rename Virtual Shelf <em><!-- TMPL_VAR name="shelfname"--></em></caption>
115 <tr><th><label for="shelfname">List Name: </label></th><td><input type="text" id="shelfname" name="shelfname" size="60" value="<!-- TMPL_VAR name="shelfname"-->" /></td></tr>
117 <p><input type="hidden" name="category" value="1" /><input type="submit" value="Save Changes" class="submit"></p></div>
122 <!-- TMPL_UNLESS NAME="viewshelf" -->
123 <h2>Virtual Shelves</h2>
125 <ul class="link-tabs">
126 <!-- TMPL_IF name="showprivateshelves" -->
127 <li id="privateshelves_tab" class="on"><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Your Virtual Shelves</a> </li>
129 <li id="privateshelves_tab" class="off"><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">Your Virtual Shelves</a> </li>
131 <!-- TMPL_IF name="showpublicshelves" -->
132 <li id="publicshelves_tab" class="on"><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public Virtual Shelves</a></li>
134 <li id="publicshelves_tab" class="off"><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public Virtual Shelves</a></li>
138 <!-- TMPL_IF name="showprivateshelves" -->
139 <div id="privateshelves" class="tab-container" style="display:block;">
141 <div id="privateshelves" class="tab-container" style="display:none;">
144 <!-- TMPL_IF NAME="loggedinusername" -->
145 <!-- TMPL_IF NAME="shelveslooppriv" --><table>
146 <tr><th>List Name</th><th>Contents</th><th> </th></tr>
147 <!-- TMPL_IF NAME="shelveslooppriv" --><!-- TMPL_LOOP Name="shelveslooppriv" -->
148 <!-- TMPL_IF name="color" --> <tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF --><td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> item(s)</td><td><!-- TMPL_IF name="mine" --><a href="opac-shelves.pl?op=modif&shelf=<!-- TMPL_VAR NAME="shelf" -->">Rename</a> <a class="delete" href="opac-shelves.pl?shelves=1&DEL-<!-- TMPL_VAR NAME="shelf" -->=1">Delete</a><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr><!-- /TMPL_LOOP --><!-- TMPL_ELSE --><tr><td colspan="4">Click below to create a new Virtual Shelf!</td></tr><!-- /TMPL_IF --></table>
149 <!-- TMPL_ELSE -->No private shelves.<!-- /TMPL_IF -->
151 <p><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create your own private Virtual Shelf</p>
155 <!-- TMPL_IF name="showpublicshelves" -->
156 <div id="publicshelves" class="tab-container" style="display:block;">
158 <div id="publicshelves" class="tab-container" style="display:none;">
161 <!-- TMPL_IF NAME="shelvesloop" -->
163 <tr><th>List Name</th><th>Contents</th></tr>
164 <!-- TMPL_LOOP Name="shelvesloop" -->
165 <!-- TMPL_IF name="color" --> <tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF --><td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> item(s)</td></tr>
170 <!-- /TMPL_IF --></div>
173 <!-- /TMPL_UNLESS -->
181 <!--TMPL_INCLUDE NAME="navigation.inc" -->
182 <!-- TMPL_INCLUDE name="usermenu.inc" -->
185 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->