[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters itemtypes.tmpl,1.18,1.19

Paul POULAIN tipaul at users.sourceforge.net
Sat Aug 14 11:33:44 CEST 2004


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

Modified Files:
	itemtypes.tmpl 
Log Message:
css'ing

Index: itemtypes.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters/itemtypes.tmpl,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** itemtypes.tmpl	19 Jul 2004 19:20:29 -0000	1.18
--- itemtypes.tmpl	14 Aug 2004 09:33:42 -0000	1.19
***************
*** 45,51 ****
  		_alertString += "\n- " + _("Description missing");
  	}
- 	if ((!isNum(f.loanlength,0)) && f.loanlength.value.length > 0) {
- 		_alertString += "\n- " + _("Loan length is not a number");
- 	}
  	if ((!isNum(f.rentalcharge,0)) && f.rentalcharge.value.length > 0) {
  		_alertString += "\n- " + _("Rental charge is not a number");
--- 45,48 ----
***************
*** 64,70 ****
  <!-- TMPL_IF NAME="add_form" -->
  	<!-- TMPL_IF NAME="itemtype" -->
! 		<h1>Modify item type</h1>
  	<!-- TMPL_ELSE -->
! 		<h1>Add item type</h1>
  	<!-- /TMPL_IF -->
  	<form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
--- 61,67 ----
  <!-- TMPL_IF NAME="add_form" -->
  	<!-- TMPL_IF NAME="itemtype" -->
! 		<h1 class="parameters">Modify item type</h1>
  	<!-- TMPL_ELSE -->
! 		<h1 class="parameters">Add item type</h1>
  	<!-- /TMPL_IF -->
  	<form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
***************
*** 90,98 ****
  			</p>
  			<p>
- 				<label class="label100">Loan length</label>
- 					<input type="text" name="loanlength" size="10" value="<!-- TMPL_VAR NAME="loanlength" -->">
- 					meaningful only if not for loan is not set
- 			</p>
- 			<p>
  				<label class="label100" name="renewalsallowed">Number of renewals allowed</label>
  				<input type="text" name="renewalsallowed" value="<!-- TMPL_VAR NAME="renewalsallowed" -->">
--- 87,90 ----
***************
*** 113,117 ****
  		<input type="hidden" name="op" value="delete_confirmed"><input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->">
  	<p><label>Description</label><!-- TMPL_VAR NAME="description" --></p>
- 	<p><label>Loan length</label><!-- TMPL_VAR NAME="loanlength" --></p>
  	<p><label>Renewals</label><!-- TMPL_IF NAME="renewalsallowed" -->Allowed<!-- TMPL_ELSE -->Not allowed<!-- /TMPL_IF --></p>
  	<p><lable>Rental charge</label><!-- TMPL_VAR NAME="rentalcharge" --></p>
--- 105,108 ----
***************
*** 135,144 ****
  
  <!-- TMPL_IF NAME="else" -->
! <h1>Item type Admin</h1>
  <table>
  	<tr>
  		<th class="parameters">Code</th>
  		<th class="parameters">Description</th>
- 		<th class="parameters">Loan length</th>
  		<th class="parameters">Renewable</th>
  		<th class="parameters">Charge</th>
--- 126,134 ----
  
  <!-- TMPL_IF NAME="else" -->
! <h1 class="parameters">Item type Admin</h1>
  <table>
  	<tr>
  		<th class="parameters">Code</th>
  		<th class="parameters">Description</th>
  		<th class="parameters">Renewable</th>
  		<th class="parameters">Charge</th>
***************
*** 150,154 ****
  			<td><!-- TMPL_VAR NAME="itemtype" --></td>
  			<td><!-- TMPL_VAR NAME="description" --></td>
- 			<td><!-- TMPL_VAR NAME="loanlength" --></td>
  			<td><!-- TMPL_IF NAME="renewalsallowed" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
  			<td><!-- TMPL_VAR NAME="rentalcharge" --></td>
--- 140,143 ----
***************
*** 160,164 ****
  <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
  	<input type="hidden" name="op" value="add_form">
! 	<input type="submit" class="button" value="Add item type" title="Add item type" alt="Add item type" >
  	<td width="33%"><!-- TMPL_IF NAME="previous" --><a href="<!-- TMPL_VAR NAME="previous" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="previous" alt="previous" border="0"></a><!-- /TMPL_IF --></td>
  	<td width="33%"><!-- TMPL_IF NAME="next" --><a href="<!-- TMPL_VAR NAME="next" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" alt="next" border="0"></a><!-- /TMPL_IF --></td>
--- 149,153 ----
  <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
  	<input type="hidden" name="op" value="add_form">
! 	<input type="submit" class="button parameters" value="Add item type" title="Add item type" alt="Add item type" >
  	<td width="33%"><!-- TMPL_IF NAME="previous" --><a href="<!-- TMPL_VAR NAME="previous" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="previous" alt="previous" border="0"></a><!-- /TMPL_IF --></td>
  	<td width="33%"><!-- TMPL_IF NAME="next" --><a href="<!-- TMPL_VAR NAME="next" -->"><input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" alt="next" border="0"></a><!-- /TMPL_IF --></td>





More information about the Koha-cvs mailing list