Bug 13941: [2/2] Fix <body> tags missing id/class
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_124d.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>UNIMARC field 124d builder</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="cat_unimarc_field_124d" class="cat" style="padding:1em;">
6 <h3>UNIMARC field 124d builder</h3>
7 <form name="f_pop" action="">
8 <table>
9         <tr>
10         <td><label for="f1">Position of platform for photographic or remote sensing image:</label></td>
11                 <td>
12                         <select name="f1" id="f1" size="1">
13                         [% IF ( f1a ) %]
14                                 <option value="a" selected="selected">terrestrial</option>
15                         [% ELSE %]
16                                 <option value="a">terrestrial</option>
17                         [% END %]
18                         [% IF ( f1b ) %]
19                                 <option value="b" selected="selected">aerial</option>
20                         [% ELSE %]
21                                 <option value="b">aerial</option>
22                         [% END %]
23                         [% IF ( f1c ) %]
24                                 <option value="c" selected="selected">space</option>
25                         [% ELSE %]
26                                 <option value="c">space</option>
27                         [% END %]
28                         </select>
29                 </td></tr>
30 </table>
31 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
32 </form>
33 <script type="text/javascript">
34 //<![CDATA[
35         function report() {
36             var doc   = opener.document; 
37             var field = doc.getElementById("[% index %]");
38             field.value =  document.f_pop.f1.value;
39             window.close();
40             return false;
41         }
42 //]]>
43 </script>
44
45 [% INCLUDE 'popup-bottom.inc' %]