1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>UNIMARC field 225a builder</title>
3 [% INCLUDE 'doc-head-close.inc' %]
5 <body id="cat_unimarc_field_225a" class="cat" style="padding:1em;">
6 <h3>UNIMARC field 225a builder</h3>
8 <form name="f_pop" onsubmit="report()" action="">
9 <h2 class="authority">Collection</h2>
10 <p><label>Select a collection</label>
11 <select name="f1" id="f1" size="1">
12 [% FOREACH value IN collection.values %]
13 [% IF ( value == collection.default ) %]
14 <option value="[% value %]" selected="selected">[% value %]</option>
16 <option value="[% value %]">[% value %]</option>
21 OR new collection: <input type="text" value="" name="f2"/>
23 <input type="submit" value="OK" class="button authority" />
27 <script type="text/javascript">
30 var doc = opener.document;
31 var field = doc.getElementById("[% index %]");
32 field.value = document.f_pop.f2.value || document.f_pop.f1.value;
39 [% INCLUDE 'popup-bottom.inc' %]