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" -->
3 <!-- TMPL_IF NAME="OpacNav" --> <body id="withnav">
7 <!-- TMPL_INCLUDE name="masthead.inc" -->
8 <!-- TMPL_INCLUDE name="usermenu.inc" -->
9 <!-- TMPL_INCLUDE name="navigation.inc" -->
10 <div id="main_wrapper">
11 <div id="main" class="searchresults">
12 <div class="content-block">
13 <!-- TMPL_IF Name="viewshelf" -->
14 <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" /> <!-- TMPL_IF NAME="itemsloop" --><em><!-- TMPL_VAR Name="shelfname" --></em><!-- TMPL_ELSE -->The Virtual Shelf <em><!-- TMPL_VAR Name="shelfname" --></em> is empty<!-- /TMPL_IF --></h3>
15 <form class="inline" action="/cgi-bin/koha/opac-shelves.pl" method="post" name="myform">
17 <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->" />
18 <input type="hidden" name="modifyshelfcontents" value="1" />
21 <a style="color:white;" href="/cgi-bin/koha/opac-shelves.pl" onclick="CheckAll(); return false;">Check All</a>
28 <!-- TMPL_LOOP Name="itemsloop" -->
29 <tr<!-- TMPL_IF name="color" --> class="highlight"<!-- /TMPL_IF -->>
31 <input type="checkbox" name="MOD-<!-- TMPL_VAR Name="biblionumber" -->" />
32 <input type="hidden" name="ModBiblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
35 <img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" />
38 <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
39 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
40 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
43 <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
44 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
45 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
48 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
49 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
55 <td><!-- TMPL_VAR Name="author" --></td>
56 <td><!-- TMPL_VAR NAME="classification" --></td>
61 <tr><td colspan="5">This Virtual Shelf is empty.</td></tr>
64 <!-- TMPL_IF name="manageshelf" --><!-- TMPL_IF NAME="itemsloop" --><a href="/cgi-bin/koha/opac-shelves.pl" onclick="CheckAll(); return false;"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/checkall.gif" height="18" width="18" alt="Check All" title="Check All" border="0" /></a><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->" />
65 <input type="hidden" name="modifyshelfcontents" value="1" />
66 <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" --> <form class="inline" method="get" action="/cgi-bin/koha/opac-shelves.pl"><input type="hidden" name="op" value="modif" /><input type="hidden" value="<!-- TMPL_VAR NAME="shelfnumber" -->" name="shelf" /><input type="submit" value="Rename this Shelf" class="icon edit" /></form> <!-- TMPL_UNLESS NAME="itemsloop" --><form class="inline" 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 -->
67 <br /><br /><!-- TMPL_IF name="manageshelf" -->
68 <form action="/cgi-bin/koha/opac-shelves.pl" method="post">
70 <tr><th colspan="2">Add an Item to this Virtual Shelf by Barcode</th></tr>
72 <td><label for="addbarcode">Barcode:</label></td>
73 <td><input name="addbarcode" type="text" id="addbarcode" size="14" maxlength="14" /><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="hidden" name="modifyshelfcontents" value="1" /><input type="submit" value="Save" class="submit" /></td>
76 </form><!-- /TMPL_IF -->
78 <form class="inline" method="get" action="opac-shelves.pl"><input type="submit" class="icon back" value="Back to Virtual Shelves" /></form> <form class="inline" action="opac-shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" value="Add or Remove Virtual Shelves" class="icon add" /></form>
80 <!-- TMPL_IF Name="shelves" -->
81 <!-- TMPL_IF Name="status1" -->
82 <p class="error"><!-- TMPL_VAR Name="string1" --></p>
84 <!-- TMPL_LOOP Name="paramsloop" -->
85 <!-- TMPL_IF Name="status" -->
86 <p class="error"><!-- TMPL_VAR Name="string" --></p>
90 <form method="post" action="/cgi-bin/koha/opac-shelves.pl">
91 <input type="hidden" name="shelves" value="1">
92 <div class="form"><table>
93 <caption>Create a New a Virtual Shelf</caption>
94 <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>
97 <p><input type="hidden" name="category" value="1" /><input type="submit" value="Add New Shelf" class="icon add"></p>
101 <div id="right"><!-- TMPL_IF NAME="shelveslooppriv" -->
102 <form method="post" action="/cgi-bin/koha/opac-shelves.pl" name="mainform">
103 <input type="hidden" name="shelves" value="1" />
105 <caption>Delete Virtual Shelves</caption>
106 <tr><th> </th><th>Virtual Shelf Name</th><th>Contents</th></tr>
107 <!-- TMPL_LOOP Name="shelveslooppriv" -->
111 <!-- 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>
114 </table><p><sup>*</sup>All items must be removed from Virtual Shelves prior to deletion.</p>
115 <input type="submit" value="Delete Selected Lists" onclick="return confirmDelete('Are you sure you want to delete this list?')" class="icon delete" /> </form>
117 <p><form class="inline" action="opac-shelves.pl" method="get"><input type="submit" class="icon back" value="Back to Virtual Shelves" /></form></p>
120 <!-- TMPL_IF name="edit" -->
122 <input type="hidden" name="op" value="modifsave">
123 <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
124 <div class="form"><table>
125 <caption>Rename Virtual Shelf <em><!-- TMPL_VAR name="shelfname"--></em></caption>
126 <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>
128 <p><input type="hidden" name="category" value="1" /><input type="submit" value="Save Changes" class="submit"></p></div>
133 <h2>Virtual Shelves</h2>
135 <ul class="link-tabs">
136 <!-- TMPL_IF name="showprivateshelves" -->
137 <li id="privateshelves_tab" class="on">
139 <li id="privateshelves_tab" class="off">
140 <!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves" onclick="changeView('privateshelves'); return false;">Your Virtual Shelves</a> </li>
141 <!-- TMPL_IF name="showpublicshelves" -->
142 <li id="publicshelves_tab" class="on">
144 <li id="publicshelves_tab" class="off">
146 <a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves" onclick="changeView('publicshelves'); return false;">Public Virtual Shelves</a></li>
149 <!-- TMPL_IF name="showprivateshelves" -->
150 <div id="privateshelves" style="display:block;">
152 <div id="privateshelves" style="display:none;">
154 <!-- TMPL_IF NAME="loggedinusername" -->
156 <tr><th>List Name</th><th>Contents</th><th> </th></tr>
157 <!-- TMPL_IF NAME="shelveslooppriv" --><!-- TMPL_LOOP Name="shelveslooppriv" -->
158 <!-- 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><!-- 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>
159 <p><form action="opac-shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" value="Add or Remove Virtual Shelves" class="icon add" /></form></p>
161 <p><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create your own private Virtual Shelf</p>
166 <!-- TMPL_IF name="showpublicshelves" --><div id="publicshelves" style="display:block;">
168 <div id="publicshelves" style="display:none;">
169 <!-- /TMPL_IF --><table>
170 <tr><th>List Name</th><th>Contents</th></tr>
171 <!-- TMPL_LOOP Name="shelvesloop" -->
172 <!-- 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>
183 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->