+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>UNIMARC field 128a builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
+
<body id="cat_unimarc_field_128a" class="cat" style="padding:1em;">
<h3>UNIMARC field 128a builder</h3>
<form name="f_pop" action="">
</table>
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
-<script type="text/javascript">
-//<![CDATA[
- function report() {
- var doc = opener.document;
- var field = doc.getElementById("[% index %]");
- field.value = document.f_pop.f1.value;
- window.close();
- return false;
- }
-//]]>
-</script>
-[% INCLUDE 'popup-bottom.inc' %]
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript">
+ var dateformat = "[% Koha.Preference('dateformat') %]";
+ function report() {
+ var doc = opener.document;
+ var field = doc.getElementById("[% index %]");
+ field.value = document.f_pop.f1.value;
+ window.close();
+ return false;
+ }
+ </script>
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>UNIMARC field 128b builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
+
<body id="cat_unimarc_field_128b" class="cat" style="padding:1em;">
<h3>UNIMARC field 128b builder</h3>
<form name="f_pop" action="">
</table>
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
-<script type="javascript">
-//<![CDATA[
- function report() {
- var doc = opener.document;
+
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript">
+ var dateformat = "[% Koha.Preference('dateformat') %]";
+ function report() {
+ var doc = opener.document;
var field = doc.getElementById("[% index %]");
-
- field.value = document.f_pop.f1.value;
- self.close();
- return false;
- }
-//]]>
-</script>
+ field.value = document.f_pop.f1.value;
+ window.close();
+ return false;
+ }
+ </script>
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>UNIMARC field 128c builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
+
<body id="cat_unimarc_field_128c" class="cat" style="padding:1em;">
<h3>UNIMARC field 128c builder</h3>
<form name="f_pop" action="">
</table>
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
-<script type="text/javascript">
-//<![CDATA[
- function report() {
- var doc = opener.document;
+
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript">
+ var dateformat = "[% Koha.Preference('dateformat') %]";
+ function report() {
+ var doc = opener.document;
var field = doc.getElementById("[% index %]");
field.value = document.f_pop.f1.value;
- window.close();
- return false;
- }
-//]]>
-</script>
+ window.close();
+ return false;
+ }
+ </script>
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>UNIMARC field 130 builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
+
<body id="cat_unimarc_field_130" class="cat" style="padding:1em;">
<h3>UNIMARC field 130 builder</h3>
<form name="f_pop" action="">
</table>
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
-<script type="text/javascript">
-//<![CDATA[
- function report() {
- document.f_pop.f5.value=document.f_pop.f5.value+' ';
- document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);
- var doc = opener.document;
+
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript">
+ var dateformat = "[% Koha.Preference('dateformat') %]";
+ function report() {
+ document.f_pop.f5.value=document.f_pop.f5.value+' ';
+ document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3);
+ var doc = opener.document;
var field = doc.getElementById("[% index %]");
field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value ;
- window.close();
- return false;
- }
-//]]>
-</script>
+ window.close();
+ return false;
+ }
+ </script>
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
+[% 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;
+
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript">
+ var dateformat = "[% Koha.Preference('dateformat') %]";
+ function report() {
+ var doc = opener.document;
var field = doc.getElementById("[% index %]");
-
+
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 %]
\ No newline at end of file
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>UNIMARC field 140 builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
+
<body id="cat_unimarc_field_140" class="cat" style="padding:1em;">
<h3>UNIMARC field 140 builder</h3>
<form name="f_pop" action="">
</table>
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
-<script type="text/javascript">
-//<![CDATA[
- function report() {
- var doc = opener.document;
- var field = doc.getElementById("[% index %]");
- field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value+document.f_pop.f10.value+document.f_pop.f11.value+document.f_pop.f12.value+document.f_pop.f13.value+document.f_pop.f14.value+document.f_pop.f15.value+document.f_pop.f16.value+document.f_pop.f17.value+document.f_pop.f18.value+document.f_pop.f19.value+document.f_pop.f20.value+document.f_pop.f21.value;
- self.close();
- return false;
- }
-//]]>
-</script>
-[% INCLUDE 'popup-bottom.inc' %]
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript">
+ var dateformat = "[% Koha.Preference('dateformat') %]";
+ function report() {
+ var doc = opener.document;
+ var field = doc.getElementById("[% index %]");
+ field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value+document.f_pop.f10.value+document.f_pop.f11.value+document.f_pop.f12.value+document.f_pop.f13.value+document.f_pop.f14.value+document.f_pop.f15.value+document.f_pop.f16.value+document.f_pop.f17.value+document.f_pop.f18.value+document.f_pop.f19.value+document.f_pop.f20.value+document.f_pop.f21.value;
+ self.close();
+ return false;
+ }
+ </script>
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>UNIMARC field 141 builder</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
+
<body id="cat_unimarc_field_141" class="cat" style="padding:1em;">
<h3>UNIMARC field 141 builder</h3>
<form name="f_pop" action="">
</table>
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
</form>
-<script type="text/javascript">
-//<![CDATA[
- function report() {
- var doc = opener.document;
- var field = doc.getElementById("[% index %]");
-
- field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value;
- self.close();
- return false;
- }
-//]]>
-</script>
-[% INCLUDE 'popup-bottom.inc' %]
+[% MACRO jsinclude BLOCK %]
+ <script type="text/javascript">
+ var dateformat = "[% Koha.Preference('dateformat') %]";
+ function report() {
+ var doc = opener.document;
+ var field = doc.getElementById("[% index %]");
+
+ field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value;
+ self.close();
+ return false;
+ }
+ </script>
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file