+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>UNIMARC field 135a builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
+
<body id="cat_unimarc_field_135a" class="cat" style="padding:1em;">
<h3>UNIMARC field 135a builder</h3>
<form name="f_pop" action="">
</table>
<p><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></p>
</form>
-<script type="text/javascript">
-//<![CDATA[
- function report() {
- var doc = opener.document;
- var field = doc.getElementById("[% index %]");
-
+
+[% MACRO jsinclude BLOCK %]
+ <script>
+ var dateformat = "[% Koha.Preference('dateformat') | html %]";
+ function report() {
+ var doc = opener.document;
+ var field = doc.getElementById("[% index | html %]");
+
field.value = document.f_pop.f1.value;
window.close();
return false;
- }
-//]]>
-</script>
+ }
+ </script>
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]