Koha/koha-tmpl/opac-tmpl/npl/en/opac-shelves.tmpl

165 lines
5.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- <!-- TMPL_IF Name="viewshelf" -->Contents of <!-- TMPL_VAR Name="shelfname" --><!-- TMPL_ELSE -->List of Virtual Shelves<!-- /TMPL_IF --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!--TMPL_INCLUDE NAME="masthead.inc" -->
<!--TMPL_INCLUDE NAME="navigation.inc" -->
<div id="main">
<!-- TMPL_IF Name="viewshelf" -->
<form>
<table>
<tr>
<th colspan="4">
Contents of <!-- TMPL_VAR Name="shelfname" -->
</th>
</tr>
<!-- TMPL_LOOP Name="itemsloop" -->
<tr>
<!-- TMPL_IF name="color" -->
<td class="hilighted"><input type="checkbox" name="REM-<!-- TMPL_VAR Name="itemnumber" -->"></td>
<td class="hilighted"><a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a></td>
<td class="hilighted"><!-- TMPL_VAR Name="title" --></td>
<td class="hilighted"><!-- TMPL_VAR Name="author" --></td>
<!-- TMPL_ELSE -->
<td><input type="checkbox" name="REM-<!-- TMPL_VAR Name="itemnumber" -->"></td>
<td class="hilighted"><a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a></td>
<td><!-- TMPL_VAR Name="title" --></td>
<td><!-- TMPL_VAR Name="author" --></td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<br>
<a href="opac-shelves.pl" class="submit">Shelf list</a>
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->">
<input type="hidden" name="modifyshelfcontents" value="1">
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->">
<!-- TMPL_IF name="manageshelf" -->
<input type="submit" value="Remove Selected Items" class="submit">
<!-- /TMPL_IF -->
</form>
<!-- TMPL_IF name="manageshelf" -->
<form>
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->">
<input type="hidden" name="modifyshelfcontents" value="1">
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->">
<table>
<tr>
<td>
Add a book by barcode in <!-- TMPL_VAR name="shelfname" -->:
</td>
<td>
<input name="addbarcode">
<input type="hidden" name="modifyshelfcontents" value="1">
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->">
<input type="submit" value="Save" class="submit">
</td>
</tr>
</table>
</form>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<!-- TMPL_IF Name="shelves" -->
<!-- TMPL_IF Name="status1" -->
<font color="red"><!-- TMPL_VAR Name="string1" --></font><p>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP Name="paramsloop" -->
<!-- TMPL_IF Name="status" -->
<font color="red"><!-- TMPL_VAR Name="string" --></font><p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<h1>Bookshelves</h1>
<table border="0" cellpadding="7">
<tr>
<td align="center" valign="bottom">
<form>
<p>
<a href="opac-shelves.pl" class="submit">Shelf list</a>
</p>
</form>
</td>
<td align="center" valign="bottom">
<form method="post">
<input type="hidden" name="shelves" value=1>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<th>Select Shelves to Delete
</th>
</tr>
<!-- TMPL_LOOP Name="shelvesloop" -->
<!-- TMPL_IF name="canmanage" -->
<tr>
<td bgcolor="<!-- TMPL_VAR Name="color" -->">
<input type="checkbox" name="DEL-<!-- TMPL_VAR Name="shelf" -->">
<!-- TMPL_VAR Name="shelfname" --> (<!-- TMPL_VAR Name="shelfbookcount" --> books)
</td>
</tr>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</table>
<p>
<input type="submit" value="Delete Shelves" class="submit"></form>
</p>
</td>
<td align="center" valign="bottom">
<form method="post">
<input type="hidden" name="shelves" value="1">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<th>
<font color="white">Add Shelf</font>
</th>
</tr>
<tr>
<td>
<p>Name : <input type="text" name="addshelf" size="25"></p>
<p>Owner : <input type="hidden" name="owner" value="<!-- TMPL_VAR name="loggedinuser" -->"><!-- TMPL_VAR name="loggedinusername" --></p>
<p>Category : <select name="category">
<option value="1">Private</option>
<option value="2">Public</option>
<option value="3">Free</option>
</select>
</p>
<p> <li>a private bookshelf is managed by you &amp; can be seen only by you.</li>
<li> A public can be seen by everybody, but managed only by you.</li>
<li> A free can be managed by any user.</li>
</p>
</td>
</tr>
</table>
<p><input type="submit" value="Add New Shelf" class="submit"></p>
</form>
</td>
</tr>
</table>
<!-- TMPL_ELSE -->
<table>
<tr>
<th>
Shelf List
</th>
</tr>
<!-- TMPL_LOOP Name="shelvesloop" -->
<tr>
<!-- TMPL_IF name="color" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->">
<!-- TMPL_VAR Name="shelfname" -->(<!-- TMPL_VAR Name="shelfbookcount" --> books)
</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<P>
<a href="opac-shelves.pl?shelves=1" class="submit">Add or Remove Book Shelves</a>
</p>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</div>
</body>
</html>