499c5787a2691b206077659856d69cea72163ca4
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_124e.tt
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>UNIMARC field 124e builder</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6
7 <body id="cat_unimarc_field_124e" class="cat" style="padding:1em;">
8 <h1>UNIMARC field 124e builder</h1>
9 <form name="f_pop" action="">
10 <table>
11         <tr>
12         <td><label for="f1">Category of satellite for remote sensing image:</label></td>
13                 <td>
14             <select name="f1" id="f1">
15
16                         [% IF ( f1a ) %]
17                                 <option value="a" selected="selected">meteorological</option>
18                         [% ELSE %]
19                                 <option value="a">meteorological</option>
20                         [% END %]
21                         [% IF ( f1b ) %]
22                                 <option value="b" selected="selected">earth resources</option>
23                         [% ELSE %]
24                                 <option value="b">earth resources</option>
25                         [% END %]
26                         [% IF ( f1c ) %]
27                                 <option value="c" selected="selected">space observing</option>
28                         [% ELSE %]
29                                 <option value="c">space observing</option>
30                         [% END %]
31                         </select>
32                 </td></tr>
33 </table>
34 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
35 </form>
36
37 [% MACRO jsinclude BLOCK %]
38     <script>
39         function report() {
40             var doc     = opener.document;
41                 var field   = doc.getElementById("[% index | html %]");
42                 field.value =  document.f_pop.f1.value;
43             window.close();
44             return false;
45         }
46     </script>
47 [% END %]
48
49 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]