Merge remote-tracking branch 'origin/new/bug_7178'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_106.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>UNIMARC field 106 builder</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="cat_unimarc_field_106" class="cat" style="padding:1em;">
6 <h3>UNIMARC field 106 builder</h3>
7 <form name="f_pop" action="">
8 <table>
9         <tr>
10         <td><label for="f1">Form of item: Coded data: Medium designator (not repeatable)</label></td>
11                 <td>
12                         <select name="f1" id="f1" size="1">
13             
14                         [% IF ( f1r ) %]
15                                 <option value="r" selected="selected">regular print</option>
16                         [% ELSE %]
17                                 <option value="r">regular print</option>
18                         [% END %]
19                         [% IF ( f1b ) %]
20                                 <option value="d" selected="selected">large print</option>
21                         [% ELSE %]
22                                 <option value="d">large print</option>
23                         [% END %]
24                         [% IF ( f1e ) %]
25                                 <option value="e" selected="selected">newspaper format</option>
26                         [% ELSE %]
27                                 <option value="e">newspaper format</option>
28                         [% END %]
29
30                         [% IF ( f1f ) %]
31                                 <option value="f" selected="selected">Braille or Moon script</option>
32                         [% ELSE %]
33                                 <option value="f">Braille or Moon script</option>
34         
35                         [% END %]
36                         [% IF ( f1g ) %]
37                                 <option value="g" selected="selected">microprint</option>
38                         [% ELSE %]
39                                 <option value="g">microprint</option>
40         
41                         [% END %]
42                         [% IF ( f1h ) %]
43                                 <option value="h" selected="selected">handwritten</option>
44                         [% ELSE %]
45                                 <option value="h">handwritten</option>
46         
47                         [% END %]
48                         [% IF ( f1i ) %]
49                                 <option value="i" selected="selected">multimedia (e.g. an item in regular print with a microfiche
50 supplement)</option>
51                         [% ELSE %]
52                                 <option value="i">multimedia (e.g. an item in regular print with a microfiche
53 supplement)</option>
54         
55                         [% END %]
56                         [% IF ( f1j ) %]
57                                 <option value="j" selected="selected">mini-print</option>
58                         [% ELSE %]
59                                 <option value="j">mini-print</option>
60                                 
61                         [% END %]
62                         [% IF ( f1s ) %]
63                                 <option value="s" selected="selected">electronic</option>
64                         [% ELSE %]
65                                 <option value="s">electronic</option>
66                                 
67                         [% END %]
68                         [% IF ( f1t ) %]
69                                 <option value="t" selected="selected">microform</option>
70                         [% ELSE %]
71                                 <option value="t">microform</option>
72         
73                         [% END %]
74                         [% IF ( f1z ) %]
75                                 <option value="z" selected="selected">other form of material</option>
76                         [% ELSE %]
77                                 <option value="z">other form of material</option>
78         
79                         [% END %]
80                         </select>
81                 </td>
82         </tr>
83 </table>
84 <fieldset class="action"><input type="button" value="OK"  onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
85 </form>
86 <script type="text/javascript">
87 //<![CDATA[
88 function report() {
89         var doc   = opener.document; 
90         var field = doc.getElementById("[% index %]");
91     
92         field.value = document.f_pop.f1.value;
93         self.close();
94         return false;
95         }
96
97 //]]>
98 </script>
99
100
101 [% INCLUDE 'popup-bottom.inc' %]