Bug 19872: Move template JavaScript to the footer: UNIMARC editor plugins, part 4
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_124g.tt
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>UNIMARC field 124g builder</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6
7 <body id="cat_unimarc_field_124g" class="cat" style="padding:1em;">
8 <h3>UNIMARC field 124g builder</h3>
9 <form name="f_pop" action="">
10 <table>
11         <tr>
12         <td><label for="f1">Recording technique for remote sensing image:</label></td>
13                 <td>
14                         <select name="f1" id="f1" size="1">
15
16                         [% IF ( f1aa ) %]
17                                 <option value="aa" selected="selected">video recording</option>
18                         [% ELSE %]
19                                 <option value="aa">video recording</option>
20                         [% END %]
21                         [% IF ( f1ab ) %]
22                                 <option value="ab" selected="selected">false colour photography</option>
23                         [% ELSE %]
24                                 <option value="ab">false colour photography</option>
25                         [% END %]
26                         [% IF ( f1ac ) %]
27                                 <option value="ac" selected="selected">multispectral photography</option>
28                         [% ELSE %]
29                                 <option value="ac">multispectral photography</option>
30                         [% END %]
31                         [% IF ( f1ad ) %]
32                                 <option value="ad" selected="selected">multispectral scanning</option>
33                         [% ELSE %]
34                                 <option value="ad">multispectral scanning</option>
35                         [% END %]
36                         [% IF ( f1av ) %]
37                                 <option value="av" selected="selected">combination of various light emission techniques</option>
38                         [% ELSE %]
39                                 <option value="av">combination of various light emission techniques</option>
40                         [% END %]
41                         [% IF ( f1da ) %]
42                                 <option value="da" selected="selected">infrared line scanning</option>
43                         [% ELSE %]
44                                 <option value="da">infrared line scanning</option>
45                         [% END %]
46                         [% IF ( f1dv ) %]
47                                 <option value="dv" selected="selected">combination of various thermal infrared scanning</option>
48                         [% ELSE %]
49                                 <option value="dv">combination of various thermal infrared scanning</option>
50                         [% END %]
51                         [% IF ( f1ga ) %]
52                 <option value="ga" selected="selected">Sidelooking airbone radar</option>
53                         [% ELSE %]
54                 <option value="ga">Sidelooking airbone radar</option>
55                         [% END %]
56                         [% IF ( f1gb ) %]
57                 <option value="gb" selected="selected">Synthetic aperture radar</option>
58                         [% ELSE %]
59                 <option value="gb">Synthetic aperture radar</option>
60                         [% END %]
61                         [% IF ( f1gc ) %]
62                                 <option value="gc" selected="selected">passive microwave mapping</option>
63                         [% ELSE %]
64                                 <option value="gc">passive microwave mapping</option>
65                         [% END %]
66                         </select>
67                 </td></tr>
68 </table>
69 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
70 </form>
71
72 [% MACRO jsinclude BLOCK %]
73     <script type="text/javascript">
74         function report() {
75             var doc = opener.document;
76             var field = doc.getElementById("[% index %]");
77             field.value = document.f_pop.f1.value;
78             window.close();
79             return false;
80         }
81     </script>
82 [% END %]
83
84 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]