2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>UNIMARC field 127 builder</title>
4 [% INCLUDE 'doc-head-close.inc' %]
7 <body id="cat_unimarc_field_127" class="cat" style="padding:1em;">
8 <h1>UNIMARC field 127 builder</h1>
9 <form name="f_pop" action="">
11 <tr><th colspan="9">(Complete with 0 on the left)</th></tr>
12 <tr> <td><label for="f1">Hours:</label></td>
13 <td><input type="text" name="f1" id="f1" maxlength="2"
15 value="[% f1 | html %]" /></td>
16 <td><label for="f2">Minutes:</label></td>
17 <td><input type="text" name="f2" id="f2" maxlength="2"
19 value="[% f2 | html %]" /></td>
20 <td><label for="f3">Seconds:</label></td>
21 <td><input type="text" name="f3" id="f3" maxlength="2"
23 value="[% f3 | html %]" /></td>
26 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
29 [% MACRO jsinclude BLOCK %]
32 document.f_pop.f1.value=document.f_pop.f1.value+' ';
33 document.f_pop.f2.value=document.f_pop.f2.value+' ';
34 document.f_pop.f3.value=document.f_pop.f3.value+' ';
36 document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2);
37 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2);
38 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
40 var doc = opener.document;
41 var field = doc.getElementById("[% index | html %]");
43 field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value;
50 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]