Cleaning up
[koha.git] / koha-tmpl / intranet-tmpl / default / de / value_builder / unimarc_field_122.tmpl
1 <html>
2 <head>
3 <title>UNIMARC constructeur champ 122</title>
4 </head>
5 <body>
6 <form name="f_pop" onSubmit="javascript:report()">
7 <table>
8         <tr>
9                 <td>Ere code:</td>
10                 <td>
11                         <select name="f1" size="1">
12                         <!-- TMPL_IF name="f1 " -->
13                                 <option value=" " SELECTED>Keine</option>
14                         <!-- TMPL_ELSE -->
15                                 <option value=" ">Keine</option>
16                         <!-- /TMPL_IF -->
17                         <!-- TMPL_IF name="f1c" -->
18                                 <option value="c" SELECTED>La date
19                                 tombe avant l'an 1 du calendrier gregorien</option>
20                         <!-- TMPL_ELSE -->
21                                 <option value="c">La date tombe avant
22                                 l'an 1 du calendrier gregorien</option>
23                         <!-- /TMPL_IF -->
24                         <!-- TMPL_IF name="f1d" -->
25                                 <option value="d" SELECTED>La date
26                                 tombe apres l'an 1</option>
27                         <!-- TMPL_ELSE -->
28                                 <option value="d">La date tombe apres
29                                 l'an 1</option>
30                         <!-- /TMPL_IF -->
31                         <!-- TMPL_IF name="f1c" -->
32                                 <option value="c" SELECTED>Spatiale</option>
33                         <!-- TMPL_ELSE -->
34                                 <option value="c">Spatiale</option>
35                         <!-- /TMPL_IF -->
36                         </select>
37                 </td></tr>
38 <tr>            <td>Annee:</td>
39                    <td><input type="text" name="f2" maxlength=4 size=5
40                    value="<!-- TMPL_VAR name="f2" -->">
41                 </td>
42
43                 <td>Mois:</td>
44                          <td><input type="text" name="f3" maxlength=2
45                          size=3
46                    value="<!-- TMPL_VAR name="f3" -->"></td>
47                 <td>Jour:</td>
48                          <td><input type="text" name="f4" maxlength=2
49                          size=3
50                    value="<!-- TMPL_VAR name="f4" -->"></td>
51
52                 <td>Heure:</td>
53                          <td><input type="text" name="f5" maxlength=2
54                          size=3
55                    value="<!-- TMPL_VAR name="f5" -->"></td>
56
57                 </tr>
58
59         <tr><td colspan=2><input type="submit" value="OK"></td></tr>
60 </table>
61 </form>
62 <script>
63         function report() {
64
65 document.f_pop.f2.value=document.f_pop.f2.value+'    ';
66 document.f_pop.f3.value=document.f_pop.f3.value+'  ';
67 document.f_pop.f4.value=document.f_pop.f4.value+'  ';
68 document.f_pop.f5.value=document.f_pop.f5.value+'  ';
69
70
71
72 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,4);
73 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
74 document.f_pop.f4.value=document.f_pop.f4.value.substring(0,2);
75 document.f_pop.f5.value=document.f_pop.f5.value.substring(0,2);
76
77
78                 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 ;
79                 self.close();
80                 return false;
81         }
82 </script>
83 </body>
84 </html>