[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/value_builder unimarc_field_127.tmpl,1.1,1.2

doXulting doxulting at users.sourceforge.net
Thu Jun 2 17:31:30 CEST 2005


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

Modified Files:
	unimarc_field_127.tmpl 
Log Message:
Template for 127a field plugin

Index: unimarc_field_127.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/value_builder/unimarc_field_127.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** unimarc_field_127.tmpl	24 Nov 2004 16:21:17 -0000	1.1
--- unimarc_field_127.tmpl	2 Jun 2005 15:31:27 -0000	1.2
***************
*** 1,46 ****
! <html>

! <head>

! <title>UNIMARC constructeur champ 127</title>

! </head>

! <body>

! <form name="f_pop" onSubmit="javascript:report()">

! <table>

! <tr>(Completer avec des 0 a gauche)</tr>

! <tr>          <td>Heure:</td>

!                          <td><input type="text" name="f1" maxlength=2

!                          size=3

!                    value="<!-- TMPL_VAR name="f1" -->"></td>

!           <td>Minutes:</td>

!                          <td><input type="text" name="f2" maxlength=2

!                          size=3

!                    value="<!-- TMPL_VAR name="f2" -->"></td>

!           <td>Secondes:</td>

!                          <td><input type="text" name="f3" maxlength=2

!                          size=3

!                    value="<!-- TMPL_VAR name="f3" -->"></td>

! </tr>

! 

! 

! 	<tr><td colspan=2><input type="submit" value="OK"></td></tr>

! </table>

! </form>

! <script>

! 	function report() {

! document.f_pop.f1.value=document.f_pop.f1.value+'   ';

! document.f_pop.f2.value=document.f_pop.f2.value+'  ';

! document.f_pop.f3.value=document.f_pop.f3.value+'  ';

! 

! 

! 

! document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2);

! document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2);

! document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);

! 

! 

! 		opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value;

! 		self.close();

! 		return false;

! 	}

! </script>

! </body>

! </html>

--- 1,45 ----
! <!-- TMPL_INCLUDE Name="popup-top.inc" -->
! <div id="mainbloc" style="padding-bottom:10px;margin:10px;width:95%;">
! <h1 class="authority">Assistant champ codé 127a</h1>
! <form name="f_pop" onSubmit="javascript:report()">
! 
! <p>
! 	<label style="width:20em;">Durée (compléter avec des 0 à gauche)</label>
! 	<label style="width:6em;">Heures</label><input type="text" name="f1" maxlength=2 size=3 value="<!-- TMPL_VAR name="f1" -->">
! </p>
! <p>
! 	<label style="width:20em;">&nbsp;</label>
! 	<label style="width:6em;">Minutes</label><input type="text" name="f2" maxlength=2 size=3 value="<!-- TMPL_VAR name="f2" -->">
! </p>
! <p>
! 	<label style="width:20em;">&nbsp;</label>
! 	<label style="width:6em;">Secondes</label><input type="text" name="f3" maxlength=2 size=3 value="<!-- TMPL_VAR name="f3" -->">
! </p>
! 
! <br>
! <p>
! 	<label style="width:20em;">&nbsp;</label>
! 	<input type="submit" value="OK" class="button authority">
! </p>
! 
! </form>
! </div>
! <script>
! 	function report() {
! document.f_pop.f1.value=document.f_pop.f1.value+'   ';
! document.f_pop.f2.value=document.f_pop.f2.value+'  ';
! document.f_pop.f3.value=document.f_pop.f3.value+'  ';
! 
! 
! 
! document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2);
! document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2);
! document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
! 
! 
! 		opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value;
! 		self.close();
! 		return false;
! 	}
! </script>
! <!-- TMPL_INCLUDE Name="popup-bottom.inc" -->





More information about the Koha-cvs mailing list