[% INCLUDE 'doc-head-open.inc' %]
- <title>UNIMARC Field 225a builder</title>
+ <title>UNIMARC field 225a builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
-<body style="padding:1em;">
-<h3>UNIMARC Field 225a builder</h3>
+<body id="cat_unimarc_field_225a" class="cat" style="padding:1em;">
+<h3>UNIMARC field 225a builder</h3>
<div id="mainbloc">
<form name="f_pop" onsubmit="report()" action="">
<h2 class="authority">Collection</h2>
<p><label>Select a collection</label>[% collection %]</p>
+ OR new collection: <input type="text" value="" name="f2"/>
+ <br/>
<input type="submit" value="OK" class="button authority" />
</form>
</div>
function report() {
var doc = opener.document;
var field = doc.getElementById("[% index %]");
- field.value = document.f_pop.f1.value;
+ field.value = document.f_pop.f2.value || document.f_pop.f1.value;
window.close();
return false;
}
//]]>
</script>
-[% INCLUDE 'popup-bottom.inc' %]
\ No newline at end of file
+[% INCLUDE 'popup-bottom.inc' %]