Translating UNIMARC plugins in English
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_127.tmpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <html>
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <title>UNIMARC_Field 127 builder</title>
8 </head>
9 <body>
10 <form name="f_pop">
11 <table>
12 <tr>(Complete with 0 on the left)</tr>
13 <tr>          <td>Hours:</td>
14                          <td><input type="text" name="f1" maxlength=2
15                          size=3
16                    value="<!-- TMPL_VAR name="f1" -->"></td>
17           <td>Minutes:</td>
18                          <td><input type="text" name="f2" maxlength=2
19                          size=3
20                    value="<!-- TMPL_VAR name="f2" -->"></td>
21           <td>Seconds:</td>
22                          <td><input type="text" name="f3" maxlength=2
23                          size=3
24                    value="<!-- TMPL_VAR name="f3" -->"></td>
25 </tr>
26
27
28         <tr><td colspan=2><input type="button" value="OK"  onClick="javascript:report()"></td></tr>
29 </table>
30 </form>
31 <script>
32         function report() {
33 document.f_pop.f1.value=document.f_pop.f1.value+'   ';
34 document.f_pop.f2.value=document.f_pop.f2.value+'  ';
35 document.f_pop.f3.value=document.f_pop.f3.value+'  ';
36
37
38
39 document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2);
40 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2);
41 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
42
43
44                 var doc   = opener.document; 
45             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
46         
47             field.value =  document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value;
48                 self.close();
49                 return false;
50         }
51 </script>
52 </body>
53 </html>