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

Owen Leonard oleonard at users.sourceforge.net
Mon Jul 19 21:33:12 CEST 2004


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

Modified Files:
	addbookbybiblionumber.tmpl shelves.tmpl 
Log Message:
Corrections to make markup more valid (quoting attributes, encoding amersands, etc.)

Index: addbookbybiblionumber.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/addbookbybiblionumber.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** addbookbybiblionumber.tmpl	17 Jun 2004 08:20:56 -0000	1.2
--- addbookbybiblionumber.tmpl	19 Jul 2004 19:33:10 -0000	1.3
***************
*** 3,10 ****
  <h2 class="catalogue">Select bookshelf</h2>
  <form>
! 	<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->">
! 	<p><label>Title</label><!-- TMPL_VAR name="title" --></p>
! 	<p><label>Author</label><!-- TMPL_VAR name="author" --></p>
! 	<p><label>Add to virtual shelf</label><!-- TMPL_VAR name="CGIbookshelves" --></p>
  	<input type="submit" value="Add to virtual shelf" class="button catalogue">
  </form>
--- 3,10 ----
  <h2 class="catalogue">Select bookshelf</h2>
  <form>
! 	<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
! 	<p><label>Title</label><!-- TMPL_VAR NAME="title" --></p>
! 	<p><label>Author</label><!-- TMPL_VAR NAME="author" --></p>
! 	<p><label>Add to virtual shelf</label><!-- TMPL_VAR NAME="CGIbookshelves" --></p>
  	<input type="submit" value="Add to virtual shelf" class="button catalogue">
  </form>

Index: shelves.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/shelves.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** shelves.tmpl	17 Jun 2004 08:20:56 -0000	1.2
--- shelves.tmpl	19 Jul 2004 19:33:10 -0000	1.3
***************
*** 7,19 ****
  			<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 -->
--- 7,19 ----
  			<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 -->
***************
*** 21,29 ****
  		<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>
--- 21,29 ----
  		<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>
***************
*** 31,46 ****
  	<!-- 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>
--- 31,46 ----
  	<!-- 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>
***************
*** 52,60 ****
  	<!-- 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 -->
--- 52,60 ----
  	<!-- 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 -->
***************
*** 62,88 ****
  		<div id="bloc25">
  					<h2 class="catalogue">Select Shelves to Delete</h2>
! 					<form method=post>
! 					<input type="hidden" name="shelves" value=1>
  						<!-- TMPL_LOOP Name="shelvesloop" -->
  						<!-- TMPL_IF name="canmanage" -->
  						<p>
  							<label>
! 								<input type=checkbox name="DEL-<!-- TMPL_VAR Name="shelf" -->">
  							</label>
! 								<!-- TMPL_VAR Name="shelfname" --> (<!-- TMPL_VAR Name="shelfbookcount" --> books)
  						</p>
  						<!-- /TMPL_IF -->
  						<!-- /TMPL_LOOP -->
  					<p>
! 						<input type=submit value="Delete Shelves" class="button catalogue">
  					</p>
  					</form>
  		</div>
  		<div id="bloc25">
! 			<form method=post>
! 				<input type=hidden name=shelves value=1>
  				<h2 class="catalogue">Add Shelf</h2>
  				<p><label>Name</label><input type="text" name="addshelf" size="25"></p>
! 				<p><label>Owner</label><input type="hidden" name="owner" value="<!-- TMPL_VAR name="loggedinuser" -->"><!-- TMPL_VAR name="loggedinusername" --></p>
  				<p><label>Category</label>
  					<select name="category">
--- 62,88 ----
  		<div id="bloc25">
  					<h2 class="catalogue">Select Shelves to Delete</h2>
! 					<form method="post">
! 					<input type="hidden" name="shelves" value="1">
  						<!-- TMPL_LOOP Name="shelvesloop" -->
  						<!-- TMPL_IF name="canmanage" -->
  						<p>
  							<label>
! 								<input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->">
  							</label>
! 								<!-- TMPL_VAR NAME="shelfname" --> (<!-- TMPL_VAR NAME="shelfbookcount" --> books)
  						</p>
  						<!-- /TMPL_IF -->
  						<!-- /TMPL_LOOP -->
  					<p>
! 						<input type="submit" value="Delete Shelves" class="button catalogue">
  					</p>
  					</form>
  		</div>
  		<div id="bloc25">
! 			<form method="post">
! 				<input type="hidden" name="shelves" value="1">
  				<h2 class="catalogue">Add Shelf</h2>
  				<p><label>Name</label><input type="text" name="addshelf" size="25"></p>
! 				<p><label>Owner</label><input type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></p>
  				<p><label>Category</label>
  					<select name="category">
***************
*** 92,101 ****
  					</select>
  				</p>
! 				<p> <li>a private bookshelf is managed by you & 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>
  				<p>
! 					<input type=submit value="Add New Shelf" class="button catalogue">
  					<a href="shelves.pl" class="button catalogue">back to shelf list</a>
  				</p>
--- 92,101 ----
  					</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>
  				<p>
! 					<input type="submit" value="Add New Shelf" class="button catalogue">
  					<a href="shelves.pl" class="button catalogue">back to shelf list</a>
  				</p>
***************
*** 112,118 ****
  			<!-- 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>
--- 112,118 ----
  			<!-- 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>





More information about the Koha-cvs mailing list