Further fixes for Bug 3211, cataloging value plugin forms should be valid XHTML
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / marc21_leader_authorities.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Authorities &rsaquo; Leader builder</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body style="padding:1em;">
6 <h3>000 - Leader</h3>
7 <form name="f_pop" onsubmit="report()" action="">
8 <input type="hidden" name="plugin_name" value="marc21_leader_authorities.pl" />
9 <table>
10         <tr>
11                 <td>1-4 Record size</td>
12                 <td>(auto-filled)</td>
13         </tr>
14         <tr>
15                 <td><label for="f5">5- Record status</label></td>
16                 <td>
17                         <select name="f5" id="f5" size="1">
18                         <!-- TMPL_IF name="f5a" -->
19                                 <option value="a" selected="selected">a- Increase in encoding level</option>
20                         <!-- TMPL_ELSE -->
21                                 <option value="a">a- Increase in encoding level</option>
22                         <!-- /TMPL_IF -->
23
24                         <!-- TMPL_IF name="f5c" -->
25                                 <option value="c" selected="selected">c- Corrected or revised</option>
26                         <!-- TMPL_ELSE -->
27                                 <option value="c">c- Corrected or revised</option>
28                         <!-- /TMPL_IF -->
29                         <!-- TMPL_IF name="f5d" -->
30                                 <option value="d" selected="selected">d- Deleted</option>
31                         <!-- TMPL_ELSE -->
32                                 <option value="d">d- Deleted</option>
33                         <!-- /TMPL_IF -->
34                         <!-- TMPL_IF name="f5n" -->
35                                 <option value="n" selected="selected">n- New</option>
36                         <!-- TMPL_ELSE -->
37                                 <option value="n">n- New</option>
38                         <!-- /TMPL_IF -->
39                         <!-- TMPL_IF name="f5o" -->
40                                 <option value="o" selected="selected">o- Obsolete</option>
41                         <!-- TMPL_ELSE -->
42                                 <option value="o">o- Obsolete</option>
43                         <!-- /TMPL_IF -->
44                         <!-- TMPL_IF name="f5s" -->
45                                 <option value="s" selected="selected">s- Deleted; heading split into two or more headings</option>
46                         <!-- TMPL_ELSE -->
47                                 <option value="s">s- Deleted; heading split into two or more headings</option>
48                         <!-- /TMPL_IF -->
49                         <!-- TMPL_IF name="f5x" -->
50                                 <option value="x" selected="selected">x- Deleted; heading replaced by another heading</option>
51                         <!-- TMPL_ELSE -->
52                                 <option value="x">x- Deleted; heading replaced by another heading</option>
53                         <!-- /TMPL_IF -->
54                         </select>
55                 </td>
56         </tr>
57         <tr>
58                 <td><label for="f6">6- Type of record</label></td>
59                 <td>
60             <input name="f6" id="f6" value="z" type="hidden" />
61             z- Authority data
62                 </td>
63         </tr>
64         <tr>
65                 <td>7-8 Undefined</td>
66                 <td></td>
67         </tr>
68
69         <tr>
70                 <td><label for="f9">9- Encoding</label></td>
71                 <td>
72                         <select name="f9" id="f9" size="1">
73                                 <!-- TMPL_IF name="f9 " -->
74                                         <option value=" " selected="selected">MARC-8</option>
75                                 <!-- TMPL_ELSE -->
76                                         <option value=" ">MARC-8</option>
77                                 <!-- /TMPL_IF -->
78                                 <!-- TMPL_IF name="f9a" -->
79                                         <option value="a" selected="selected">a- UCS/Unicode</option>
80                                 <!-- TMPL_ELSE -->
81                                         <option value="a">a- UCS/Unicode</option>
82                                 <!-- /TMPL_IF -->
83                         </select>
84                 </td>
85         </tr>
86         <tr>
87                 <td>10-16 indicator/subfields/size</td>
88                 <td>(auto-filled)</td>
89         </tr>
90         <tr>
91                 <td><label for="f17">17- Encoding level</label></td>
92                 <td>
93                         <select name="f17" id="f17" size="1">
94                                 <!-- TMPL_IF name="f17n" -->
95                                         <option value="n" selected="selected">n- Complete authority record</option>
96                                 <!-- TMPL_ELSE -->
97                                         <option value="n">n- Complete authority record</option>
98                                 <!-- /TMPL_IF -->
99                                 <!-- TMPL_IF name="f17o" -->
100                                         <option value="o" selected="selected">o- Incomplete authority record</option>
101                                 <!-- TMPL_ELSE -->
102                                         <option value="o">o- Incomplete authority record</option>
103                                 <!-- /TMPL_IF -->
104                         </select>
105                 </td>
106         </tr>
107
108         <tr>
109                 <td>18-19 Undefined</td>
110                 <td></td>
111         </tr>
112
113         <tr>
114                 <td>20-24 entry map &amp; lengths</td>
115                 <td>(auto-filled)</td>
116         </tr>
117
118 </table>
119 <fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
120 </form>
121 <script type="text/javascript">//<![CDATA[
122 function report() {
123             var doc   = opener.document; 
124             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
125         
126             field.value = 
127                         '     '+
128                         document.f_pop.f5.value+
129                         document.f_pop.f6.value+
130                         '  '+
131                         document.f_pop.f9.value+ 
132                         '22     '+
133                         document.f_pop.f17.value+
134                         '  '+
135                         '4500';
136                 self.close();
137                 return false;
138         }
139         //]]>
140 </script>
141
142 <!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->