Adding reserves links, reorganizing layout somewhat

This commit is contained in:
oleonard 2005-04-27 19:35:21 +00:00
parent 8eb0f08ddb
commit d0827e3629
1 changed files with 44 additions and 75 deletions

View File

@ -4,23 +4,56 @@
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
<div id="main">
<!-- TMPL_IF name="edit" -->
<form method="post" action="<!-- TMPL_VAR NAME="script_name" -->">
<input type="hidden" name="op" value="modifsave" />
<table>
<caption>Editing Shelf <em><!-- TMPL_VAR name="shelfname"--></em></caption>
<tr><td><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->" /><label for="shelfname">Name:</label></td><td><input id="shelfname" type="text" name="shelfname" size="25" value="<!-- TMPL_VAR name="shelfname"-->" /></td></tr>
<tr><td><label for="owner">Owner:</label></td><td><input type="hidden" id="owner" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->" /><!-- TMPL_VAR NAME="loggedinusername" --></td></tr>
<tr><td><label for="category">Category:</label></td><td><select id="category" name="category">
<!-- TMPL_IF name="category1" -->
<option value="1" selected>Private</option>
<!-- TMPL_ELSE -->
<option value="1">Private</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="category2" -->
<option value="2" selected>Public</option>
<!-- TMPL_ELSE -->
<option value="2">Public</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="category3" -->
<option value="3" selected>Free</option>
<!-- TMPL_ELSE -->
<option value="3">Free</option>
<!-- /TMPL_IF -->
</select></td></tr>
</table>
<ul><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></ul>
<p><input type="submit" value="Save Changes" class="submit" /></p>
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="viewshelf" -->
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post" name="mainform">
<table>
<caption>Contents of <em><!-- TMPL_VAR NAME="shelfname" --></em></caption>
<tr>
<tr>
<!-- TMPL_IF name="manageshelf" --><th><a href="/cgi-bin/koha/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></th><!-- /TMPL_IF -->
<th>Title</th>
<th>Author</th>
<th>Item Type</th>
<th>&copy;</th>
<th>Barcode</th>
<th>&nbsp;</th>
</tr><!-- TMPL_LOOP Name="itemsloop" --><!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --><!-- TMPL_IF name="manageshelf" --><td><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->" /></td><!-- /TMPL_IF -->
<td><a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td><!-- TMPL_VAR NAME="publicationyear" --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td><a href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">Reserves</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
@ -55,13 +88,13 @@
<p class="problem"><!-- TMPL_VAR NAME="string" --><p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<form method="post" action="<!-- TMPL_VAR NAME="script_name" -->">
<form method="post" action="<!-- TMPL_VAR NAME="script_name" -->">
<input type="hidden" name="shelves" value="1" /><table>
<caption>Bookshelves</caption>
<th>&nbsp;</th><th>Title</th><th>Item Count</th>
<!-- TMPL_LOOP Name="shelvesloop" -->
<!-- TMPL_LOOP Name="shelvesloop" -->
<!-- TMPL_IF name="canmanage" -->
<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF --><td><!-- 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="shelves.pl?viewshelf=<!-- TMPL_VAR name="shelf" -->"><!-- TMPL_VAR NAME="shelfname" --></a></td><td><!-- TMPL_IF NAME="shelfbookcount" --><!-- TMPL_VAR NAME="shelfbookcount" --> item(s)<sup>*</sup><!-- TMPL_ELSE -->Empty<!-- /TMPL_IF --></td></tr>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP --></table>
@ -88,48 +121,13 @@
<form action="shelves.pl" method="get" class="inline"><input type="submit" class="submit" value="Back to Shelf List" /></form>
<!-- TMPL_ELSE -->
<table>
<caption>My Virtual Shelves</caption>
<caption>Virtual Shelves</caption>
<tr>
<th>Shelf Name</th>
<th>Category</th>
<th>Content size</th>
<th>&nbsp;</th>
</tr>
<!-- TMPL_LOOP Name="shelveslooppriv" -->
<!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
<td>
<a href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
<!-- TMPL_VAR NAME="shelfname" -->
</a>
</td>
<td>
<!-- TMPL_IF NAME="category1" -->
Private
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="category2" -->
Public
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="category3" -->
Free
<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_VAR NAME="shelfbookcount" --> item(s)
</td>
<td><!-- TMPL_IF name="mine" --><a href="shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->">Edit</a><!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" --><!-- TMPL_ELSE --><!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<form action="shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" class="submit" value="Add or Remove Book Shelves" />
<table>
<caption>Public Virtual Shelves</caption>
<tr>
<th>Shelf Name</th>
<th>Category</th>
<th>Content size</th>
</tr>
<!-- TMPL_LOOP Name="shelvesloop" -->
<!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
<td>
@ -137,10 +135,10 @@
<!-- TMPL_VAR NAME="shelfname" -->
</a>
</td>
<td>
<td>
<!-- TMPL_IF NAME="category1" -->
Private
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="category2" -->
Public
<!-- /TMPL_IF -->
@ -151,42 +149,13 @@
<td>
<!-- TMPL_VAR NAME="shelfbookcount" --> item(s)
</td>
<td><!-- TMPL_IF name="mine" --><a href="shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->">Edit</a><!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<form action="shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" class="submit" value="Add or Remove Book Shelves" />
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF name="edit" -->
<form method="post" action="<!-- TMPL_VAR NAME="script_name" -->">
<input type="hidden" name="op" value="modifsave" />
<table>
<caption>Editing Shelf <em><!-- TMPL_VAR name="shelfname"--></em></caption>
<tr><td><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->" /><label for="shelfname">Name:</label></td><td><input id="shelfname" type="text" name="shelfname" size="25" value="<!-- TMPL_VAR name="shelfname"-->" /></td></tr>
<tr><td><label for="owner">Owner:</label></td><td><input type="hidden" id="owner" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->" /><!-- TMPL_VAR NAME="loggedinusername" --></td></tr>
<tr><td><label for="category">Category:</label></td><td><select id="category" name="category">
<!-- TMPL_IF name="category1" -->
<option value="1" selected>Private</option>
<!-- TMPL_ELSE -->
<option value="1">Private</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="category2" -->
<option value="2" selected>Public</option>
<!-- TMPL_ELSE -->
<option value="2">Public</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="category3" -->
<option value="3" selected>Free</option>
<!-- TMPL_ELSE -->
<option value="3">Free</option>
<!-- /TMPL_IF -->
</select></td></tr>
</table>
<ul><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></ul>
<p><input type="submit" value="Save Changes" class="submit" /></p>
</form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->