Merge remote branch 'kc/new/for-3.4/spelling' into kcmaster
[wip/koha-chris_n.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / marc21_field_008.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Cataloging &rsaquo; 008 builder</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body style="padding:1em;">
6 <h3> 008 Fixed-length data elements--General information</h3>
7 <form name="f_pop" onsubmit="report()" action="">
8 <input type="hidden" name="plugin_name" value="marc21_field_008.pl" />
9 <table>
10         <tr>
11                 <td>1-5 Date entered on file (auto-filled)</td>
12                 <td><input type="text" name="f1" maxlength="6" size="7" value="<!-- TMPL_VAR name="f1" -->" /></td>
13         </tr>
14         <tr>
15                 <!-- 06 Type of date / Publication status -->
16                 <td><label for="f6">06- Type of date / Publication Status</label></td>
17                 <td>
18                         <!-- NO DATE; B.C. DATE -->
19
20                         <select name="f6" id="f6" size="1">
21                         <!-- TMPL_IF name="f60" -->
22                                 <option value=" " selected="selected">#- Blank</option>
23                         <!-- TMPL_ELSE -->
24                                 <option value=" ">#- Blank</option>
25                         <!-- /TMPL_IF -->
26
27                         <!-- TMPL_IF name="f6b" -->
28                                 <option value="b" selected="selected">b- B.C. Date</option>
29                         <!-- TMPL_ELSE -->
30                                 <option value="b">b- B.C. Date</option>
31                         <!-- /TMPL_IF -->
32
33                         <!-- SINGLE DATE -->
34                         <!-- TMPL_IF name="f6e" -->
35                                 <option value="e" selected="selected">e- Detailed date</option>
36                         <!-- TMPL_ELSE -->
37                                 <option value="e">e- Detailed date</option>
38                         <!-- /TMPL_IF -->
39                         <!-- TMPL_IF name="f6s" -->
40                                 <option value="s" selected="selected">s- Single date</option>
41                         <!-- TMPL_ELSE -->
42                                 <option value="s">s- Single date</option>
43                         <!-- /TMPL_IF -->
44
45                         <!-- MULTIPLE DATES -->
46                         <!-- TMPL_IF name="f6i" -->
47                                 <option value="i" selected="selected">i- Inclusive dates of collection</option>
48                         <!-- TMPL_ELSE -->
49                                 <option value="i">i- Inclusive dates of collection</option>
50                         <!-- /TMPL_IF -->
51                         <!-- TMPL_IF name="f6k" -->
52                                 <option value="k" selected="selected">k- Range of years of bulk collection</option>
53                         <!-- TMPL_ELSE -->
54                                 <option value="k">k- Range of years of bulk collection</option>
55                         <!-- /TMPL_IF -->
56                         <!-- TMPL_IF name="f6m" -->
57                                 <option value="m" selected="selected">m- Multiple dates</option>
58                         <!-- TMPL_ELSE -->
59                                 <option value="m">m- Multiple dates</option>
60                         <!-- /TMPL_IF -->
61                         <!-- TMPL_IF name="f6p" -->
62                                 <option value="p" selected="selected">p- Distribution/production date</option>
63                         <!-- TMPL_ELSE -->
64                                 <option value="p">p- Distribution/production date</option>
65                         <!-- /TMPL_IF -->
66         
67                         <!-- TMPL_IF name="f6r" -->
68                                 <option value="r" selected="selected">r- Reprint/original date</option>
69                         <!-- TMPL_ELSE -->
70                                 <option value="r">r- Reprint/original date</option>
71                         <!-- /TMPL_IF -->
72
73                         <!-- TMPL_IF name="f6t" -->
74                                 <option value="t" selected="selected">t- Publication date and copyright date</option>
75                         <!-- TMPL_ELSE -->
76                                 <option value="t">t- Publication date and copyright date</option>
77                         <!-- /TMPL_IF -->
78
79                         <!-- UNKNOWN DATES -->
80                         <!-- TMPL_IF name="f6n" -->
81                                 <option value="n" selected="selected">n- Dates unknown</option>
82                         <!-- TMPL_ELSE -->
83                                 <option value="n">n- Dates unknown</option>
84                         <!-- /TMPL_IF -->
85
86                         <!-- TMPL_IF name="f6q" -->
87                                 <option value="q" selected="selected">q- Questionable date</option>
88                         <!-- TMPL_ELSE -->
89                                 <option value="q">q- Questionable date</option>
90                         <!-- /TMPL_IF -->
91
92                         <!-- TMPL_IF name="f6c" -->
93                                 <option value="c" selected="selected">c- Serial item currently published</option>
94                         <!-- TMPL_ELSE -->
95                                 <option value="c">c- Serial item currently published</option>
96                         <!-- /TMPL_IF -->
97                                 
98                         <!-- TMPL_IF name="f6d" -->
99                                 <option value="d" selected="selected">d- Serial item ceased publication (Dead status)</option>
100                         <!-- TMPL_ELSE -->
101                                 <option value="d">d- Serial item ceased publication (Dead status)</option>
102                         <!-- /TMPL_IF -->
103                         <!-- TMPL_IF name="f6u" -->
104                                 <option value="u" selected="selected">u- Serial item status unknown</option>
105                         <!-- TMPL_ELSE -->
106                                 <option value="u">u- Serial item status unknown</option>
107                         <!-- /TMPL_IF -->
108
109
110         
111                         </select>
112                 </td>
113         </tr>
114         <tr>
115                 <td><label for="f710">7-10 Date1 / Beginning date of publication</label> </td>
116                 <td>
117                         <input type="text" name="f710" id="f710" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f710" -->"/>
118                 </td>
119         </tr>
120         <tr>
121                 <td><label for="f1114">11-14 Date2 / ending date of publication</label> </td>
122                 <td>
123                         <input type="text" name="f1114" id="f1114" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f1114" -->"/>                </td>
124         </tr>
125
126         <tr>
127                 <td><label for="f1517">15-17 Place of publication, production, or execution</label> See <a href="http://www.loc.gov/marc/countries/countries_code.html">MARC Code List for Countries</a> </td>
128                 <td>
129                         <input type="text" name="f1517" id="f1517" size="3"  maxlength="3" value="<!-- TMPL_VAR NAME="f1517" -->"/>
130                 </td>
131         </tr>
132          <tr>
133                 <td><label for="f1821">18-21 Illustrations</label> </td>
134                 <td>(auto-filled from 300)<input type="hidden" name="f1821" id="f1821" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f1821" -->"/></td>
135         </tr>
136         <tr>
137                 <!-- 22 Target Audience -->
138                 <td><label for="f22">22- Target Audience</label></td>
139                 <td>                        
140                 <select name="f22" id="f22" size="1">
141
142                         <!-- TMPL_IF name="f22|" -->
143                         <option value="|" selected="selected">|- Default</option>
144                         <!-- TMPL_ELSE -->
145                         <option value="|">|- Default</option>
146                         <!-- /TMPL_IF -->
147                         <!-- TMPL_IF name="f220" -->
148                         <option value=" " selected="selected">#- Unknown or not specified</option>
149                         <!-- TMPL_ELSE -->
150                         <option value=" ">#- Unknown or not specified</option>
151                         <!-- /TMPL_IF -->
152
153                         <!-- TMPL_IF name="f22a" -->
154                          <option value="a" selected="selected">a- Preschool</option>
155                         <!-- TMPL_ELSE -->
156                         <option value="a">a- Preschool</option>
157                         <!-- /TMPL_IF -->
158
159                         <!-- TMPL_IF name="f22b" -->
160                          <option value="b" selected="selected">b- Primary</option>
161                         <!-- TMPL_ELSE -->
162                         <option value="b">b- Primary</option>
163                         <!-- /TMPL_IF -->       
164
165                         <!-- TMPL_IF name="f22c" -->
166                          <option value="c" selected="selected">c- Elementary and junior high</option>
167                         <!-- TMPL_ELSE -->
168                         <option value="c">c- Elementary and junior high</option>
169                         <!-- /TMPL_IF -->
170
171                         <!-- TMPL_IF name="f22d" -->
172                          <option value="d" selected="selected">d- Secondary (senior high)</option>
173                         <!-- TMPL_ELSE -->
174                         <option value="d">d- Secondary (senior high)</option>
175                         <!-- /TMPL_IF -->
176
177                         <!-- TMPL_IF name="f22e" -->
178                          <option value="e" selected="selected">e- Adult</option>
179                         <!-- TMPL_ELSE -->
180                         <option value="e">e- Adult</option>
181                         <!-- /TMPL_IF -->
182
183                         <!-- TMPL_IF name="f22f" -->
184                          <option value="f" selected="selected">f- Specialized</option>
185                         <!-- TMPL_ELSE -->
186                         <option value="f">f- Specialized</option>
187                         <!-- /TMPL_IF -->
188
189                         <!-- TMPL_IF name="f22g" -->
190                          <option value="g" selected="selected">g- General</option>
191                         <!-- TMPL_ELSE -->
192                         <option value="g">g- General</option>
193                         <!-- /TMPL_IF -->
194
195                         <!-- TMPL_IF name="f22j" -->
196                          <option value="j" selected="selected">j- Juvenile</option>
197                         <!-- TMPL_ELSE -->
198                         <option value="j">j- Juvenile</option>
199                         <!-- /TMPL_IF -->
200                 </select>
201                 </td>
202         </tr>
203         <tr>
204                 <!-- 23 Form of an item -->
205                 <td><label for="f23">23- Form of an item</label></td>
206                 <td>
207                 <select name="f23" id="f23" size="1">
208
209                         <!-- TMPL_IF name="f230" -->
210                         <option value=" " selected="selected">#- None of the following</option>
211                         <!-- TMPL_ELSE -->
212                         <option value=" ">#- None of the following</option>
213                         <!-- /TMPL_IF -->
214
215                         <!-- TMPL_IF name="f23a" -->
216                         <option value="a" selected="selected">a- Microfilm</option>
217                         <!-- TMPL_ELSE -->
218                         <option value="a">a- Microfilm</option>
219                         <!-- /TMPL_IF -->
220                         
221                         <!-- TMPL_IF name="f23b" -->
222                         <option value="b" selected="selected">b- Microfiche</option>
223                         <!-- TMPL_ELSE -->
224                         <option value="b">b- Microfiche</option>
225                         <!-- /TMPL_IF -->
226
227                         <!-- TMPL_IF name="f23c" -->
228                         <option value="c" selected="selected">a- Microopaque</option>
229                         <!-- TMPL_ELSE -->
230                         <option value="c">a- Microopaque</option>
231                         <!-- /TMPL_IF -->
232
233                         <!-- TMPL_IF name="f23d" -->
234                         <option value="d" selected="selected">d- Large Print</option>
235                         <!-- TMPL_ELSE -->
236                         <option value="d">d- Large Print</option>
237                         <!-- /TMPL_IF -->
238
239                         <!-- TMPL_IF name="f23f" -->
240                         <option value="f" selected="selected">f- Braille</option>
241                         <!-- TMPL_ELSE -->
242                         <option value="f">f- Braille</option>
243                         <!-- /TMPL_IF -->
244
245                         <!-- TMPL_IF name="f23r" -->
246                         <option value="r" selected="selected">r- Regular print reproduction</option>
247                         <!-- TMPL_ELSE -->
248                         <option value="r">r- Regular print reproduction</option>
249                         <!-- /TMPL_IF -->
250
251                         <!-- TMPL_IF name="f23s" -->
252                         <option value="s" selected="selected">s- Electronic</option>
253                         <!-- TMPL_ELSE -->
254                         <option value="s">s- Electronic</option>
255                         <!-- /TMPL_IF -->
256
257                         <!-- TMPL_IF name="f23!" -->
258                         <option value="!" selected="selected">!- No attempt to code</option>
259                         <!-- TMPL_ELSE -->
260                         <option value="!">!- No attempt to code</option>
261                         <!-- /TMPL_IF -->
262                 </select>
263                 </td>
264         </tr>
265         <tr>
266                 <td><label for="f2427">24-27 Nature of contents</label> </td>
267                 <td>(Derived value)
268                         <input type="hidden" name="f2427" id="f2427" size="4" maxlength="4" value="<!-- TMPL_VAR NAME="f2427" -->"/>                </td>
269         </tr>
270         <tr>
271                 <td><label for="f28">28- Government Publication</label></td>
272                 <td>
273                 <select name="f28" id="f28" size="1">                                    
274                         <!-- TMPL_IF name="f280" -->
275                         <option value=" " selected="selected">#- Not a government publication</option>
276                         <!-- TMPL_ELSE -->
277                         <option value=" ">#- Not a government publication</option>
278                         <!-- /TMPL_IF -->
279                         
280                         <!-- TMPL_IF name="f28a" -->
281                         <option value="a" selected="selected">a- Autonomous or semi-autonomous component</option>
282                         <!-- TMPL_ELSE -->
283                         <option value="a">a- Autonomous or semi-autonomous component</option>
284                         <!-- /TMPL_IF -->
285
286                         <!-- TMPL_IF name="f28c" -->
287                         <option value="c" selected="selected">c- Multilocal</option>
288                         <!-- TMPL_ELSE -->
289                         <option value="c">c- Multilocal</option>
290                         <!-- /TMPL_IF -->
291                         
292                         <!-- TMPL_IF name="f28f" -->
293                         <option value="f" selected="selected">f- Federal/national</option>
294                         <!-- TMPL_ELSE -->
295                         <option value="f">f- Federal/national</option>
296                         <!-- /TMPL_IF -->
297
298
299                         <!-- TMPL_IF name="f28i" -->
300                         <option value="i" selected="selected">i- International intergovernmental</option>
301                         <!-- TMPL_ELSE -->
302                         <option value="i">i- International intergovernmental</option>
303                         <!-- /TMPL_IF -->
304
305
306                         <!-- TMPL_IF name="f28l" -->
307                         <option value="l" selected="selected">l- Local</option>
308                         <!-- TMPL_ELSE -->
309                         <option value="l">l- Local</option>
310                         <!-- /TMPL_IF -->
311
312                         
313                         <!-- TMPL_IF name="f28m" -->
314                         <option value="m" selected="selected">m- Multistate</option>
315                         <!-- TMPL_ELSE -->
316                         <option value="m">m- Multistate</option>
317                         <!-- /TMPL_IF -->
318                         
319                         <!-- TMPL_IF name="f28o" -->
320                         <option value="o" selected="selected">o- Government publication - level undetermined</option>
321                         <!-- TMPL_ELSE -->
322                         <option value="o">o- Government publication - level undetermined</option>
323                         <!-- /TMPL_IF -->
324                         
325                         <!-- TMPL_IF name="f28s" -->
326                         <option value="s" selected="selected">s- State, provincial,territorial,dependent,etc.</option>
327                         <!-- TMPL_ELSE -->
328                         <option value="s">s- State,provincial,territorial,dependent,etc.</option>
329                         <!-- /TMPL_IF -->
330                         
331                         <!-- TMPL_IF name="f28u" -->
332                         <option value="u" selected="selected">u- Unknown if item is government publication</option>
333                         <!-- TMPL_ELSE -->
334                         <option value="u">u- Unknown if item is government publication</option>
335                         <!-- /TMPL_IF -->
336                         
337                         <!-- TMPL_IF name="f28z" -->
338                         <option value="z" selected="selected">z- Other</option>
339                         <!-- TMPL_ELSE -->
340                         <option value="z">z- Other</option>
341                         <!-- /TMPL_IF -->
342                 </select>
343                 </td>
344         </tr>
345         <tr>
346                 <td><label for="f29">29- Conference publication</label></td>
347                 <td>
348                 <select name="f29" id="f29" size="1">
349                         <!-- TMPL_IF name="f290" -->
350                         <option value="0" selected="selected">0- Not a conference publication</option>
351                         <!-- TMPL_ELSE -->
352                         <option value="0">0- Not a conference publication</option>
353                         <!-- /TMPL_IF -->
354                         <!-- TMPL_IF name="f291" -->
355                         <option value="1" selected="selected">1- Conference publication</option>
356                         <!-- TMPL_ELSE -->
357                         <option value="1">1- Conference publication</option>
358                         <!-- /TMPL_IF -->
359
360                 </select>
361                 </td>
362         </tr>
363         <tr>
364                 <td><label for="f30">30- Festschrift</label></td>
365                 <td>
366                 <select name="f30" id="f30" size="1">
367                         <!-- TMPL_IF name="f300" -->
368                         <option value="0" selected="selected">0- Not a festschrift</option>
369                         <!-- TMPL_ELSE -->
370                         <option value="0">0- Not a festschrift</option>
371                         <!-- /TMPL_IF -->
372                         <!-- TMPL_IF name="f301" -->
373                         <option value="1" selected="selected">1- Festschrift</option>
374                         <!-- TMPL_ELSE -->
375                         <option value="1">1- Festschrift</option>
376                         <!-- /TMPL_IF -->
377                 </select>
378                 </td>
379         </tr>
380
381         <tr>
382                 <td><label for="f31">31- Index</label></td>
383                 <td>
384                 <select name="f31" id="f31" size="1">
385                         <!-- TMPL_IF name="f31|" -->
386                         <option value="|" selected="selected">|- Default</option>
387                         <!-- TMPL_ELSE -->
388                         <option value="|">|- Default</option>
389                         <!-- /TMPL_IF -->
390
391                         <!-- TMPL_IF name="f310" -->
392                         <option value="0" selected="selected">0- No Index</option>
393                         <!-- TMPL_ELSE -->
394                         <option value="0">0- No Index</option>
395                         <!-- /TMPL_IF -->
396                         <!-- TMPL_IF name="f311" -->
397                         <option value="1" selected="selected">1- Index present</option>
398                         <!-- TMPL_ELSE -->
399                         <option value="1">1- Index present</option>
400                         <!-- /TMPL_IF -->
401                 </select>
402                 </td>
403                 </tr>
404                 <tr><td>32 Undefined</td><td></td>
405                 </tr>
406                 <tr>
407                 <td><label for="f33">33- Literary form</label></td>
408                 <td>
409                 <select name="f33" id="f33" size="1">
410                         <!-- TMPL_IF name="f330" -->
411                         <option value="0" selected="selected">0- Not fiction</option>
412                         <!-- TMPL_ELSE -->
413                         <option value="0">0- Not fiction</option>
414                         <!-- /TMPL_IF -->
415                         <!-- TMPL_IF name="f331" -->
416                         <option value="1" selected="selected">1- Fiction</option>
417                         <!-- TMPL_ELSE -->
418                         <option value="1">1- Fiction</option>
419                         <!-- /TMPL_IF -->
420                         <!-- TMPL_IF name="f33c" -->
421                         <option value="c" selected="selected">c- Comic strips</option>
422                         <!-- TMPL_ELSE -->
423                         <option value="c">c- Comic strips</option>
424                         <!-- /TMPL_IF -->
425                         
426                         <!-- TMPL_IF name="f33d" -->
427                         <option value="d" selected="selected">d- Dramas</option>
428                         <!-- TMPL_ELSE -->
429                         <option value="d">d- Dramas</option>
430                         <!-- /TMPL_IF -->
431
432
433                         <!-- TMPL_IF name="f33e" -->
434                         <option value="e" selected="selected">e- Essays</option>
435                         <!-- TMPL_ELSE -->
436                         <option value="e">e- Essays</option>
437                         <!-- /TMPL_IF -->
438
439                         
440                         <!-- TMPL_IF name="f33f" -->
441                         <option value="f" selected="selected">f- Novels</option>
442                         <!-- TMPL_ELSE -->
443                         <option value="f">f- Novels</option>
444                         <!-- /TMPL_IF -->
445
446                         
447                         <!-- TMPL_IF name="f33h" -->
448                         <option value="h" selected="selected">h- Humor,satires,etc.</option>
449                         <!-- TMPL_ELSE -->
450                         <option value="h">h- Humor,satires,etc.</option>
451                         <!-- /TMPL_IF -->
452                         
453                         <!-- TMPL_IF name="f33i" -->
454                         <option value="i" selected="selected">i- Letters</option>
455                         <!-- TMPL_ELSE -->
456                         <option value="i">i- Letters</option>
457                         <!-- /TMPL_IF -->
458                         
459                         <!-- TMPL_IF name="f33j" -->
460                         <option value="j" selected="selected">j- Short stories</option>
461                         <!-- TMPL_ELSE -->
462                         <option value="j">j- Short stories</option>
463                         <!-- /TMPL_IF -->
464                         
465                         <!-- TMPL_IF name="f33m" -->
466                         <option value="m" selected="selected">m- Mixed forms</option>
467                         <!-- TMPL_ELSE -->
468                         <option value="m">m- Mixed forms</option>
469                         <!-- /TMPL_IF -->
470
471                         <!-- TMPL_IF name="f33p" -->
472                         <option value="p" selected="selected">p- Poetry</option>
473                         <!-- TMPL_ELSE -->
474                         <option value="p">p- Poetry</option>
475                         <!-- /TMPL_IF -->
476
477                         <!-- TMPL_IF name="f33s" -->
478                         <option value="s" selected="selected">s- Speeches</option>
479                         <!-- TMPL_ELSE -->
480                         <option value="s">s- Speeches</option>
481                         <!-- /TMPL_IF -->
482                         
483                         <!-- TMPL_IF name="f33u" -->
484                         <option value="u" selected="selected">u- Unknown</option>
485                         <!-- TMPL_ELSE -->
486                         <option value="u">u- Unknown</option>
487                         <!-- /TMPL_IF -->
488
489
490
491                 </select>
492                 </td>
493         </tr>
494         <tr>
495                 <td><label for="f34">34- Biography</label></td>
496                 <td>
497                 <select name="f34" id="f34" size="1">
498                         <!-- TMPL_IF name="f340" -->
499                         <option value=" " selected="selected">#- No biographical material</option>                              <!-- TMPL_ELSE -->
500                         <option value=" ">#- No biographical material</option>
501                         <!-- /TMPL_IF -->
502                         <!-- TMPL_IF name="f34a" -->
503                         <option value="a" selected="selected">a- Autobiography</option>
504                         <!-- TMPL_ELSE -->
505                         <option value="a">a- Autobiography</option>
506                         <!-- /TMPL_IF -->
507
508                         <!-- TMPL_IF name="f34b" -->
509                         <option value="b" selected="selected">b- Individual biography</option>                              <!-- TMPL_ELSE -->
510                         <option value="b">b- Individual biography</option>
511                         <!-- /TMPL_IF -->
512
513                         <!-- TMPL_IF name="f34c" -->
514                         <option value="c" selected="selected">c- Collective biography</option>                              <!-- TMPL_ELSE -->
515                         <option value="c">c- Collective biography</option>
516                         <!-- /TMPL_IF -->
517                         
518                         <!-- TMPL_IF name="f34d" -->
519                         <option value="d" selected="selected">d- Contains biographical information</option>                              <!-- TMPL_ELSE -->
520                         <option value="d">d- Contains biographical information</option>
521                         <!-- /TMPL_IF -->
522                 </select>
523                 </td>
524         </tr>
525
526          <tr>
527
528                 <td><label for="f3537">35-37 Language</label> See <a href="http://www.loc.gov/marc/languages/language_code.html">MARC Code List for Languages</a></td>
529                 <td>
530                         <input type="text" name="f3537" id="f3537" size="4"  maxlength="4" value="<!-- TMPL_VAR NAME="f3537" -->"/>
531                 </td>
532         </tr>
533         <tr>
534                 <td><label for="f38">38- Modified Record</label></td>
535                 <td>                
536                 <select name="f38" id="f38" size="1">                                           
537                         <!-- TMPL_IF name="f380" -->
538                         <option value=" " selected="selected">#- Not modified</option>
539                         <!-- TMPL_ELSE -->
540                         <option value=" ">#- Not modified</option>
541                         <!-- /TMPL_IF -->
542                         
543                         <!-- TMPL_IF name="f38s" -->
544                         <option value="s" selected="selected">s- Shortened</option>
545                         <!-- TMPL_ELSE -->
546                         <option value="s">s- Shortened</option>
547                         <!-- /TMPL_IF -->
548
549                         <!-- TMPL_IF name="f38d" -->
550                         <option value="d" selected="selected">d- Dashed-on information omitted</option>
551                         <!-- TMPL_ELSE -->
552                         <option value="d">d- Dashed-on information omitted</option>
553                         <!-- /TMPL_IF -->
554
555                         <!-- TMPL_IF name="f38x" -->
556                         <option value="x" selected="selected">x- Missing characters</option>
557                         <!-- TMPL_ELSE -->
558                         <option value="x">x- Missing characters</option>
559                         <!-- /TMPL_IF -->
560
561                         <!-- TMPL_IF name="f38r" -->
562                         <option value="r" selected="selected">r- Completely romanized/printed cards in script</option>
563                         <!-- TMPL_ELSE -->
564                         <option value="r">r- Completely romanized/printed cards in script</option>
565                         <!-- /TMPL_IF -->
566
567                         <!-- TMPL_IF name="f38o" -->
568                         <option value="o" selected="selected">o- Completely romainzed/printed cards romanized</option>
569                         <!-- TMPL_ELSE -->
570                         <option value="o">o- Completely romanized/printed cards romanized</option>
571                         <!-- /TMPL_IF -->
572                 </select>
573
574                 </td>
575         </tr>
576 <tr>
577                 <td><label for="f39">39- Cataloging source</label></td>
578                 <td>
579                 <select name="f39" id="f39" size="1">                                    
580                         <!-- TMPL_IF name="f390" -->
581                         <option value=" " selected="selected">#- National bibliographic agency</option>
582                         <!-- TMPL_ELSE -->
583                         <option value=" ">#- National bibliographic agency</option>
584                         <!-- /TMPL_IF -->
585
586                         <!-- TMPL_IF name="f39c" -->
587                         <option value="c" selected="selected">c- Cooperative cataloging program</option>
588                         <!-- TMPL_ELSE -->
589                         <option value="c">c- Cooperative cataloging program</option>
590                         <!-- /TMPL_IF -->
591                         <!-- TMPL_IF name="f39d" -->
592                         <option value="d" selected="selected">d- Other</option>
593                         <!-- TMPL_ELSE -->
594                         <option value="d">d- Other</option>
595                         <!-- /TMPL_IF -->
596
597                         <!-- TMPL_IF name="f39u" -->
598                         <option value="u" selected="selected">u- Unknown</option>
599                         <!-- TMPL_ELSE -->
600                         <option value="u">u- Unknown</option>
601                         <!-- /TMPL_IF -->
602                 </select>
603                 </td>
604         </tr>
605
606 </table>
607 <fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
608 </form>
609 <script type="text/javascript">//<![CDATA[
610
611 // Pad the string with spaces so that it is 4 characters long.
612 // Also, truncate strings that are longer than 4 characters.
613 function pad4(s) {
614         var pad = "";
615         if (s.length < 4) {
616                 var padLength = 4 - s.length;
617                 for (var i = 0; i < 4 - s.length; i++) {
618                         pad += " ";
619                 }
620                 s += pad;
621         } else {
622                 s = s.substring(0, 4);
623         }
624         return s;
625 }
626
627 function report() {
628             var doc   = opener.document; 
629             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
630             field.value = 
631                         document.f_pop.f1.value+
632                         document.f_pop.f6.value+
633                         // bug 2563 {
634                         ( document.f_pop.f710.value.match(/^\s*$/)  ? "    " : pad4(document.f_pop.f710.value)  )+
635                         ( document.f_pop.f1114.value.match(/^\s*$/) ? "    " : pad4(document.f_pop.f1114.value) )+
636                         // }
637                         //MR
638                         (document.f_pop.f1517.value+"   ").substr(0,3)+
639                         document.f_pop.f1821.value+
640                         document.f_pop.f22.value+
641                         document.f_pop.f23.value+
642                         document.f_pop.f2427.value+
643                         document.f_pop.f28.value+
644                         document.f_pop.f29.value+
645                         document.f_pop.f30.value+
646                         document.f_pop.f31.value+ ' '+
647                         document.f_pop.f33.value+
648                         document.f_pop.f34.value+
649                         //MR
650                         (document.f_pop.f3537.value+"   ").substr(0,3)+
651                         document.f_pop.f38.value+
652                         document.f_pop.f39.value;
653                 self.close();
654                 return false;
655         }
656         //]]>
657 </script>
658
659 <!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->