road to 1.3.2 : adding a biblio in MARC format.
[wip/koha-chris_n.git] / koha-tmpl / intranet-tmpl / default / en / acqui.simple / addbiblio.tmpl
1 <TMPL_INCLUDE NAME="acquisitions-top.inc">
2
3 <form method="post">
4 <table width=100% cellspacing=0 cellpadding=5 border=1>
5 <tr background="/images/background-mem.gif">
6         <th>MARC biblio : <TMPL_VAR name="bibid"></th>
7 </tr>
8 <tr>
9         <td>
10         <table width=100% border=0 colspacing=0 cellpadding=0>
11         <tr>
12                 <td width=9% align="center"><a href="javascript:active(0)"><div id="link0">0xx</div></a></td>
13                 <td width=9% align="center"><a href="javascript:active(1)" ><div id="link1">1xx</div></a></td>
14                 <td width=9% align="center"><a href="javascript:active(2)"><div  id="link2">2xx</div></a></td>
15                 <td width=9% align="center"><a href="javascript:active(3)"><div  id="link3">3xx</div></a></td>
16                 <td width=9% align="center"><a href="javascript:active(4)"><div  id="link4">4xx</div></a></td>
17                 <td width=9% align="center"><a href="javascript:active(5)"><div  id="link5">5xx</div></a></td>
18                 <td width=9% align="center"><a href="javascript:active(6)"><div  id="link6">6xx</div></a></td>
19                 <td width=9% align="center"><a href="javascript:active(7)"><div  id="link7">7xx</div></a></td>
20                 <td width=9% align="center"><a href="javascript:active(8)"><div  id="link8">8xx</div></a></td>
21                 <td width=9% align="center"><a href="javascript:active(9)"><div  id="link9">9xx</div></a></td>
22                 <td width=10% align="center"><input type="hidden" name="op" value="addbiblio"><input type="submit" value=">>> items"></td>
23         </tr>
24         </table>
25         </td>
26 </tr>
27 </table>
28
29    <DIV name="0XX" id="0XX" style="position:absolute;left:40px;top:150px;visibility:visible;width:90%">
30     <table width=100%  cellspacing=0 cellpadding=5 border=0>
31         <TMPL_LOOP name="0XX">
32         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
33         <TMPL_LOOP name="subfield">
34         <tr>
35          <td width="3%">&nbsp;</td>
36             <td width="2%"><TMPL_VAR name="subfield"></td>
37                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
38                 <td width="40%">
39                         <TMPL_VAR name="marc_value">
40                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
41                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
42                 </td>
43         </tr>
44         </tmpl_loop>
45         </tmpl_loop>
46      </table>
47      </DIV>
48
49     <DIV name="1XX" id="1XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
50     <table width=100%  cellspacing=0 cellpadding=5 border=0>
51         <TMPL_LOOP name="1XX">
52         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
53         <TMPL_LOOP name="subfield">
54         <tr>
55          <td width="3%">&nbsp;</td>
56             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
57                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
58                 <td width="40%">
59                         <TMPL_VAR name="marc_value">
60                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
61                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
62                 </td>
63        </tr>
64         </TMPL_LOOP>
65         </TMPL_LOOP>
66      </table>
67      </DIV>
68
69     <DIV name="2XX" id="2XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
70     <table width=100% cellspacing=0 cellpadding=5  border=0>
71         <TMPL_LOOP name="2XX">
72         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
73         <TMPL_LOOP name="subfield">
74         <tr>
75          <td width="3%">&nbsp;</td>
76             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
77                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
78                 <td width="40%">
79                         <TMPL_VAR name="marc_value">
80                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
81                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
82                 </td>
83        </tr>
84         </TMPL_LOOP>
85         </TMPL_LOOP>
86      </table>
87      </DIV>
88
89     <DIV name="3XX" id="3XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
90     <table width=100% cellspacing=0 cellpadding=5  border=0>
91         <TMPL_LOOP name="3XX">
92         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
93         <TMPL_LOOP name="subfield">
94         <tr>
95          <td width="3%">&nbsp;</td>
96             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
97                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><<TMPL_IF name="mandatory"></b></TMPL_IF>/td>
98                 <td width="40%">
99                         <TMPL_VAR name="marc_value">
100                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
101                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
102                 </td>
103        </tr>
104         </TMPL_LOOP>
105         </TMPL_LOOP>
106      </table>
107      </DIV>
108
109     <DIV name="4XX" id="4XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
110     <table width=100%  cellspacing=0 cellpadding=5 border=0>
111         <TMPL_LOOP name="4XX">
112         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
113         <TMPL_LOOP name="subfield">
114         <tr>
115          <td width="3%">&nbsp;</td>
116             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
117                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
118                 <td width="40%">
119                         <TMPL_VAR name="marc_value">
120                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
121                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
122                 </td>
123        </tr>
124         </TMPL_LOOP>
125         </TMPL_LOOP>
126      </table>
127      </DIV>
128
129     <DIV name="5XX" id="5XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
130     <table width=100% cellspacing=0 cellpadding=5  border=0>
131         <TMPL_LOOP name="5XX">
132         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
133         <TMPL_LOOP name="subfield">
134         <tr>
135          <td width="3%">&nbsp;</td>
136             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
137                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
138                 <td width="40%">
139                         <TMPL_VAR name="marc_value">
140                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
141                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
142                 </td>
143        </tr>
144         </TMPL_LOOP>
145         </TMPL_LOOP>
146      </table>
147      </DIV>
148
149         <DIV name="6XX" id="6XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
150     <table width=90% cellspacing=0 cellpadding=5  border=0>
151         <TMPL_LOOP name="6XX">
152         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
153         <TMPL_LOOP name="subfield">
154         <tr>
155          <td width="3%">&nbsp;</td>
156             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
157                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
158                 <td width="40%">
159                         <TMPL_VAR name="marc_value">
160                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
161                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
162                 </td>
163        </tr>
164         </TMPL_LOOP>
165         </TMPL_LOOP>
166      </table>
167      </DIV>
168
169     <DIV name="7XX" id="7XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
170     <table width=100%  cellspacing=0 cellpadding=5 border=0>
171         <TMPL_LOOP name="7XX">
172         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
173         <TMPL_LOOP name="subfield">
174         <tr>
175          <td width="3%">&nbsp;</td>
176             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
177                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
178                 <td width="40%">
179                         <TMPL_VAR name="marc_value">
180                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
181                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
182                 </td>
183        </tr>
184         </TMPL_LOOP>
185         </TMPL_LOOP>
186      </table>
187      </DIV>
188
189     <DIV name="8XX" id="8XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
190     <table width=100% cellspacing=0 cellpadding=5  border=0>
191         <TMPL_LOOP name="8XX">
192         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
193         <TMPL_LOOP name="subfield">
194         <tr>
195          <td width="3%">&nbsp;</td>
196             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
197                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
198                 <td width="40%">
199                         <TMPL_VAR name="marc_value">
200                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
201                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
202                 </td>
203        </tr>
204         </TMPL_LOOP>
205         </TMPL_LOOP>
206      </table>
207      </DIV>
208
209     <DIV name="9XX" id="9XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
210     <table width=90% cellspacing=0 cellpadding=5  border=0>
211         <TMPL_LOOP name="9XX">
212         <tr background="/images/background-mem.gif"><td colspan=4><b><tmpl_var name="tag"></td></tr>
213         <TMPL_LOOP name="subfield">
214         <tr>
215          <td width="3%">&nbsp;</td>
216             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
217                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
218                 <td width="40%">
219                         <TMPL_VAR name="marc_value">
220                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
221                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
222                 </td>
223        </tr>
224         </TMPL_LOOP>
225         </TMPL_LOOP>
226      </table>
227      </DIV>
228
229     <DIV name="hidden" id="hidden" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
230     <table width=90% cellspacing=0 cellpadding=5  border=0>
231         <TMPL_LOOP name="hidden_loop">
232         <tr>
233          <td width="3%">&nbsp;</td>
234             <td width="2%"><b><TMPL_VAR name="marc_tag"></b></td>
235                 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
236                 <td width="40%">
237                         <TMPL_VAR name="marc_value">
238                         <input type="hidden" name="tag[]" value="<TMPL_VAR name="tag">">
239                         <input type="hidden" name="subfield[]" value="<TMPL_VAR name="subfield">">
240                 </td>
241        </tr>
242         </TMPL_LOOP>
243      </table>
244      </DIV>
245
246 </form>
247
248
249 <script LANGUAGE="JavaScript">
250 function active(numlayer)
251 {
252 for (i=0; i <= 10 ; i++ ) {
253     ong = i+"XX";
254         link = "link"+i;
255     if (numlayer==i) {
256         document.getElementById(ong).style.visibility="visible";
257         document.getElementById(link).style.backgroundColor="#11AA11";
258         document.getElementById(link).style.backgroundImage="url(/images/background-mem.gif)";
259 } else {
260         document.getElementById(ong).style.visibility="hidden";
261         document.getElementById(link).style.backgroundColor="#FFFFFF";
262         document.getElementById(link).style.backgroundImage="";
263 }
264 }
265 }
266 </script>
267 </body>
268 </html>