Fixing nomenclature and tmpl_process3.pl bugs
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / marc21_leader_computerfile.tmpl
1 <html>
2 <head>
3 <title>Leader builder</title>
4 </head>
5 <body>
6 <form name="f_pop" onSubmit="javascript:report()">
7 <input type="hidden" name="plugin_name" value="marc21_leader_computerfile.pl">
8 <table>
9         <tr>
10                 <td>1-4 Record size</td>
11                 <td>(auto-filled)</td>
12         </tr>
13         <tr>
14                 <td>5- Record status</td>
15                 <td>
16                         <select name="f5" size="1">
17                         <!-- TMPL_IF name="f5a" -->
18                                 <option value=" " SELECTED>a- Increase in encoding level</option>
19                         <!-- TMPL_ELSE -->
20                                 <option value=" ">a- Increase in encoding level</option>
21                         <!-- /TMPL_IF -->
22
23                         <!-- TMPL_IF name="f5c" -->
24                                 <option value="c" SELECTED>c- Corrected or revised</option>
25                         <!-- TMPL_ELSE -->
26                                 <option value="c">c- Corrected or revised</option>
27                         <!-- /TMPL_IF -->
28                         <!-- TMPL_IF name="f5d" -->
29                                 <option value="d" SELECTED>d- Deleted</option>
30                         <!-- TMPL_ELSE -->
31                                 <option value="d">d- Deleted</option>
32                         <!-- /TMPL_IF -->
33                         <!-- TMPL_IF name="f5n" -->
34                                 <option value="n" SELECTED>n- New</option>
35                         <!-- TMPL_ELSE -->
36                                 <option value="n">n- New</option>
37                         <!-- /TMPL_IF -->
38                         <!-- TMPL_IF name="f5p" -->
39                                 <option value="p" SELECTED>p- Increase in encoding level from prepublication</option>
40                         <!-- TMPL_ELSE -->
41                                 <option value="p">p- Increase in encoding level from prepublication</option>
42                         <!-- /TMPL_IF -->
43                         </select>
44                 </td>
45         </tr>
46         <tr>
47                 <td>6- Type of record</td>
48                 <td>
49                         <select name="f6" size="1">
50                         <!-- TMPL_IF name="f6a" -->
51                                 <option value="a" SELECTED>a- Language material (monography)</option>
52                         <!-- TMPL_ELSE -->
53                                 <option value="a">a- Language material (monography)</option>
54                         <!-- /TMPL_IF -->
55                         <!-- TMPL_IF name="f6c" -->
56                                 <option value="c" SELECTED>c- Notated music</option>
57                         <!-- TMPL_ELSE -->
58                                 <option value="c">c- Notated music</option>
59                         <!-- /TMPL_IF -->
60                         <!-- TMPL_IF name="f6d" -->
61                                 <option value="d" SELECTED>d- Manuscript notated music</option>
62                         <!-- TMPL_ELSE -->
63                                 <option value="d">d- Manuscript notated music</option>
64                         <!-- /TMPL_IF -->
65                         <!-- TMPL_IF name="f6e" -->
66                                 <option value="e" SELECTED>e- Cartographic material</option>
67                         <!-- TMPL_ELSE -->
68                                 <option value="e">e- Cartographic material</option>
69                         <!-- /TMPL_IF -->
70                         <!-- TMPL_IF name="f6f" -->
71                                 <option value="f" SELECTED>f - Manuscript cartographic material</option>
72                         <!-- TMPL_ELSE -->
73                                 <option value="f">f - Manuscript cartographic material</option>
74                         <!-- /TMPL_IF -->
75                         <!-- TMPL_IF name="f6g" -->
76                                 <option value="g" SELECTED>g - Projected medium</option>
77                         <!-- TMPL_ELSE -->
78                                 <option value="g">g - Projected medium</option>
79                         <!-- /TMPL_IF -->
80                         <!-- TMPL_IF name="f6i" -->
81                                 <option value="i" SELECTED>i - Nonmusical sound recording</option>
82                         <!-- TMPL_ELSE -->
83                                 <option value="i">i - Nonmusical sound recording</option>
84                         <!-- /TMPL_IF -->
85                         <!-- TMPL_IF name="f6j" -->
86                                 <option value="j" SELECTED>j - Musical sound recording</option>
87                         <!-- TMPL_ELSE -->
88                                 <option value="j">j - Musical sound recording</option>
89                         <!-- /TMPL_IF -->
90                         <!-- TMPL_IF name="f6k" -->
91                                 <option value="k" SELECTED>k - Two-dimensional nonprojectable graphic</option>
92                         <!-- TMPL_ELSE -->
93                                 <option value="k">k - Two-dimensional nonprojectable graphic</option>
94                         <!-- /TMPL_IF -->
95                         <!-- TMPL_IF name="f6m" -->
96                                 <option value="m" SELECTED>m - Computer file</option>
97                         <!-- TMPL_ELSE -->
98                                 <option value="m">m - Computer file</option>
99                         <!-- /TMPL_IF -->
100                         <!-- TMPL_IF name="f6o" -->
101                                 <option value="o" SELECTED>o - Kit</option>
102                         <!-- TMPL_ELSE -->
103                                 <option value="o">o - Kit</option>
104                         <!-- /TMPL_IF -->
105                         <!-- TMPL_IF name="f6r" -->
106                                 <option value="r" SELECTED>r - Three-dimensional artifact or naturally occurring object</option>
107                         <!-- TMPL_ELSE -->
108                                 <option value="r">r - Three-dimensional artifact or naturally occurring object</option>
109                         <!-- /TMPL_IF -->
110                         <!-- TMPL_IF name="f6t" -->
111                                 <option value="t" SELECTED>t - Manuscript language material</option>
112                         <!-- TMPL_ELSE -->
113                                 <option value="t">t - Manuscript language material</option>
114                         <!-- /TMPL_IF -->
115                         </select>
116                 </td>
117         </tr>
118         <tr>
119                 <td>7- Bibliographic level</td>
120                 <td>
121                         <select name="f7" size="1">
122                                 <!-- TMPL_IF name="f7a" -->
123                                         <option value="a" SELECTED>a- Monographic component part</option>
124                                 <!-- TMPL_ELSE -->
125                                         <option value="a">a- Monographic component part</option>
126                                 <!-- /TMPL_IF -->
127                                 <!-- TMPL_IF name="f7b" -->
128                                         <option value="b" SELECTED>b- Serial component part</option>
129                                 <!-- TMPL_ELSE -->
130                                         <option value="b">a- Serial component part</option>
131                                 <!-- /TMPL_IF -->
132                                 <!-- TMPL_IF name="f7c" -->
133                                         <option value="c" SELECTED>c- Collection</option>
134                                 <!-- TMPL_ELSE -->
135                                         <option value="c">c- Collection</option>
136                                 <!-- /TMPL_IF -->
137                                 <!-- TMPL_IF name="f7d" -->
138                                         <option value="d" SELECTED>d- Subunit</option>
139                                 <!-- TMPL_ELSE -->
140                                         <option value="d">d- Subunit</option>
141                                 <!-- /TMPL_IF -->
142                                 <!-- TMPL_IF name="f7i" -->
143                                         <option value="i" SELECTED>i- Integrating resource</option>
144                                 <!-- TMPL_ELSE -->
145                                         <option value="i">i- Integrating resource</option>
146                                 <!-- /TMPL_IF -->
147                                 <!-- TMPL_IF name="f7m" -->
148                                         <option value="m" SELECTED>m- Monograph/item</option>
149                                 <!-- TMPL_ELSE -->
150                                         <option value="m">m- Monograph/item</option>
151                                 <!-- /TMPL_IF -->
152                                 <!-- TMPL_IF name="f7s" -->
153                                         <option value="s" SELECTED>s- Serial</option>
154                                 <!-- TMPL_ELSE -->
155                                         <option value="s">s- Serial</option>
156                                 <!-- /TMPL_IF -->
157                         </select>
158                 </td>
159         </tr>
160         
161         <tr>
162                 <td>8- Hierarchic level</td>
163                 <td>
164                         <select name="f8" size="1">
165                                 <!-- TMPL_IF name="f8 " -->
166                                         <option value=" " SELECTED>No specific type</option>
167                                 <!-- TMPL_ELSE -->
168                                         <option value=" ">No specific type</option>
169                                 <!-- /TMPL_IF -->
170                                 <!-- TMPL_IF name="f8a" -->
171                                         <option value="a" SELECTED>a- Archival</option>
172                                 <!-- TMPL_ELSE -->
173                                         <option value="a">a- Archival</option>
174                                 <!-- /TMPL_IF -->
175                         </select>
176                 </td>
177         </tr>
178
179         <tr>
180                 <td>9- Encoding</td>
181                 <td>
182                         <select name="f9" size="1">
183                                 <!-- TMPL_IF name="f9 " -->
184                                         <option value=" " SELECTED>MARC-8</option>
185                                 <!-- TMPL_ELSE -->
186                                         <option value=" ">MARC-8</option>
187                                 <!-- /TMPL_IF -->
188                                 <!-- TMPL_IF name="f9a" -->
189                                         <option value="a" SELECTED>a- UCS/Unicode</option>
190                                 <!-- TMPL_ELSE -->
191                                         <option value="a">a- UCS/Unicode</option>
192                                 <!-- /TMPL_IF -->
193                         </select>
194                 </td>
195         </tr>
196         <tr>
197                 <td>10-16 indicator/subfields/size</td>
198                 <td>(auto-filled)</td>
199         <tr>
200                 <td>17- Encoding</td>
201                 <td>
202                         <select name="f17" size="1">
203                                 <!-- TMPL_IF name="f17 " -->
204                                         <option value=" " SELECTED>full level</option>
205                                 <!-- TMPL_ELSE -->
206                                         <option value=" ">Full level</option>
207                                 <!-- /TMPL_IF -->
208                                 <!-- TMPL_IF name="f171" -->
209                                         <option value="1" SELECTED>1- Full level, material not examined</option>
210                                 <!-- TMPL_ELSE -->
211                                         <option value="1">1- Full level, material not examined</option>
212                                 <!-- /TMPL_IF -->
213                                 <!-- TMPL_IF name="f172" -->
214                                         <option value="2" SELECTED>2 - Less-than-full level, material not examined</option>
215                                 <!-- TMPL_ELSE -->
216                                         <option value="2">2 - Less-than-full level, material not examined</option>
217                                 <!-- /TMPL_IF -->
218                                 <!-- TMPL_IF name="f173" -->
219                                         <option value="3" SELECTED>3- Abbreviated level</option>
220                                 <!-- TMPL_ELSE -->
221                                         <option value="3">3- Abbreviated level</option>
222                                 <!-- /TMPL_IF -->
223                                 <!-- TMPL_IF name="f174" -->
224                                         <option value="4" SELECTED>4- Core level</option>
225                                 <!-- TMPL_ELSE -->
226                                         <option value="4">4- Core level</option>
227                                 <!-- /TMPL_IF -->
228                                 <!-- TMPL_IF name="f175" -->
229                                         <option value="5" SELECTED>5- Partial (preliminary) level</option>
230                                 <!-- TMPL_ELSE -->
231                                         <option value="5">5- Partial (preliminary) level</option>
232                                 <!-- /TMPL_IF -->
233                                 <!-- TMPL_IF name="f177" -->
234                                         <option value="7" SELECTED>7- Minimal level</option>
235                                 <!-- TMPL_ELSE -->
236                                         <option value="7">7- Minimal level</option>
237                                 <!-- /TMPL_IF -->
238                                 <!-- TMPL_IF name="f178" -->
239                                         <option value="8" SELECTED>8- Prepublication level</option>
240                                 <!-- TMPL_ELSE -->
241                                         <option value="8">8- Prepublication level</option>
242                                 <!-- /TMPL_IF -->
243                                 <!-- TMPL_IF name="f17u" -->
244                                         <option value="u" SELECTED>u - Unknown</option>
245                                 <!-- TMPL_ELSE -->
246                                         <option value="u">u - Unknown</option>
247                                 <!-- /TMPL_IF -->
248                                 <!-- TMPL_IF name="f17z" -->
249                                         <option value="z" SELECTED>z- Not applicable</option>
250                                 <!-- TMPL_ELSE -->
251                                         <option value="z">z- Not applicableFull level</option>
252                                 <!-- /TMPL_IF -->
253                         </select>
254                 </td>
255         </tr>
256
257         <tr>
258                 <td>18 - Descriptive cataloging form</td>
259                 <td>
260                         <select name="f18" size="1">
261                                 <!-- TMPL_IF name="f18 " -->
262                                         <option value=" " SELECTED>Non-ISBD</option>
263                                 <!-- TMPL_ELSE -->
264                                         <option value=" ">Non-ISBD</option>
265                                 <!-- /TMPL_IF -->
266                                 <!-- TMPL_IF name="f18a" -->
267                                         <option value="a" SELECTED>a- AACR 2</option>
268                                 <!-- TMPL_ELSE -->
269                                         <option value="a">a- AACR 2</option>
270                                 <!-- /TMPL_IF -->
271                                 <!-- TMPL_IF name="f18i" -->
272                                         <option value="i" SELECTED>i- ISBD</option>
273                                 <!-- TMPL_ELSE -->
274                                         <option value="i">i- ISBD</option>
275                                 <!-- /TMPL_IF -->
276                                 <!-- TMPL_IF name="f18u" -->
277                                         <option value="u" SELECTED>u- Unknown</option>
278                                 <!-- TMPL_ELSE -->
279                                         <option value="u">u- Unknown</option>
280                                 <!-- /TMPL_IF -->
281                         </select>
282                 </td>
283         </tr>
284         
285         <tr>
286                 <td>19 - Linked record requirement</td>
287                 <td>
288                         <select name="f19" size="1">
289                                 <!-- TMPL_IF name="f19 " -->
290                                         <option value=" " SELECTED>Related record not required</option>
291                                 <!-- TMPL_ELSE -->
292                                         <option value=" ">Related record not required</option>
293                                 <!-- /TMPL_IF -->
294                                 <!-- TMPL_IF name="f18r" -->
295                                         <option value="r" SELECTED>r- Related record required</option>
296                                 <!-- TMPL_ELSE -->
297                                         <option value="r">r- Related record required</option>
298                                 <!-- /TMPL_IF -->
299                         </select>
300                 </td>
301         </tr>
302         <tr>
303                 <td>20-24 entry map & lengths</td>
304                 <td>(auto-filled)</td>
305         <tr>
306
307         <tr><td colspan=2><input type="submit" value="OK"></td></tr>
308 </table>
309 </form>
310 <script>
311 function report() {
312             var doc   = opener.document; 
313             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
314         
315             field.value =
316             '     '+
317             document.f_pop.f5.value +
318                         document.f_pop.f6.value+
319             document.f_pop.f7.value+
320                         document.f_pop.f8.value+
321             document.f_pop.f9.value+
322             '22     '+
323                         document.f_pop.f17.value+
324             document.f_pop.f18.value+
325             document.f_pop.f19.value+
326             '4500';
327                 self.close();
328                 return false;
329         }
330 </script>
331 </body>
332 </html>