koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/value_builder un


From: doXulting
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/value_builder unimarc_field_122.tmpl,1.2,1.3
Date: Thu, 02 Jun 2005 08:24:22 -0700

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

Modified Files:
        unimarc_field_122.tmpl 
Log Message:
Template for 122a field plugin

Index: unimarc_field_122.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/value_builder/unimarc_field_122.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** unimarc_field_122.tmpl      1 Mar 2005 13:41:02 -0000       1.2
--- unimarc_field_122.tmpl      2 Jun 2005 15:24:20 -0000       1.3
***************
*** 1,84 ****
! <html>

! <head>

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

! </head>

! <body>

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

! <table>

!       <tr>

!               <td>Ere code:</td>

!               <td>

!                       <select name="f1" size="1">

!                       <!-- TMPL_IF name="f1 " -->

!                               <option value=" " SELECTED>Aucun</option>

!                       <!-- TMPL_ELSE -->

!                               <option value=" ">Aucun</option>

!                       <!-- /TMPL_IF -->

!                       <!-- TMPL_IF name="f1c" -->

!                               <option value="c" SELECTED>La date

!                               tombe avant l'an 1 du calendrier 
gregorien</option>

!                       <!-- TMPL_ELSE -->

!                               <option value="c">La date tombe avant

!                               l'an 1 du calendrier gregorien</option>

!                       <!-- /TMPL_IF -->

!                       <!-- TMPL_IF name="f1d" -->

!                               <option value="d" SELECTED>La date

!                               tombe apres l'an 1</option>

!                       <!-- TMPL_ELSE -->

!                               <option value="d">La date tombe apres

!                               l'an 1</option>

!                       <!-- /TMPL_IF -->

!                       <!-- TMPL_IF name="f1c" -->

!                               <option value="c" SELECTED>Spatiale</option>

!                       <!-- TMPL_ELSE -->

!                               <option value="c">Spatiale</option>

!                       <!-- /TMPL_IF -->

!                       </select>

!               </td></tr>

! <tr>          <td>Annee:</td>

!                  <td><input type="text" name="f2" maxlength=4 size=5

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

!               </td>

! 

!               <td>Mois:</td>

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

!                        size=3

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

!               <td>Jour:</td>

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

!                        size=3

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

! 

!               <td>Heure:</td>

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

!                        size=3

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

! 

!               </tr>

! 

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

! </table>

! </form>

! <script>

!       function report() {

! 

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

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

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

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

! 

! 

! 

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

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

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

! document.f_pop.f5.value=document.f_pop.f5.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 +document.f_pop.f4.value +document.f_pop.f5.value ;

!               self.close();

!               return false;

!       }

! </script>

! </body>

! </html>

--- 1,77 ----
! <!-- TMPL_INCLUDE Name="popup-top.inc" -->
! <div id="mainbloc" style="padding-bottom:10px;margin:10px;width:95%;">
! <h1 class="authority">Assistant champ codé 122a</h1>
! <form name="f_pop" onSubmit="javascript:report()">
! 
! <p>
!       <label style="width:15em;">Code ère</label>
!       <select name="f1" size="1">
!               <!-- TMPL_IF name="f1 " -->
!               <option value=" " SELECTED>Aucun</option>
!               <!-- TMPL_ELSE -->
!               <option value=" ">Aucun</option>
!               <!-- /TMPL_IF -->
!               <!-- TMPL_IF name="f1c" -->
!               <option value="c" SELECTED>La date tombe avant l'an 1 du 
calendrier grégorien</option>
!               <!-- TMPL_ELSE -->
!               <option value="c">La date tombe avant l'an 1 du calendrier 
grégorien</option>
!               <!-- /TMPL_IF -->
!               <!-- TMPL_IF name="f1d" -->
!               <option value="d" SELECTED>La date tombe après l'an 1 du 
calendrier grégorien</option>
!               <!-- TMPL_ELSE -->
!               <option value="d">La date tombe après l'an 1 du calendrier 
grégorien</option>
!               <!-- /TMPL_IF -->
!       </select>
! </p>
! 
! <p>
!       <label style="width:15em;">Année</label>
!       <input type="text" name="f2" maxlength=4 size=5 value="<!-- TMPL_VAR 
name="f2" -->">
! </p>
! 
! <p>
!       <label style="width:15em;">Mois</label>
!       <input type="text" name="f3" maxlength=2 size=3 value="<!-- TMPL_VAR 
name="f3" -->">
! </p>
! 
! <p>
!       <label style="width:15em;">Jour</label>
!       <input type="text" name="f4" maxlength=2 size=3 value="<!-- TMPL_VAR 
name="f4" -->">
! </p>
! 
! <p>
!       <label style="width:15em;">Heure</label>
!       <input type="text" name="f5" maxlength=2 size=3 value="<!-- TMPL_VAR 
name="f5" -->">
! </p>
! 
! 
! <br>
! <p>
!       <label style="width:15em;">&nbsp;</label>
!       <input type="submit" value="OK" class="button authority">
! </p>
! 
! </form>
! </div>
! <script>
!       function report() {
! 
! document.f_pop.f2.value=document.f_pop.f2.value+'    ';
! document.f_pop.f3.value=document.f_pop.f3.value+'  ';
! document.f_pop.f4.value=document.f_pop.f4.value+'  ';
! document.f_pop.f5.value=document.f_pop.f5.value+'  ';
! 
! 
! 
! document.f_pop.f2.value=document.f_pop.f2.value.substring(0,4);
! document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
! document.f_pop.f4.value=document.f_pop.f4.value.substring(0,2);
! document.f_pop.f5.value=document.f_pop.f5.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 +document.f_pop.f4.value +document.f_pop.f5.value ;
!               self.close();
!               return false;
!       }
! </script>
! <!-- TMPL_INCLUDE Name="popup-bottom.inc" -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]