adding new input to marc21 plugins
[wip/koha-chris_n.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / marc21_field_006.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_field_006.tmpl">
8 <table>
9         <tr>
10                 <td>0 Form of material</td>
11                 <td>
12                         <select name="f0" size="1">
13                         <!-- TMPL_IF name="f0a" -->
14                                 <option value="a" SELECTED>a- Language material</option>
15                         <!-- TMPL_ELSE -->
16                                 <option value="a">a- Language material</option>
17                         <!-- /TMPL_IF -->
18
19                         <!-- TMPL_IF name="f0b" -->
20                                 <option value="b" SELECTED>b- Manuscript language material</option>
21                         <!-- TMPL_ELSE -->
22                                 <option value="b">b- Manuscript language material</option>
23                         <!-- /TMPL_IF -->
24                         </select>
25                 </td>
26         </tr>
27         <tr>
28                 <td>01-04 Illustrations </td>
29                 <td>(auto-filled from 300)<input type="hidden" name="f014" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f014" -->"/></td>
30         </tr>
31                 <tr>
32                 <!-- 5 Target Audience -->
33                 <td>5- Target Audience</td>
34                 <td>
35                 <select name="f5" size="1">
36
37                         <!-- TMPL_IF name="f5|" -->
38                         <option value="|" SELECTED>|- Default</option>
39                         <!-- TMPL_ELSE -->
40                         <option value="|">|- Default</option>
41                         <!-- /TMPL_IF -->
42
43                         <!-- TMPL_IF name="f50" -->
44                         <option value=" " SELECTED>#- Unknown or not specified</option>
45                         <!-- TMPL_ELSE -->
46                         <option value=" ">#- Unknown or not specified</option>
47                         <!-- /TMPL_IF -->
48
49                         <!-- TMPL_IF name="f5a" -->
50                          <option value="a" SELECTED>a- Preschool</option>
51                         <!-- TMPL_ELSE -->
52                         <option value="a">a- Preschool</option>
53                         <!-- /TMPL_IF -->
54
55                         <!-- TMPL_IF name="f5b" -->
56                          <option value="b" SELECTED>b- Primary</option>
57                         <!-- TMPL_ELSE -->
58                         <option value="b">b- Primary</option>
59                         <!-- /TMPL_IF -->
60
61                         <!-- TMPL_IF name="f5c" -->
62                          <option value="c" SELECTED>c- Elementary and junior high</option>
63                         <!-- TMPL_ELSE -->
64                         <option value="c">c- Elementary and junior high</option>
65                         <!-- /TMPL_IF -->
66
67                         <!-- TMPL_IF name="f5d" -->
68                          <option value="d" SELECTED>d- Secondary (senior high)</option>
69                         <!-- TMPL_ELSE -->
70                         <option value="d">d- Secondary (senior high)</option>
71                         <!-- /TMPL_IF -->
72
73                         <!-- TMPL_IF name="f5e" -->
74                          <option value="e" SELECTED>e- Adult</option>
75                         <!-- TMPL_ELSE -->
76                         <option value="e">e- Adult</option>
77                         <!-- /TMPL_IF -->
78
79                         <!-- TMPL_IF name="f5f" -->
80                          <option value="f" SELECTED>f- Specialized</option>
81                         <!-- TMPL_ELSE -->
82                         <option value="f">f- Specialized</option>
83                         <!-- /TMPL_IF -->
84
85                         <!-- TMPL_IF name="f5g" -->
86                          <option value="g" SELECTED>g- General</option>
87                         <!-- TMPL_ELSE -->
88                         <option value="g">g- General</option>
89                         <!-- /TMPL_IF -->
90
91                         <!-- TMPL_IF name="f5j" -->
92                          <option value="j" SELECTED>j- Juvenile</option>
93                         <!-- TMPL_ELSE -->
94                         <option value="j">j- Juvenile</option>
95                         <!-- /TMPL_IF -->
96                 </select>
97                 </td>
98         <tr>
99          <tr>
100                 <!-- 06 Form of an item -->
101                 <td>06- Form of an item</td>
102                 <td>
103                 <select name="f6" size="1">
104
105                         <!-- TMPL_IF name="f60" -->
106                         <option value=" " SELECTED>#- None of the following</option>
107                         <!-- TMPL_ELSE -->
108                         <option value=" ">#- None of the following</option>
109                         <!-- /TMPL_IF -->
110
111                         <!-- TMPL_IF name="f6a" -->
112                         <option value="a" SELECTED>a- Microfilm</option>
113                         <!-- TMPL_ELSE -->
114                         <option value="a">a- Microfilm</option>
115                         <!-- /TMPL_IF -->
116
117                         <!-- TMPL_IF name="f6b" -->
118                         <option value="b" SELECTED>b- Microfiche</option>
119                         <!-- TMPL_ELSE -->
120                         <option value="b">b- Microfiche</option>
121                         <!-- /TMPL_IF -->
122
123                         <!-- TMPL_IF name="f6c" -->
124                         <option value="c" SELECTED>a- Microopaque</option>
125                         <!-- TMPL_ELSE -->
126                         <option value="c">a- Microopaque</option>
127                         <!-- /TMPL_IF -->
128
129                         <!-- TMPL_IF name="f6d" -->
130                         <option value="d" SELECTED>d- Large Print</option>
131                         <!-- TMPL_ELSE -->
132                         <option value="d">d- Large Print</option>
133                         <!-- /TMPL_IF -->
134
135                         <!-- TMPL_IF name="f6f" -->
136                         <option value="f" SELECTED>f- Braille</option>
137                         <!-- TMPL_ELSE -->
138                         <option value="f">f- Braille</option>
139                         <!-- /TMPL_IF -->
140
141                         <!-- TMPL_IF name="f6r" -->
142                         <option value="r" SELECTED>r- Regular print reproduction</option>
143                         <!-- TMPL_ELSE -->
144                         <option value="r">r- Regular print reproduction</option>
145                         <!-- /TMPL_IF -->
146
147                         <!-- TMPL_IF name="f6s" -->
148                         <option value="s" SELECTED>s- Electronic</option>
149                         <!-- TMPL_ELSE -->
150                         <option value="s">s- Electronic</option>
151                         <!-- /TMPL_IF -->
152
153                         <!-- TMPL_IF name="f6!" -->
154                         <option value="!" SELECTED>!- No attempt to code</option>
155                         <!-- TMPL_ELSE -->
156                         <option value="!">!- No attempt to code</option>
157                         <!-- /TMPL_IF -->
158                 </select>
159                 </td>
160         </tr>
161        <tr>
162                 <td>7-10 Nature of contents </td>
163                 <td>(Derived value)
164                         <input type="hidden" name="f710" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f710" -->"/>                </td>
165         </tr>
166         <tr>
167                 <td>11- Government Publication</td>
168                 <td>
169                 <select name="f11" size="1">
170                 
171                         <!-- TMPL_IF name="f11|" -->
172                         <option value="|" SELECTED>|- Default</option>
173                         <!-- TMPL_ELSE -->
174                         <option value="|">|- Default</option>
175                         <!-- /TMPL_IF -->
176
177                         <!-- TMPL_IF name="f110" -->
178                         <option value=" " SELECTED>#- Not a government publication</option>
179                         <!-- TMPL_ELSE -->
180                         <option value=" ">#- Not a government publication</option>
181                         <!-- /TMPL_IF -->
182
183                         <!-- TMPL_IF name="f11a" -->
184                         <option value="a" SELECTED>a- Autonomous or semi-autonomous component</option>
185                         <!-- TMPL_ELSE -->
186                         <option value="a">a- Autonomous or semi-autonomous component</option>
187                         <!-- /TMPL_IF -->
188
189                         <!-- TMPL_IF name="f11c" -->
190                         <option value="c" SELECTED>c- Multilocal</option>
191                         <!-- TMPL_ELSE -->
192                         <option value="c">c- Multilocal</option>
193                         <!-- /TMPL_IF -->
194
195                         <!-- TMPL_IF name="f11f" -->
196                         <option value="f" SELECTED>f- Federal/national</option>
197                         <!-- TMPL_ELSE -->
198                         <option value="f">f- Federal/national</option>
199                         <!-- /TMPL_IF -->
200
201
202                         <!-- TMPL_IF name="f11i" -->
203                         <option value="i" SELECTED>i- International intergovernmental</option>
204                         <!-- TMPL_ELSE -->
205                         <option value="i">i- International intergovernmental</option>
206                         <!-- /TMPL_IF -->
207
208
209                         <!-- TMPL_IF name="f11l" -->
210                         <option value="l" SELECTED>l- Local</option>
211                         <!-- TMPL_ELSE -->
212                         <option value="l">l- Local</option>
213                         <!-- /TMPL_IF -->
214
215
216                         <!-- TMPL_IF name="f11m" -->
217                         <option value="m" SELECTED>m- Multistate</option>
218                         <!-- TMPL_ELSE -->
219                         <option value="m">m- Multistate</option>
220                         <!-- /TMPL_IF -->
221
222                         <!-- TMPL_IF name="f11o" -->
223                         <option value="o" SELECTED>o- Government publication - level undetermined</option>
224                         <!-- TMPL_ELSE -->
225                         <option value="o">o- Government publication - level undetermined</option>
226                         <!-- /TMPL_IF -->
227
228                         <!-- TMPL_IF name="f11s" -->
229                         <option value="s" SELECTED>s- State, provincial,territorial,dependent,etc.</option>
230                         <!-- TMPL_ELSE -->
231                         <option value="s">s- State,provincial,territorial,dependent,etc.</option>
232                         <!-- /TMPL_IF -->
233
234                         <!-- TMPL_IF name="f11u" -->
235                         <option value="u" SELECTED>u- Unknown if item is government publication</option>
236                         <!-- TMPL_ELSE -->
237                         <option value="u">u- Unknown if item is government publication</option>
238                         <!-- /TMPL_IF -->
239
240                         <!-- TMPL_IF name="f11z" -->
241                         <option value="z" SELECTED>z- Other</option>
242                         <!-- TMPL_ELSE -->
243                         <option value="z">z- Other</option>
244                         <!-- /TMPL_IF -->
245                 </select>
246                 </td>
247         </tr>
248         <tr>
249                 <td>12- Conference publication</td>
250                 <td>
251                 <select name="f12" size="1">
252                         <!-- TMPL_IF name="f120" -->
253                         <option value="0" SELECTED>0- Not a conference publication</option>
254                         <!-- TMPL_ELSE -->
255                         <option value="0">0- Not a conference publication</option>
256                         <!-- /TMPL_IF -->
257                         <!-- TMPL_IF name="f121" -->
258                         <option value="1" SELECTED>1- Conference publication</option>
259                         <!-- TMPL_ELSE -->
260                         <option value="1">1- Conference publication</option>
261                         <!-- /TMPL_IF -->
262
263                 </select>
264                 </td>
265         </tr>
266         <tr>
267                 <td>13- Festschrift</td>
268                 <td>
269                 <select name="f13" size="1">
270                         <!-- TMPL_IF name="f130" -->
271                         <option value="0" SELECTED>0- Not a festschrift</option>
272                         <!-- TMPL_ELSE -->
273                         <option value="0">0- Not a festschrift</option>
274                         <!-- /TMPL_IF -->
275                         <!-- TMPL_IF name="f131" -->
276                         <option value="1" SELECTED>1- Festschrift</option>
277                         <!-- TMPL_ELSE -->
278                         <option value="1">1- Festschrift</option>
279                         <!-- /TMPL_IF -->
280                 </select>
281                 </td>
282         </tr>
283
284         <tr>
285                 <td>14- Index</td>
286                 <td>
287                 <select name="f14" size="1">
288                         <!-- TMPL_IF name="f14|" -->
289                         <option value="|" SELECTED>|- Default</option>
290                         <!-- TMPL_ELSE -->
291                         <option value="|">|- Default</option>
292                         <!-- /TMPL_IF -->
293         
294                         <!-- TMPL_IF name="f140" -->
295                         <option value="0" SELECTED>0- No Index</option>
296                         <!-- TMPL_ELSE -->
297                         <option value="0">0- No Index</option>
298                         <!-- /TMPL_IF -->
299                         <!-- TMPL_IF name="f141" -->
300                         <option value="1" SELECTED>1- Index present</option>
301                         <!-- TMPL_ELSE -->
302                         <option value="1">1- Index present</option>
303                         <!-- /TMPL_IF -->
304                 </select>
305                 </td>
306                 </tr>
307                 <tr><td>15 Undefined</td><td></td>
308                 </tr>
309                 <tr>
310                 <td>16- Literary form</td>
311                 <td>
312                 <select name="f16" size="1">
313                         <!-- TMPL_IF name="f160" -->
314                         <option value="0" SELECTED>0- Not fiction</option>
315                         <!-- TMPL_ELSE -->
316                         <option value="0">0- Not fiction</option>
317                         <!-- /TMPL_IF -->
318                         <!-- TMPL_IF name="f161" -->
319                         <option value="1" SELECTED>1- Fiction</option>
320                         <!-- TMPL_ELSE -->
321                         <option value="1">1- Fiction</option>
322                         <!-- /TMPL_IF -->
323                         <!-- TMPL_IF name="f16c" -->
324                         <option value="c" SELECTED>c- Comic strips</option>
325                         <!-- TMPL_ELSE -->
326                         <option value="c">c- Comic stripts</option>
327                         <!-- /TMPL_IF -->
328                         
329                         <!-- TMPL_IF name="f16d" -->
330                         <option value="d" SELECTED>d- Dramas</option>
331                         <!-- TMPL_ELSE -->
332                         <option value="d">d- Dramas</option>
333                         <!-- /TMPL_IF -->
334
335
336                         <!-- TMPL_IF name="f16e" -->
337                         <option value="e" SELECTED>e- Essays</option>
338                         <!-- TMPL_ELSE -->
339                         <option value="e">e- Essays</option>
340                         <!-- /TMPL_IF -->
341
342                         
343                         <!-- TMPL_IF name="f16f" -->
344                         <option value="f" SELECTED>f- Novels</option>
345                         <!-- TMPL_ELSE -->
346                         <option value="f">f- Novels</option>
347                         <!-- /TMPL_IF -->
348
349                         
350                         <!-- TMPL_IF name="f16h" -->
351                         <option value="h" SELECTED>h- Humor,satires,etc.</option>
352                         <!-- TMPL_ELSE -->
353                         <option value="h">h- Humor,satires,etc.</option>
354                         <!-- /TMPL_IF -->
355                         
356                         <!-- TMPL_IF name="f16i" -->
357                         <option value="i" SELECTED>i- Letters</option>
358                         <!-- TMPL_ELSE -->
359                         <option value="i">i- Letters</option>
360                         <!-- /TMPL_IF -->
361                         
362                         <!-- TMPL_IF name="f16j" -->
363                         <option value="j" SELECTED>j- Short stories</option>
364                         <!-- TMPL_ELSE -->
365                         <option value="j">j- Short stories</option>
366                         <!-- /TMPL_IF -->
367                         
368                         <!-- TMPL_IF name="f16m" -->
369                         <option value="m" SELECTED>m- Mixed forms</option>
370                         <!-- TMPL_ELSE -->
371                         <option value="m">m- Mixed forms</option>
372                         <!-- /TMPL_IF -->
373
374                         <!-- TMPL_IF name="f16p" -->
375                         <option value="p" SELECTED>p- Poetry</option>
376                         <!-- TMPL_ELSE -->
377                         <option value="p">p- Poetry</option>
378                         <!-- /TMPL_IF -->
379
380                         <!-- TMPL_IF name="f16s" -->
381                         <option value="s" SELECTED>s- Speeches</option>
382                         <!-- TMPL_ELSE -->
383                         <option value="s">s- Speeches</option>
384                         <!-- /TMPL_IF -->
385                         
386                         <!-- TMPL_IF name="f16u" -->
387                         <option value="u" SELECTED>u- Unknown</option>
388                         <!-- TMPL_ELSE -->
389                         <option value="u">u- Unknown</option>
390                         <!-- /TMPL_IF -->
391
392                 </select>
393                 </td>
394         </tr>
395         <tr>
396                 <td>17- Biography</td>
397                 <td>
398                 <select name="f17" size="1">
399                         <!-- TMPL_IF name="f170" -->
400                         <option value=" " SELECTED>#- No biographical material</option>                              <!-- TMPL_ELSE -->
401                         <option value=" ">#- No biographical material</option>
402                         <!-- /TMPL_IF -->
403                         <!-- TMPL_IF name="f17a" -->
404                         <option value="a" SELECTED>a- Autobiography</option>
405                         <!-- TMPL_ELSE -->
406                         <option value="a">a- Autobiography</option>
407                         <!-- /TMPL_IF -->
408
409                         <!-- TMPL_IF name="f17b" -->
410                         <option value="b" SELECTED>b- Individual biography</option>                              <!-- TMPL_ELSE -->
411                         <option value="b">b- Individual biography</option>
412                         <!-- /TMPL_IF -->
413
414                         <!-- TMPL_IF name="f17c" -->
415                         <option value="c" SELECTED>c- Collective biography</option>                              <!-- TMPL_ELSE -->
416                         <option value="c">c- Collective biographyl</option>
417                         <!-- /TMPL_IF -->
418                         
419                         <!-- TMPL_IF name="f17d" -->
420                         <option value="d" SELECTED>d- Contains bibliographic information</option>                              <!-- TMPL_ELSE -->
421                         <option value="d">d- Contains bibliographic information</option>
422                         <!-- /TMPL_IF -->
423                 </select>
424                 </td>
425         </tr>
426
427         <tr><td colspan=2><input type="submit" value="OK"></td></tr>
428 </table>
429 </form>
430 <script>
431 function report() {
432                 opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value = 
433                         '<!-- TMPL_VAR NAME="dateentered" -->'+
434                         document.f_pop.f0.value+
435                         document.f_pop.f014.value+
436                         document.f_pop.f5.value+
437                         document.f_pop.f6.value+
438                         document.f_pop.f710.value+
439                         document.f_pop.f11.value+
440                         document.f_pop.f12.value+
441                         document.f_pop.f13.value+
442                         document.f_pop.f14.value+ ' '+
443                         document.f_pop.f16.value+
444                         document.f_pop.f17.value;
445                 self.close();
446                 return false;
447         }
448 </script>
449 </body>
450 </html>