2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>UNIMARC field 225a builder</title>
4 [% INCLUDE 'doc-head-close.inc' %]
7 <body id="cat_unimarc_field_225a" class="cat" style="padding:1em;">
8 <h3>UNIMARC field 225a builder</h3>
10 <form name="f_pop" onsubmit="report()" action="">
11 <h2 class="authority">Collection</h2>
12 <p><label>Select a collection</label>
13 <select name="f1" id="f1" size="1">
14 [% FOREACH value IN collection.values %]
15 [% IF ( value == collection.default ) %]
16 <option value="[% value | html %]" selected="selected">[% value | html %]</option>
18 <option value="[% value | html %]">[% value | html %]</option>
23 OR new collection: <input type="text" value="" name="f2"/>
25 <input type="submit" value="OK" class="button authority" />
30 [% MACRO jsinclude BLOCK %]
31 <script type="text/javascript">
33 var doc = opener.document;
34 var field = doc.getElementById("[% index | html %]");
35 field.value = document.f_pop.f2.value || document.f_pop.f1.value;
42 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]