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