[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en boraccount.tmpl,1.10,1.10.2.1 mancredit.tmpl,1.3,1.3.2.1 maninvoice.tmpl,1.3,1.3.2.1

Paul POULAIN tipaul at users.sourceforge.net
Fri May 20 00:42:17 CEST 2005


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

Modified Files:
      Tag: rel_2_2
	boraccount.tmpl mancredit.tmpl maninvoice.tmpl 
Log Message:
better templating

Index: boraccount.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/boraccount.tmpl,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -C2 -r1.10 -r1.10.2.1
*** boraccount.tmpl	26 Nov 2004 20:32:17 -0000	1.10
--- boraccount.tmpl	19 May 2005 22:42:14 -0000	1.10.2.1
***************
*** 1,47 ****
  <!-- TMPL_INCLUDE NAME="members-top.inc" -->
! 
! <!-- The manual invoice and credit buttons -->
! 
! <h1>Account for <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a></h1><P>
! <a class="button" href="/cgi-bin/koha/maninvoice.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">Create Manual Invoice</a>
! &nbsp;
! <a class="button" href="/cgi-bin/koha/mancredit.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">Create Manual Credit</a>
! <center>
! <p>
! 
! <!-- The table with the account items -->
! 
! <table  cellspacing="0"  cellpadding="5" border="1" >
! 
!   <tr valign="top">
!     <td  bgcolor="#99cc33" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif" colspan="2"><b>FINES &amp; CHARGES</td>
!     <td  bgcolor="#99cc33" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif" colspan="1"><b>AMOUNT</td>
!     <td  bgcolor="#99cc33" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif" colspan="1"><b>STILL OWING</td>
!   </tr>
! 
!   <!-- TMPL_LOOP NAME="accounts" -->
! 
!     <tr valign="top">
!       <td><!-- TMPL_VAR NAME="date" --></td>
!       <td><!-- TMPL_VAR NAME="description" --><!-- TMPL_IF NAME="printtitle" --> <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
!       <td><!-- TMPL_VAR NAME="amount" --></td>
!       <td><!-- TMPL_VAR NAME="amountoutstanding" --></td>
!     </tr>
! 
!   <!-- /TMPL_LOOP -->
! 
!   <tr valign="top">
!     <td></td>
!     <td colspan="2"><b>Total Due</b></td>
!     <td><b><!-- TMPL_VAR NAME="total" --></b></td>
!   </tr>
! 
! </table>
! 
! <br clear="all">
! <p> &nbsp; </p>
! 
! <!-- endmenu (member) -->
! 
  <!-- TMPL_INCLUDE NAME="members-bottom.inc" -->
  
--- 1,39 ----
  <!-- TMPL_INCLUDE NAME="members-top.inc" -->
! <div id="mainbloc">
! 	<!-- The manual invoice and credit buttons -->
! 	
! 	<h1>Account for <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a></h1><P>
! 	<a class="button" href="/cgi-bin/koha/maninvoice.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">Create Manual Invoice</a>
! 	&nbsp;
! 	<a class="button" href="/cgi-bin/koha/mancredit.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">Create Manual Credit</a>
! 	<!-- The table with the account items -->
! 	
! 	<table>
! 	
! 	<tr>
! 		<th>FINES &amp; CHARGES</th>
! 		<th>AMOUNT</th>
! 		<th>STILL OWING</th>
! 	</tr>
! 	
! 	<!-- TMPL_LOOP NAME="accounts" -->
! 	
! 		<tr>
! 		<td><!-- TMPL_VAR NAME="date" --> <!-- TMPL_VAR NAME="description" --><!-- TMPL_IF NAME="printtitle" --> <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
! 		<td><!-- TMPL_VAR NAME="amount" --></td>
! 		<td><!-- TMPL_VAR NAME="amountoutstanding" --></td>
! 		</tr>
! 	
! 	<!-- /TMPL_LOOP -->
! 	
! 	<tr>
! 		<th>Total Due</th>
! 		<th colspan="2"><!-- TMPL_VAR NAME="total" --></th>
! 	</tr>
! 	
! 	</table>
! 	
! 	<!-- endmenu (member) -->
! </div>
  <!-- TMPL_INCLUDE NAME="members-bottom.inc" -->
  

Index: mancredit.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/mancredit.tmpl,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -r1.3 -r1.3.2.1
*** mancredit.tmpl	19 Jul 2004 21:41:29 -0000	1.3
--- mancredit.tmpl	19 May 2005 22:42:14 -0000	1.3.2.1
***************
*** 1,22 ****
  <!-- TMPL_INCLUDE Name="members-top.inc" -->
! 
! <Center><h3>Manual Credit</h3></center>
! <form action="/cgi-bin/koha/mancredit.pl" method="post">
! <table cellpadding="2" cellspacing="0" border="0">
! <input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->">
! <tr><td><b>Borrowernumber<b></td><td><!-- TMPL_VAR NAME="bornum" --></td></tr>
! <tr><td><b>Type</b></td><Td>
! <select name="type">
! <option value="C">Credit</option>
! <option value="BAY">Baycorp Adjustment</option>
! <option value="WORK">Worked off</option>
! </select>
! </td></tr>
! <tr><td><b>Itemnumber</b></td><td><input type="text" name="itemnum"></td></tr>
! <tr><td><b>Description</b></td><td><input type="text" name="desc" size="50"></td></tr>
! <tr><td><b>Amount</b></td><td><input type="text" name="amount"></td></tr>
! <tr><td><input type="submit" name="add" value="Add"></td></tr>
! </table>
! </form>
! 
  <!-- TMPL_INCLUDE Name="members-bottom.inc" -->
\ No newline at end of file
--- 1,20 ----
  <!-- TMPL_INCLUDE Name="members-top.inc" -->
! <div id="mainbloc">
! 	<h1 class="member">Manual Credit</h1>
! 	<form action="/cgi-bin/koha/mancredit.pl" method="post">
! 		<input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->">
! 		<p><label class="label100">Borrowernumber</label><!-- TMPL_VAR NAME="bornum" --></p>
! 		<p><label class="label100">Type</label>
! 			<select name="type">
! 				<option value="C">Credit</option>
! 				<option value="BAY">Baycorp Adjustment</option>
! 				<option value="WORK">Worked off</option>
! 			</select>
! 		</p>
! 		<p><label class="label100">Itemnumber</label><input type="text" name="itemnum"></p>
! 		<p><label class="label100">Description</label><input type="text" name="desc" size="50"></p>
! 		<p><label class="label100">Amount</label><input type="text" name="amount"></p>
! 		<p><input type="submit" name="add" value="Add" class="button"></p>
! 	</form>
! </div>
  <!-- TMPL_INCLUDE Name="members-bottom.inc" -->
\ No newline at end of file

Index: maninvoice.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/maninvoice.tmpl,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -r1.3 -r1.3.2.1
*** maninvoice.tmpl	19 Jul 2004 21:41:29 -0000	1.3
--- maninvoice.tmpl	19 May 2005 22:42:14 -0000	1.3.2.1
***************
*** 1,25 ****
  <!-- TMPL_INCLUDE Name="members-top.inc" -->
! 
! <Center><h3>Manual Invoice</h3></center>
! <form action="/cgi-bin/koha/maninvoice.pl" method="post">
! <table cellpadding="2" cellspacing="0" border="0">
! <input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->">
! <tr><td><b>Borrowernumber<b></td><td><!-- TMPL_VAR NAME="bornum" --></td></tr>
! <tr><td><b>Type</b></td><Td>
! <select name="type">
! <option value="L">Lost Item</option>
! <option value="F">Fine</option>
! <option value="A">Account Management Fee</option>
! <option value="N">New Card</option>
! <option value="M">Sundry</option>
! <option value="REF">Cash Refund</option>
! </select>
! </td></tr>
! <tr><td><b>Itemnumber</b></td><td><input type="text" name="itemnum"></td></tr>
! <tr><td><b>Description</b></td><td><input type="text" name="desc" size="50"></td></tr>
! <tr><td><b>Amount</b></td><td><input type="text" name="amount"></td></tr>
! <tr><td><input type="submit" name="add" value="Add"></td></tr>
! </table>
! </form>
! 
  <!-- TMPL_INCLUDE Name="members-bottom.inc" -->
--- 1,25 ----
  <!-- TMPL_INCLUDE Name="members-top.inc" -->
! <div id="mainbloc">
! 	<h1 class="member">Manual Invoice</h1>
! 	<form action="/cgi-bin/koha/maninvoice.pl" method="post">
! 	<input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->">
! 	<p><label class="label100">Borrowernumber </label><!-- TMPL_VAR NAME="bornum" --></p>
! 	<p>
! 		<label class="label100"><b>Type</label>
! 		<select name="type">
! 			<option value="L">Lost Item</option>
! 			<option value="F">Fine</option>
! 			<option value="A">Account Management Fee</option>
! 			<option value="N">New Card</option>
! 			<option value="M">Sundry</option>
! 			<option value="REF">Cash Refund</option>
! 		</select>
! 	</p>
! 	<p><label class="label100">Itemnumber</label><input type="text" name="itemnum"></p>
! 	<p><label class="label100">Description</label><input type="text" name="desc" size="50"></p>
! 	<p><label class="label100">Amount</label><input type="text" name="amount"></p>
! 	<p><label class="label100"><input type="submit" class="button" name="add" value="Add"></p>
! 	</table>
! 	</form>
! </div>
  <!-- TMPL_INCLUDE Name="members-bottom.inc" -->





More information about the Koha-cvs mailing list