plugin rewrited to works with addbiblio.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / cataloguing / value_builder / unimarc_field_225a.tmpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4     <title>UNIMARC_Field 225a builder</title>
5     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 </head>
7 <body>
8     <div id="mainbloc">
9         <form name="f_pop" onSubmit="javascript:report()">
10             <h2 class="authority">Collection</h2>
11             <p><label>Select a collection</label><!-- TMPL_VAR name="collection" --></p>
12             <input type="submit" value="OK" class="button authority"></p>
13         </form>
14     </div>
15     
16     <script type="text/javascript">
17         function report() {
18             var doc   = opener.document; 
19             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
20             field.value =  document.f_pop.f1.value;
21             window.close();
22             return false;
23         }
24     </script>
25 </body>
26 </html>