Bug 24698: QA fixes
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_leader_authorities.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>UNIMARC leader builder</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="cat_unimarc_leader_authorities" class="cat" style="padding:1em;">
6 <h3>000 - Leader</h3>
7 <form name="f_pop" onsubmit="report()" action="">
8 <input name="plugin_name" value="unimarc_leader_authorities.pl" type="hidden">
9
10 <table>
11     <tr>
12         <td>1-4 Record length</td>
13         <td>(auto-calculated)</td>
14     </tr>
15     <tr>
16         <td><label for="f5">5- Record status</label></td>
17         <td>
18             <select name="f5" id="f5">
19             [% IF ( f5c ) %]
20                 <option value="c" selected="selected">c - Corrected or revised</option>
21             [% ELSE %]
22                 <option value="c">c - Corrected or revised</option>
23             [% END %]
24             [% IF ( f5d ) %]
25                 <option value="d" selected="selected">d - Deleted</option>
26             [% ELSE %]
27                 <option value="d">d - Deleted</option>
28             [% END %]
29             [% IF ( f5n ) %]
30                 <option value="n" selected="selected">n - New</option>
31             [% ELSE %]
32                 <option value="n">n - New</option>
33             [% END %]
34             </select>
35         </td>
36     </tr>
37     <tr>
38         <td><label for="f6">6- Type of record</label></td>
39         <td>
40             <select name="f6" id="f6">
41             [% IF ( f6x ) %]
42                 <option value="x" selected="selected">x - Authority entry record</option>
43             [% ELSE %]
44                 <option value="x">x - Authority entry record</option>
45             [% END %]
46
47             [% IF ( f6y ) %]
48                 <option value="y" selected="selected">y - Reference entry record</option>
49             [% ELSE %]
50                 <option value="y">y - Reference entry record</option>
51             [% END %]
52
53             [% IF ( f6z ) %]
54                 <option value="z" selected="selected">z - General explanatory entry record</option>
55             [% ELSE %]
56                 <option value="z">z - General explanatory entry record</option>
57             [% END %]
58
59             </select>
60         </td>
61     </tr>
62     <tr>
63         <td><label for="f7">7-8 Undefined</label></td>
64         <td></td>
65     </tr>
66
67     <tr>
68         <td><label for="f9">9- Type of entity</label></td>
69         <td>
70             <select name="f9" id="f9">
71             [% IF ( f9a ) %]
72                 <option value="a" selected="selected">a - Personal name entry</option>
73             [% ELSE %]
74                 <option value="a">a - Personal name entry</option>
75             [% END %]
76
77             [% IF ( f9b ) %]
78                 <option value="b" selected="selected">b - Corporate name entry</option>
79             [% ELSE %]
80                 <option value="b">b - Corporate name entry</option>
81             [% END %]
82
83             [% IF ( f9c ) %]
84                 <option value="c" selected="selected">c - Territorial or geographical name</option>
85             [% ELSE %]
86                 <option value="c">c - Territorial or geographical name</option>
87             [% END %]
88
89             [% IF ( f9d ) %]
90                 <option value="d" selected="selected">d - Trademark</option>
91             [% ELSE %]
92                 <option value="d">d - Trademark</option>
93             [% END %]
94
95             [% IF ( f9e ) %]
96                 <option value="e" selected="selected">e - Family name</option>
97             [% ELSE %]
98                 <option value="e">e - Family name</option>
99             [% END %]
100
101             [% IF ( f9f ) %]
102                 <option value="f" selected="selected">f - Uniform name</option>
103             [% ELSE %]
104                 <option value="f">f - Uniform name</option>
105             [% END %]
106
107             [% IF ( f9g ) %]
108                 <option value="g" selected="selected">g - Collective uniform name</option>
109             [% ELSE %]
110                 <option value="g">g - Collective uniform name</option>
111             [% END %]
112
113             [% IF ( f9h ) %]
114                 <option value="h" selected="selected">h - Name/title</option>
115             [% ELSE %]
116                 <option value="h">h - Name/title</option>
117             [% END %]
118
119             [% IF ( f9i ) %]
120                 <option value="i" selected="selected">i - Name/collective uniform title</option>
121             [% ELSE %]
122                 <option value="i">i - Name/collective uniform title</option>
123             [% END %]
124
125             [% IF ( f9j ) %]
126                 <option value="j" selected="selected">j - Topical subject</option>
127             [% ELSE %]
128                 <option value="j">j - Topical subject</option>
129             [% END %]
130
131             [% IF ( f9k ) %]
132                 <option value="k" selected="selected">k - Place access</option>
133             [% ELSE %]
134                 <option value="k">k - Place access</option>
135             [% END %]
136
137             [% IF ( f9l ) %]
138                 <option value="l" selected="selected">l - Form, genre or physical characteristics</option>
139             [% ELSE %]
140                 <option value="l">l - Form, genre or physical characteristics</option>
141             [% END %]
142
143             </select>
144         </td>
145     </tr>
146     <tr>
147          <td><label for="f10">10-16 indicator/subfields/size</label></td>
148         <td>(auto-calculated)</td>
149     </tr>
150
151     <tr>
152         <td><label for="f17">17- Encoding level</label></td>
153         <td>
154             <select name="f17" id="f17">
155                 [% IF ( f17space ) %]
156                     <option value=" " selected="selected"> - Full</option>
157                 [% ELSE %]
158                     <option value=" ">  - Full</option>
159                 [% END %]
160                 [% IF ( f183 ) %]
161                     <option value="3" selected="selected">3 - Partial</option>
162                 [% ELSE %]
163                     <option value="3">3 - Partial</option>
164                 [% END %]
165             </select>
166         </td>
167     </tr>
168
169     <tr>
170      <td>18-19 Undefined</td>
171      <td></td>
172     </tr>
173
174     <tr>
175         <td>20-24 Entry map &amp; lengths</td>
176         <td>(auto-filled)</td>
177     </tr>
178 </table>
179 <fieldset class="action"><input type="submit" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
180 </form>
181 <script>
182 //<![CDATA[
183 function report() {
184     var doc   = opener.document;
185     var field = doc.getElementById("[% index | html %]");
186
187     field.value ='     '+document.f_pop.f5.value+document.f_pop.f6.value+'  '+document.f_pop.f9.value+'22     '+document.f_pop.f17.value+'  '+'45  ';
188
189     self.close();
190     return false;
191 }
192 //]]>
193 </script>
194
195 [% INCLUDE 'popup-bottom.inc' %]