Further fixes for Bug 3211, cataloging value plugin forms should be valid XHTML
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_leader.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>UNIMARC Leader builder</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body style="padding:1em;">
6 <h3>UNIMARC Leader builder</h3>
7 <form name="f_pop" action="">
8 <table>
9         <tr>
10                 <td>1-4 Record length</td>
11                 <td>(auto-calculated)</td>
12         </tr>
13         <tr>
14                 <td><label for="f5">5- Record status</label></td>
15                 <td>
16                         <select name="f5" id="f5" size="1">
17                         <!-- TMPL_IF name="f5|" -->
18                 <option value="|" selected="selected">|- Filling character</option>
19             <!-- TMPL_ELSE -->
20                 <option value="|">|- Filling character</option>
21             <!-- /TMPL_IF -->
22             
23                         <!-- TMPL_IF name="f5c" -->
24                                 <option value="c" selected="selected">c - Corrected or updated record</option>
25                         <!-- TMPL_ELSE -->
26                                 <option value="c">c - Corrected record</option>
27                         <!-- /TMPL_IF -->
28                         <!-- TMPL_IF name="f5d" -->
29                                 <option value="d" selected="selected">d - Deleted record</option>
30                         <!-- TMPL_ELSE -->
31                                 <option value="d">d - Deleted record</option>
32                         <!-- /TMPL_IF -->
33                         <!-- TMPL_IF name="f5n" -->
34                                 <option value="n" selected="selected">n - New record</option>
35                         <!-- TMPL_ELSE -->
36                                 <option value="n">n - New record</option>
37                         <!-- /TMPL_IF -->
38                         <!-- TMPL_IF name="f5o" -->
39                                 <option value="o" selected="selected">o - Previously issued higher level record</option>
40                         <!-- TMPL_ELSE -->
41                                 <option value="o">o - Previously issued higher level record</option>
42                         <!-- /TMPL_IF -->
43                         <!-- TMPL_IF name="f5p" -->
44                                 <option value="p" selected="selected">p - Previously issued as an incomplete, pre-publication record</option>
45                         <!-- TMPL_ELSE -->
46                                 <option value="p">p - Previously issued as an incomplete, pre-publication record</option>
47                         <!-- /TMPL_IF -->
48                         </select>
49                 </td>
50         </tr>
51         <tr>
52                 <td><label for="f6">6- Type of record</label></td>
53                 <td>
54                         <select name="f6" id="f6" size="1">
55                         <!-- TMPL_IF name="f6|" -->
56                 <option value="|" selected="selected">|- Filling character</option>
57             <!-- TMPL_ELSE -->
58                 <option value="|">|- Filling character</option>
59             <!-- /TMPL_IF -->
60             
61                         <!-- TMPL_IF name="f6a" -->
62                                 <option value="a" selected="selected">a - Language materials, printed</option>
63                         <!-- TMPL_ELSE -->
64                                 <option value="a">a - Language materials, printed</option>
65                         <!-- /TMPL_IF -->
66                         
67                         <!-- TMPL_IF name="f6b" -->
68                                 <option value="b" selected="selected">b - Language materials, manuscript</option>
69                         <!-- TMPL_ELSE -->
70                                 <option value="b">b - Language materials, manuscript</option>
71                         <!-- /TMPL_IF -->
72                         
73                         <!-- TMPL_IF name="f6c" -->
74                                 <option value="c" selected="selected">c - Music scores, printed</option>
75                         <!-- TMPL_ELSE -->
76                                 <option value="c">c - Music scores, printed</option>
77                         <!-- /TMPL_IF -->
78                         
79                         <!-- TMPL_IF name="f6d" -->
80                                 <option value="d" selected="selected">d - Music scores, manuscript</option>
81                         <!-- TMPL_ELSE -->
82                                 <option value="d">d - Music scores, manuscript</option>
83                         <!-- /TMPL_IF -->
84                         
85                         <!-- TMPL_IF name="f6e" -->
86                                 <option value="e" selected="selected">e - Cartographic materials, printed</option>
87                         <!-- TMPL_ELSE -->
88                                 <option value="e">e - Cartographic materials, printed</option>
89                         <!-- /TMPL_IF -->
90                         
91                         <!-- TMPL_IF name="f6f" -->
92                                 <option value="f" selected="selected">f - Cartographic materials, manuscript</option>
93                         <!-- TMPL_ELSE -->
94                                 <option value="f">f - Cartographic materials, manuscript</option>
95                         <!-- /TMPL_IF -->
96                         
97                         <!-- TMPL_IF name="f6g" -->
98                                 <option value="g" selected="selected">g - Projected and video material</option>
99                         <!-- TMPL_ELSE -->
100                                 <option value="g">g - Projected and video material</option>
101                         <!-- /TMPL_IF -->
102                         
103                         <!-- TMPL_IF name="f6i" -->
104                                 <option value="i" selected="selected">i - Sound recordings, nonmusical performance</option>
105                         <!-- TMPL_ELSE -->
106                                 <option value="i">i - Sound recordings, nonmusical performance</option>
107                         <!-- /TMPL_IF -->
108                         
109                         <!-- TMPL_IF name="f6j" -->
110                                 <option value="j" selected="selected">j - Sound recordings, musical performance</option>
111                         <!-- TMPL_ELSE -->
112                                 <option value="j">j - Sound recordings, musical performance</option>
113                         <!-- /TMPL_IF -->
114                         
115                         <!-- TMPL_IF name="f6k" -->
116                                 <option value="k" selected="selected">k - Two-dimensional graphics</option>
117                         <!-- TMPL_ELSE -->
118                                 <option value="k">k - Two-dimensional graphics</option>
119                         <!-- /TMPL_IF -->
120                         
121                         <!-- TMPL_IF name="f6l" -->
122                                 <option value="l" selected="selected">l - Electronic resources</option>
123                         <!-- TMPL_ELSE -->
124                                 <option value="l">l - Electronic resources</option>
125                         <!-- /TMPL_IF -->
126                         
127                         <!-- TMPL_IF name="f6m" -->
128                                 <option value="m" selected="selected">m - Multimedia</option>
129                         <!-- TMPL_ELSE -->
130                                 <option value="m">m - Multimedia</option>
131                         <!-- /TMPL_IF -->
132                         
133                         <!-- TMPL_IF name="f6r" -->
134                                 <option value="r" selected="selected">r - Three-dimensional artefacts and realia</option>
135                         <!-- TMPL_ELSE -->
136                                 <option value="r">r - Three-dimensional artefacts and realia</option>
137                         <!-- /TMPL_IF -->
138                         
139                         </select>
140                 </td>
141         </tr>
142         <tr>
143                 <td><label for="f7">7- Bibliographic level</label></td>
144                 <td>
145                         <select name="f7" id="f7" size="1">
146                         <!-- TMPL_IF name="f7|" -->
147                 <option value="|" selected="selected">|- Filling character</option>
148             <!-- TMPL_ELSE -->
149                 <option value="|">|- Filling character</option>
150             <!-- /TMPL_IF -->
151             
152                                 <!-- TMPL_IF name="f7a" -->
153                                         <option value="a" selected="selected">a - Analytic (component part)</option>
154                                 <!-- TMPL_ELSE -->
155                                         <option value="a">a - Analytic (component part)</option>
156                                 <!-- /TMPL_IF -->
157                                 <!-- TMPL_IF name="f7i" -->
158                                         <option value="i" selected="selected">i - Integrating resource</option>
159                                 <!-- TMPL_ELSE -->
160                                         <option value="i">i - Integrating resource</option>
161                                 <!-- /TMPL_IF -->
162                                 <!-- TMPL_IF name="f7c" -->
163                                         <option value="c" selected="selected">c - Collection - bibliographic item that is a made-up collection</option>
164                                 <!-- TMPL_ELSE -->
165                                         <option value="c">c - Collection - bibliographic item that is a made-up collection</option>
166                                 <!-- /TMPL_IF -->
167                                 <!-- TMPL_IF name="f7m" -->
168                                         <option value="m" selected="selected">m - Monographic - Bibliographic item</option>
169                                 <!-- TMPL_ELSE -->
170                                         <option value="m">m - Monographic - Bibliographic item</option>
171                                 <!-- /TMPL_IF -->
172                                 <!-- TMPL_IF name="f7s" -->
173                                         <option value="s" selected="selected">s - Serial - Bibliographic item</option>
174                                 <!-- TMPL_ELSE -->
175                                         <option value="s">s - Serial - Bibliographic item</option>
176                                 <!-- /TMPL_IF -->
177                         </select>
178                 </td>
179         </tr>
180         
181         <tr>
182                 <td><label for="f8">8- Hierarchical level code</label></td>
183                 <td>
184                         <select name="f8" id="f8" size="1">
185                         <!-- TMPL_IF name="f8|" -->
186                 <option value="|" selected="selected">|- Filling character</option>
187             <!-- TMPL_ELSE -->
188                 <option value="|">|- Filling character</option>
189             <!-- /TMPL_IF -->
190             
191                                 <!-- TMPL_IF name="f8 " -->
192                                         <option value=" " selected="selected"> - Hierarchical relationship undefined</option>
193                                 <!-- TMPL_ELSE -->
194                                         <option value=" "> - Hierarchical relationship undefined</option>
195                                 <!-- /TMPL_IF -->
196                                 
197                                 <!-- TMPL_IF name="f80" id="f80" -->
198                                         <option value="0" selected="selected">0 - No hierarchical relationship</option>
199                                 <!-- TMPL_ELSE -->
200                                         <option value="0">0 - No hierarchical relationship</option>
201                                 <!-- /TMPL_IF -->
202                                 
203                                 <!-- TMPL_IF name="f81" id="f81" -->
204                                         <option value="1" selected="selected">1 - Highest level record</option>
205                                 <!-- TMPL_ELSE -->
206                                         <option value="1">1 - Highest level record</option>
207                                 <!-- /TMPL_IF -->
208                                 
209                                 <!-- TMPL_IF name='f82' -->
210                                         <option value="2" selected="selected">2 - Record below highest level (all levels below)</option>
211                                 <!-- TMPL_ELSE -->
212                                         <option value="2">2 - Record below highest level (all levels below)</option>
213                                 <!-- /TMPL_IF -->
214                                 
215                         </select>
216                 </td>
217         </tr>
218
219         <tr>
220                 <td>9-16 Indicator/Subfields/Size</td>
221                 <td>(auto-filled)</td>
222         </tr>
223         <tr>
224                 <td><label for="f17">17- Encoding level</label></td>
225                 <td>
226                         <select name="f17" id="f17" size="1">
227                         <!-- TMPL_IF name="f17|" -->
228                 <option value="|" selected="selected">|- Filling character</option>
229             <!-- TMPL_ELSE -->
230                 <option value="|">|- Filling character</option>
231             <!-- /TMPL_IF -->
232             
233                                 <!-- TMPL_IF name="f17 " -->
234                                         <option value=" " selected="selected"> Full level ("item in hand")</option>
235                                 <!-- TMPL_ELSE -->
236                                         <option value=" "> Full level ("item in hand")</option>
237                                 <!-- /TMPL_IF -->
238                                 <!-- TMPL_IF name="f171" id="f171" -->
239                                         <option value="1" selected="selected">1 - Sublevel 1 (not "item in hand")</option>
240                                 <!-- TMPL_ELSE -->
241                                         <option value="1">1 - Sublevel 1 (not "item in hand")</option>
242                                 <!-- /TMPL_IF -->
243                                 <!-- TMPL_IF name="f172" id="f172" -->
244                                         <option value="2" selected="selected">2 - Sublevel 2. The record is a prepublication (Cataloguing In Publication) record</option>
245                                 <!-- TMPL_ELSE -->
246                                         <option value="2">2 - Sublevel 2. The record is a prepublication (Cataloguing In Publication) record</option>
247                                 <!-- /TMPL_IF -->
248                                 <!-- TMPL_IF name="f173" -->
249                                         <option value="3" selected="selected">3 - Sublevel 3. Incomplete record</option>
250                                 <!-- TMPL_ELSE -->
251                                         <option value="3">3 - Sublevel 3. Incomplete record</option>
252                                 <!-- /TMPL_IF -->
253                         </select>
254                 </td>
255         </tr>
256
257         <tr>
258                 <td><label for="f18">18- Descriptive cataloging form</label></td>
259                 <td>
260                         <select name="f18" id="f18" size="1">
261                         <!-- TMPL_IF name="f18|" -->
262                 <option value="|" selected="selected">|- Filling character</option>
263             <!-- TMPL_ELSE -->
264                 <option value="|">|- Filling character</option>
265             <!-- /TMPL_IF -->
266             
267                                 <!-- TMPL_IF name="f18 " -->
268                                         <option value=" " selected="selected"> - In full ISBD form</option>
269                                 <!-- TMPL_ELSE -->
270                                         <option value=" "> - In full ISBD form</option>
271                                 <!-- /TMPL_IF -->
272                                 <!-- TMPL_IF name="f18i" -->
273                                         <option value="i" selected="selected">i - In partial or incomplete ISBD form</option>
274                                 <!-- TMPL_ELSE -->
275                                         <option value="i">i - In partial or incomplete ISBD form</option>
276                                 <!-- /TMPL_IF -->
277                                 <!-- TMPL_IF name="f18n" -->
278                                         <option value="n" selected="selected">n - In non-ISBD form</option>
279                                 <!-- TMPL_ELSE -->
280                                         <option value="n">n - In non-ISBD form</option>
281                                 <!-- /TMPL_IF -->
282                         </select>
283                 </td>
284         </tr>
285         
286         <tr>
287                 <td>19-24 Entry map &amp; lengths</td>
288                 <td>(auto-filled)</td>
289         </tr>
290 </table>
291 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
292 </form>
293 <script type="text/javascript">
294 //<![CDATA[
295 function report() {
296             var doc   = opener.document; 
297             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
298         
299             field.value =  '     '+document.f_pop.f5.value +
300                         document.f_pop.f6.value+ document.f_pop.f7.value+
301                         document.f_pop.f8.value+ '        '+
302                         document.f_pop.f17.value+ document.f_pop.f18.value+' 4500';
303                 window.close();
304                 return false;
305         }
306 //]]>
307 </script>
308
309 <!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
310