Cleaning up
[koha.git] / koha-tmpl / intranet-tmpl / default / de / value_builder / unimarc_field_123d.tmpl
1 <html>
2 <head>
3 <title>UNIMARC constructeur champ 123d</title>
4 </head>
5 <body>
6 <form name="f_pop" onSubmit="javascript:report()">
7 <table>
8         <tr>
9                 <td>Hemisphere:</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="f1w" -->
18                                 <option value="w" SELECTED>Ouest</option>
19                         <!-- TMPL_ELSE -->
20                                 <option value="w">Ouest</option>
21                         <!-- /TMPL_IF -->
22                         <!-- TMPL_IF name="f1e" -->
23                                 <option value="e" SELECTED>Est</option>
24                         <!-- TMPL_ELSE -->
25                                 <option value="e">Est</option>
26                         <!-- /TMPL_IF -->
27                         <!-- TMPL_IF name="f1n" -->
28                                 <option value="n" SELECTED>Nord</option>
29                         <!-- TMPL_ELSE -->
30                                 <option value="n">Nord</option>
31                         <!-- /TMPL_IF -->
32                         <!-- TMPL_IF name="f1s" -->
33                                 <option value="s" SELECTED>Sud</option>
34                         <!-- TMPL_ELSE -->
35                                 <option value="s">Sud</option>
36                         <!-- /TMPL_IF -->
37                         </select>
38                 </td></tr>
39
40 <tr>          <td>Degres (completer avec des 0):</td>
41                          <td><input type="text" name="f2" maxlength=3
42                          size=4
43                    value="<!-- TMPL_VAR name="f2" -->"></td>
44 </tr>
45 <tr>          <td>Minutes (completer avec des 0):</td>
46                          <td><input type="text" name="f3" maxlength=2
47                          size=3
48                    value="<!-- TMPL_VAR name="f3" -->"></td>
49 </tr>
50 <tr>          <td>Secondes (completer avec des 0):</td>
51                          <td><input type="text" name="f4" maxlength=2
52                          size=3
53                    value="<!-- TMPL_VAR name="f4" -->"></td>
54 </tr>
55
56
57         <tr><td colspan=2><input type="submit" value="OK"></td></tr>
58 </table>
59 </form>
60 <script>
61         function report() {
62 document.f_pop.f2.value=document.f_pop.f2.value+'   ';
63 document.f_pop.f3.value=document.f_pop.f3.value+'  ';
64 document.f_pop.f4.value=document.f_pop.f4.value+'  ';
65
66
67
68 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,3);
69 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
70 document.f_pop.f4.value=document.f_pop.f4.value.substring(0,2);
71
72
73                 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;
74                 self.close();
75                 return false;
76         }
77 </script>
78 </body>
79 </html>