1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>UNIMARC Field 127 builder</title>
3 [% INCLUDE 'doc-head-close.inc' %]
5 <body id="cat_unimarc_field_127" class="cat" style="padding:1em;">
6 <h3>UNIMARC Field 127 builder</h3>
7 <form name="f_pop" action="">
9 <tr><th colspan="9">(Complete with 0 on the left)</th></tr>
10 <tr> <td><label for="f1">Hours:</label></td>
11 <td><input type="text" name="f1" id="f1" maxlength="2"
13 value="[% f1 %]" /></td>
14 <td><label for="f2">Minutes:</label></td>
15 <td><input type="text" name="f2" id="f2" maxlength="2"
17 value="[% f2 %]" /></td>
18 <td><label for="f3">Seconds:</label></td>
19 <td><input type="text" name="f3" id="f3" maxlength="2"
21 value="[% f3 %]" /></td>
24 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
26 <script type="text/javascript">
29 document.f_pop.f1.value=document.f_pop.f1.value+' ';
30 document.f_pop.f2.value=document.f_pop.f2.value+' ';
31 document.f_pop.f3.value=document.f_pop.f3.value+' ';
35 document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2);
36 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2);
37 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
40 var doc = opener.document;
41 var field = doc.getElementById("[% index %]");
43 field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value;
50 [% INCLUDE 'popup-bottom.inc' %]