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