Bug 19322: Typo in UNIMARC field 140 plugin
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / marc21_leader_authorities.tt
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Authorities &rsaquo; Leader builder</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6
7 <body id="cat_marc21_leader_authorities" class="cat" style="padding:1em;">
8 <h3>000 - Leader</h3>
9 <form name="f_pop" onsubmit="report()" action="">
10 <input type="hidden" name="plugin_name" value="marc21_leader_authorities.pl" />
11 <table>
12         <tr>
13                 <td>1-4 Record size</td>
14                 <td>(auto-filled)</td>
15         </tr>
16         <tr>
17                 <td><label for="f5">5- Record status</label></td>
18                 <td>
19                         <select name="f5" id="f5" size="1">
20                         [% IF ( f5a ) %]
21                                 <option value="a" selected="selected">a- Increase in encoding level</option>
22                         [% ELSE %]
23                                 <option value="a">a- Increase in encoding level</option>
24                         [% END %]
25
26                         [% IF ( f5c ) %]
27                                 <option value="c" selected="selected">c- Corrected or revised</option>
28                         [% ELSE %]
29                                 <option value="c">c- Corrected or revised</option>
30                         [% END %]
31                         [% IF ( f5d ) %]
32                                 <option value="d" selected="selected">d- Deleted</option>
33                         [% ELSE %]
34                                 <option value="d">d- Deleted</option>
35                         [% END %]
36                         [% IF ( f5n ) %]
37                                 <option value="n" selected="selected">n- New</option>
38                         [% ELSE %]
39                                 <option value="n">n- New</option>
40                         [% END %]
41                         [% IF ( f5o ) %]
42                                 <option value="o" selected="selected">o- Obsolete</option>
43                         [% ELSE %]
44                                 <option value="o">o- Obsolete</option>
45                         [% END %]
46                         [% IF ( f5s ) %]
47                                 <option value="s" selected="selected">s- Deleted; heading split into two or more headings</option>
48                         [% ELSE %]
49                                 <option value="s">s- Deleted; heading split into two or more headings</option>
50                         [% END %]
51                         [% IF ( f5x ) %]
52                                 <option value="x" selected="selected">x- Deleted; heading replaced by another heading</option>
53                         [% ELSE %]
54                                 <option value="x">x- Deleted; heading replaced by another heading</option>
55                         [% END %]
56                         </select>
57                 </td>
58         </tr>
59         <tr>
60                 <td><label for="f6">6- Type of record</label></td>
61                 <td>
62             <input name="f6" id="f6" value="z" type="hidden" />
63             z- Authority data
64                 </td>
65         </tr>
66         <tr>
67                 <td>7-8 Undefined</td>
68                 <td></td>
69         </tr>
70
71         <tr>
72                 <td><label for="f9">9- Encoding</label></td>
73                 <td>
74                         <select name="f9" id="f9" size="1">
75                                 [% IF ( f9 ) %]
76                                         <option value=" " selected="selected">MARC-8</option>
77                                 [% ELSE %]
78                                         <option value=" ">MARC-8</option>
79                                 [% END %]
80                                 [% IF ( f9a ) %]
81                                         <option value="a" selected="selected">a- UCS/Unicode</option>
82                                 [% ELSE %]
83                                         <option value="a">a- UCS/Unicode</option>
84                                 [% END %]
85                         </select>
86                 </td>
87         </tr>
88         <tr>
89                 <td>10-16 indicator/subfields/size</td>
90                 <td>(auto-filled)</td>
91         </tr>
92         <tr>
93                 <td><label for="f17">17- Encoding level</label></td>
94                 <td>
95                         <select name="f17" id="f17" size="1">
96                                 [% IF ( f17n ) %]
97                                         <option value="n" selected="selected">n- Complete authority record</option>
98                                 [% ELSE %]
99                                         <option value="n">n- Complete authority record</option>
100                                 [% END %]
101                                 [% IF ( f17o ) %]
102                                         <option value="o" selected="selected">o- Incomplete authority record</option>
103                                 [% ELSE %]
104                                         <option value="o">o- Incomplete authority record</option>
105                                 [% END %]
106                         </select>
107                 </td>
108         </tr>
109
110         <tr>
111                 <td>18-19 Undefined</td>
112                 <td></td>
113         </tr>
114
115         <tr>
116                 <td>20-24 entry map &amp; lengths</td>
117                 <td>(auto-filled)</td>
118         </tr>
119
120 </table>
121 <fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
122 </form>
123
124 [% MACRO jsinclude BLOCK %]
125     <script type="text/javascript">
126         function report() {
127             var doc   = opener.document;
128             var field = doc.getElementById("[% index | html %]");
129             field.value =
130             '     '+
131             document.f_pop.f5.value +
132             document.f_pop.f6.value +
133             '  '+
134             document.f_pop.f9.value +
135             '22     '+
136             document.f_pop.f17.value +
137             '  '+
138             '4500';
139             self.close();
140             return false;
141         }
142     </script>
143 [% END %]
144
145 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]