1 <TMPL_INCLUDE NAME="acquisitions-top.inc">
3 <STYLE TYPE="text/css" MEDIA=screen>
4 table { font-family:Arial;
10 <form method="post" name="f">
11 <table width=100% cellspacing=0 cellpadding=5 border=1>
12 <tr background="/images/background-mem.gif">
13 <th>MARC biblio : <TMPL_VAR name="bibid"></th>
17 <table width=100% border=0 colspacing=0 cellpadding=0>
19 <td width=9% align="center"><a href="javascript:active(0)"><div id="link0">0</div></a></td>
20 <td width=9% align="center"><a href="javascript:active(1)"><div id="link1">1</div></a></td>
21 <td width=9% align="center"><a href="javascript:active(2)"><div id="link2">2</div></a></td>
22 <td width=9% align="center"><a href="javascript:active(3)"><div id="link3">3</div></a></td>
23 <td width=9% align="center"><a href="javascript:active(4)"><div id="link4">4</div></a></td>
24 <td width=9% align="center"><a href="javascript:active(5)"><div id="link5">5</div></a></td>
25 <td width=9% align="center"><a href="javascript:active(6)"><div id="link6">6</div></a></td>
26 <td width=9% align="center"><a href="javascript:active(7)"><div id="link7">7</div></a></td>
27 <td width=9% align="center"><a href="javascript:active(8)"><div id="link8">8</div></a></td>
28 <td width=9% align="center"><a href="javascript:active(9)"><div id="link9">9</div></a></td>
29 <<<<<<< addbiblio.tmpl
30 <td width=10% align="center"><input type="hidden" name="op" value="addbiblio"><input type="button" value=">>> artículos" onClick='Check(this.form)'></td>
32 <td width=10% align="center"><input type="hidden" name="op" value="addbiblio">
33 <input type="hidden" name="oldbiblionumber" value="<TMPL_VAR name="oldbiblionumber">">
34 <input type="button" value=">>> items" onClick='Check(this.form)'>
42 <DIV name="0XX" id="0XX" style="position:absolute;left:40px;top:150px;visibility:visible;width:90%">
43 <table width=100% cellspacing=0 cellpadding=2 border=0>
44 <TMPL_LOOP name="0XX">
45 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
46 <TMPL_LOOP name="subfield_loop">
48 <td width="3%"> </td>
49 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
50 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
52 <TMPL_VAR name="marc_value">
53 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
54 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
55 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
63 <DIV name="1XX" id="1XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
64 <table width=100% cellspacing=0 cellpadding=5 border=0>
65 <TMPL_LOOP name="1XX">
66 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
67 <TMPL_LOOP name="subfield_loop">
69 <td width="3%"> </td>
70 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
71 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
73 <TMPL_VAR name="marc_value">
74 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
75 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
76 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
84 <DIV name="2XX" id="2XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
85 <table width=100% cellspacing=0 cellpadding=5 border=0>
86 <TMPL_LOOP name="2XX">
87 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
88 <TMPL_LOOP name="subfield_loop">
90 <td width="3%"> </td>
91 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
92 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
94 <TMPL_VAR name="marc_value">
95 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
96 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
97 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
105 <DIV name="3XX" id="3XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
106 <table width=100% cellspacing=0 cellpadding=5 border=0>
107 <TMPL_LOOP name="3XX">
108 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
109 <TMPL_LOOP name="subfield_loop">
111 <td width="3%"> </td>
112 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
113 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><<TMPL_IF name="mandatory"></b></TMPL_IF>/td>
115 <TMPL_VAR name="marc_value">
116 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
117 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
118 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
126 <DIV name="4XX" id="4XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
127 <table width=100% cellspacing=0 cellpadding=5 border=0>
128 <TMPL_LOOP name="4XX">
129 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
130 <TMPL_LOOP name="subfield_loop">
132 <td width="3%"> </td>
133 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
134 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
136 <TMPL_VAR name="marc_value">
137 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
138 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
139 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
147 <DIV name="5XX" id="5XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
148 <table width=100% cellspacing=0 cellpadding=5 border=0>
149 <TMPL_LOOP name="5XX">
150 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
151 <TMPL_LOOP name="subfield_loop">
153 <td width="3%"> </td>
154 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
155 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
157 <TMPL_VAR name="marc_value">
158 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
159 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
160 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
168 <DIV name="6XX" id="6XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
169 <table width=90% cellspacing=0 cellpadding=5 border=0>
170 <TMPL_LOOP name="6XX">
171 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
172 <TMPL_LOOP name="subfield_loop">
174 <td width="3%"> </td>
175 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
176 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
178 <TMPL_VAR name="marc_value">
179 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
180 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
181 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
189 <DIV name="7XX" id="7XX" 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="7XX">
192 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
193 <TMPL_LOOP name="subfield_loop">
195 <td width="3%"> </td>
196 <td width="2%"><b><TMPL_VAR name="subfield"></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>
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 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
210 <DIV name="8XX" id="8XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
211 <table width=100% cellspacing=0 cellpadding=5 border=0>
212 <TMPL_LOOP name="8XX">
213 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
214 <TMPL_LOOP name="subfield_loop">
216 <td width="3%"> </td>
217 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
218 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
220 <TMPL_VAR name="marc_value">
221 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
222 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
223 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
231 <DIV name="9XX" id="9XX" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
232 <table width=90% cellspacing=0 cellpadding=5 border=0>
233 <TMPL_LOOP name="9XX">
234 <tr background="/images/background-mem.gif"><td colspan=4><b><TMPL_VAR name="tag"> <input type="hidden" name="ind_tag" value="<TMPL_VAR name="tag">"><input type="text" name="indicator" size=3 maxlength=2 value="<TMPL_VAR name="indicator">"> - <tmpl_var name="tag_lib"></td></tr>
235 <TMPL_LOOP name="subfield_loop">
237 <td width="3%"> </td>
238 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
239 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
241 <TMPL_VAR name="marc_value">
242 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
243 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
244 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
252 <DIV name="hidden" id="hidden" style="position:absolute;left:40px;top:150px;visibility:hidden;width:90%">
253 <table width=90% cellspacing=0 cellpadding=5 border=0>
254 <TMPL_LOOP name="hidden_loop">
256 <td width="3%"> </td>
257 <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
258 <td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
260 <TMPL_VAR name="marc_value">
261 <input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
262 <input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
263 <input type="hidden" name="mandatory" value="<TMPL_VAR name="mandatory">">
272 <script LANGUAGE="JavaScript">
273 function active(numlayer)
275 for (i=0; i < 10 ; i++ ) {
279 document.getElementById(ong).style.visibility="visible";
280 document.getElementById(link).style.backgroundColor="#11AA11";
281 document.getElementById(link).style.backgroundImage="url(/images/background-mem.gif)";
283 document.getElementById(ong).style.visibility="hidden";
284 document.getElementById(link).style.backgroundColor="#FFFFFF";
285 document.getElementById(link).style.backgroundImage="";
291 // alert(f.field_value.length);
292 for (i=0 ; i<f.field_value.length ; i++) {
293 // alert (f.field_value[i].value);
294 if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
295 document.getElementById("error"+i).style.backgroundColor="#FF0000";
300 if (total_errors==0) {
303 alertString2 = "No se envío el formulario por los siguientes problemas\n";
304 alertString2 += "------------------------------------------------------------------------------------\n\n";
305 alertString2 += "- "+ total_errors+" campos vacíos (revise los campos en negrita)";
309 function Dopop(link,i) {
310 defaultvalue=document.forms[0].field_value[i].value;
311 newin=window.open(link+"&result="+defaultvalue,"value builder",'width=500,height=400,toolbar=false,scrollbars=yes');