[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bookshelves shelves.tmpl,1.3,1.4

Paul POULAIN tipaul at users.sourceforge.net
Thu Dec 2 17:41:31 CET 2004


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29973/koha-tmpl/intranet-tmpl/default/en/bookshelves

Modified Files:
	shelves.tmpl 
Log Message:
improvement in book shelves

Index: shelves.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/shelves.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** shelves.tmpl	19 Jul 2004 19:33:10 -0000	1.3
--- shelves.tmpl	2 Dec 2004 16:41:29 -0000	1.4
***************
*** 4,63 ****
  <!-- TMPL_IF Name="viewshelf" -->
  	<form>
! 		<table>
! 			<tr>
! 				<th class="catalogue">
! 					Contents of <!-- TMPL_VAR NAME="shelfname" -->
! 				</th>
! 			</tr>
! 			<!-- TMPL_LOOP Name="itemsloop" -->
! 				<tr>
! 					<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"></td>
! 					<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="barcode" --></td>
! 					<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="title" --></td>
! 					<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="author" --></td>
  				</tr>
! 			<!-- /TMPL_LOOP -->
! 		</table>
! 		<br>
! 		<a href="shelves.pl" class="button">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="button">
! 		<!-- /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="button">
! 				</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 class="catalogue">Bookshelves</h1>
  		<div id="bloc25">
  					<h2 class="catalogue">Select Shelves to Delete</h2>
--- 4,64 ----
  <!-- TMPL_IF Name="viewshelf" -->
  	<form>
! 		<h1 class="catalogue"><!-- TMPL_VAR NAME="shelfname" --></h1>
! 
! 		<div id="bloc25">
! 		<h2 class="catalogue">Shelf content</h2>
! 			<table class="small">
! 				<tr colspan="4">
! 					<th class="catalogue">delete</th>
! 					<th class="catalogue">barcode</th>
! 					<th class="catalogue">title</th>
! 					<th class="catalogue">Author</th>
  				</tr>
! 				<!-- TMPL_LOOP Name="itemsloop" -->
! 					<tr>
! 						<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"></td>
! 						<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="barcode" --></td>
! 						<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><a href="../MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
! 						<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="author" --></td>
! 					</tr>
! 				<!-- /TMPL_LOOP -->
! 			</table>
! 			<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="button catalogue">
! 			<!-- /TMPL_IF -->
! 		</div>
  	</form>
  
  	<!-- TMPL_IF name="manageshelf" -->
! 	<div id="bloc25">
! 		<form>
! 		<h2 class="catalogue">Add a book by barcode</h2>
! 			<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" -->">
! 			<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="button catalogue">
! 		</form>
! 	</div>
  	<!-- /TMPL_IF -->
+ 	<div id="bloc25">
+ 		<a href="shelves.pl" class="button catalogue">Shelf list</a>
+ 	</div>
  <!-- TMPL_ELSE -->
  	<!-- TMPL_IF Name="shelves" -->
+ 		<h1 class="catalogue">Bookshelves</h1>
  		<!-- TMPL_IF Name="status1" -->
! 			<p class="problem"><!-- TMPL_VAR NAME="string1" --><p>
  		<!-- /TMPL_IF -->
  		<!-- TMPL_LOOP Name="paramsloop" -->
  			<!-- TMPL_IF Name="status" -->
! 				<p class="problem"><!-- TMPL_VAR NAME="string" --><p>
  			<!-- /TMPL_IF -->
  		<!-- /TMPL_LOOP -->
  		<div id="bloc25">
  					<h2 class="catalogue">Select Shelves to Delete</h2>
***************
*** 70,74 ****
  								<input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->">
  							</label>
! 								<!-- TMPL_VAR NAME="shelfname" --> (<!-- TMPL_VAR NAME="shelfbookcount" --> books)
  						</p>
  						<!-- /TMPL_IF -->
--- 71,75 ----
  								<input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->">
  							</label>
! 								<a href="shelves.pl?viewshelf=<!-- TMPL_VAR name="shelf" -->"><!-- TMPL_VAR NAME="shelfname" --></a> (<!-- TMPL_VAR NAME="shelfbookcount" --> item(s))
  						</p>
  						<!-- /TMPL_IF -->
***************
*** 104,126 ****
  		</div>
  	<!-- TMPL_ELSE -->
! 		<table>
! 			<tr>
! 				<th class="catalogue">
! 					Shelf List
! 				</th>
! 			</tr>
! 			<!-- TMPL_LOOP Name="shelvesloop" -->
! 			<tr>
! 				<td bgcolor="<!-- TMPL_VAR NAME="color" -->">
! 					<a href="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="shelves.pl?shelves=1" class="button catalogue">Add or Remove Book Shelves</a>
! 		</p>
  	<!-- /TMPL_IF -->
  <!-- /TMPL_IF -->
--- 105,132 ----
  		</div>
  	<!-- TMPL_ELSE -->
! 		<div id="bloc25">
! 			<h2 class="catalogue">Shelf list</h2>
! 			<table class="small">
! 				<tr>
! 					<th class="catalogue">Shelf name</th>
! 					<th class="catalogue">Content size</th>
! 				</tr>
! 				<!-- TMPL_LOOP Name="shelvesloop" -->
! 				<tr>
! 					<td bgcolor="<!-- TMPL_VAR NAME="color" -->">
! 						<a href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
! 							<!-- TMPL_VAR NAME="shelfname" -->
! 						</a>
! 					</td>
! 					<td bgcolor="<!-- TMPL_VAR NAME="color" -->">
! 					<!-- TMPL_VAR NAME="shelfbookcount" --> item(s)
! 					</td>
! 				</tr>
! 				<!-- /TMPL_LOOP -->
! 			</table>
! 		</div>
! 		<div id="bloc25">
  			<a href="shelves.pl?shelves=1" class="button catalogue">Add or Remove Book Shelves</a>
! 		</div>
  	<!-- /TMPL_IF -->
  <!-- /TMPL_IF -->





More information about the Koha-cvs mailing list