[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/parameters categorie.tmpl,1.3,1.4

Paul POULAIN tipaul at users.sourceforge.net
Wed Nov 5 12:12:17 CET 2003


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/parameters
In directory sc8-pr-cvs1:/tmp/cvs-serv21535/koha-tmpl/intranet-tmpl/default/fr/parameters

Modified Files:
	categorie.tmpl 
Log Message:
minor html fixes

Index: categorie.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/parameters/categorie.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** categorie.tmpl	4 Jul 2003 14:04:02 -0000	1.3
--- categorie.tmpl	5 Nov 2003 11:12:15 -0000	1.4
***************
*** 40,56 ****
  		var alertString2;
  		if (f.categorycode.value.length==0) {
! 			_alertString += "- categorycode missing\n";
  		}
  //		alert(window.document.Aform.description.value);
  		if (!(isNotNull(window.document.Aform.description,1))) {
! 			_alertString += "- description missing\n";
  		}
  		if (!isNum(f.upperagelimit,0)) {
! 			_alertString += "- upperagelimit is not a number\n";
  		}
  		if (_alertString.length==0) {
  			document.Aform.submit();
  		} else {
! 			alertString2 = "Form not submitted because of the following problem(s)\n";
  			alertString2 += "------------------------------------------------------------------------------------\n\n";
  			alertString2 += _alertString;
--- 40,56 ----
  		var alertString2;
  		if (f.categorycode.value.length==0) {
! 			_alertString += "- code catégorie absent\n";
  		}
  //		alert(window.document.Aform.description.value);
  		if (!(isNotNull(window.document.Aform.description,1))) {
! 			_alertString += "- description absente\n";
  		}
  		if (!isNum(f.upperagelimit,0)) {
! 			_alertString += "- l'age maxi n'est pas un nombre\n";
  		}
  		if (_alertString.length==0) {
  			document.Aform.submit();
  		} else {
! 			alertString2 = "Saisie non valide pour les raisons suivantes\n";
  			alertString2 += "------------------------------------------------------------------------------------\n\n";
  			alertString2 += _alertString;
***************
*** 65,69 ****
  		<h1>Ajouter categorie</h1>
  	</TMPL_IF>
! 	
  	<form action=<TMPL_VAR NAME=script_name> name=Aform method=post>
  	<input type=hidden name=op value='add_validate'>
--- 65,69 ----
  		<h1>Ajouter categorie</h1>
  	</TMPL_IF>
! 
  	<form action=<TMPL_VAR NAME=script_name> name=Aform method=post>
  	<input type=hidden name=op value='add_validate'>
***************
*** 90,101 ****
  			<td>Description</td>
  			<td>
! 				<input type=text name=description size=40 maxlength=80 value=<TMPL_VAR NAME=description escape=HTML>>
  				&nbsp;
  			</td>
  		</tr>
  		<tr>
! 			<td>Enrollment</td>
  			<td>
! 				<input type=text name=enrolmentperiod size=3 maxlength=2 value=<TMPL_VAR NAME=enrolmentperiod>>
  			</td>
  		</tr>
--- 90,101 ----
  			<td>Description</td>
  			<td>
! 				<input type=text name=description size=40 maxlength=80 value="<TMPL_VAR NAME=description escape=HTML>">
  				&nbsp;
  			</td>
  		</tr>
  		<tr>
! 			<td>Durée insc.</td>
  			<td>
! 				<input type=text name=enrolmentperiod size=3 maxlength=2 value="<TMPL_VAR NAME=enrolmentperiod>">
  			</td>
  		</tr>
***************
*** 103,107 ****
  			<td>Age maximum</td>
  			<td>
! 				<input type=text name=upperagelimit size=3 maxlength=3 value=<TMPL_VAR NAME=upperagelimit>>
  			</td>
  		</tr>
--- 103,107 ----
  			<td>Age maximum</td>
  			<td>
! 				<input type=text name=upperagelimit size=3 maxlength=3 value="<TMPL_VAR NAME=upperagelimit>">
  			</td>
  		</tr>
***************
*** 109,113 ****
  			<td>Age Minimum</td>
  			<td>
! 				<input type=text name=dateofbirthrequired value=<TMPL_VAR NAME=dateofbirthrequired> size=3 maxlength=2>
  			</td>
  		</tr>
--- 109,113 ----
  			<td>Age Minimum</td>
  			<td>
! 				<input type=text name=dateofbirthrequired value="<TMPL_VAR NAME=dateofbirthrequired>" size=3 maxlength=2>
  			</td>
  		</tr>
***************
*** 115,119 ****
  			<td>Frais inscription</td>
  			<td>
! 				<input type=text name=enrolmentfee value=<TMPL_VAR NAME=enrolmentfee>>
  			</td>
  		</tr>
--- 115,119 ----
  			<td>Frais inscription</td>
  			<td>
! 				<input type=text name=enrolmentfee value="<TMPL_VAR NAME=enrolmentfee>">
  			</td>
  		</tr>
***************
*** 283,288 ****
                          <td><TMPL_VAR NAME=issuelimit></td>
                          <td><TMPL_VAR NAME=reservefee></td>
!                         <td><a href="<TMPL_VAR NAME=script_name>?op=add_form&categorycode=<TMPL_VAR NAME=categorycode>">Edit</a></td>
!                         <td><a href="<TMPL_VAR NAME=script_name>?op=delete_confirm&categorycode=<TMPL_VAR NAME=categorycode>">Delete</a></td>
  		</tr>
  		</TMPL_LOOP>
--- 283,288 ----
                          <td><TMPL_VAR NAME=issuelimit></td>
                          <td><TMPL_VAR NAME=reservefee></td>
!                         <td><a href="<TMPL_VAR NAME=script_name>?op=add_form&categorycode=<TMPL_VAR NAME=categorycode>"><img src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0></a></td>
!                         <td><a href="<TMPL_VAR NAME=script_name>?op=delete_confirm&categorycode=<TMPL_VAR NAME=categorycode>"><img src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/edittrash.png" border="0"></a></td>
  		</tr>
  		</TMPL_LOOP>





More information about the Koha-cvs mailing list