From 45bb8a8225d88f43125803c0994245915cd4b3cc Mon Sep 17 00:00:00 2001
From: Owen Leonard 006 Fixed-length data elements--Additional material characteristics--General information
@@ -61,15 +29,46 @@
-
-[% INCLUDE 'popup-bottom.inc' %]
+[% MACRO jsinclude BLOCK %]
+
+
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt
index 76a4070097..2d2675a426 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_007.tt
@@ -1,7 +1,9 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
007 Physical description fixed field--General information
+
+[% MACRO jsinclude BLOCK %]
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt
index 172549f632..a271c3837e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt
@@ -1,42 +1,9 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
008 Fixed-length data elements--Additional material characteristics--General information
@@ -63,16 +30,48 @@
-
+[% MACRO jsinclude BLOCK %]
+
+
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt
index 87004573f9..e80c679b59 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_authorities.tt
@@ -1,7 +1,9 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
008 Fixed-length data elements
-
+ document.f_pop.f38.value +
+ document.f_pop.f39.value;
+ self.close();
+ return false;
+ }
+
+
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt
index 3072f36d11..e65f2aae3b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008_classifications.tt
@@ -1,7 +1,9 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
008 Fixed-length data elements
-
-[% INCLUDE 'popup-bottom.inc' %]
+[% MACRO jsinclude BLOCK %]
+
+[% END %]
+
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt
index a02a93eafa..9d1404fe54 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_leader.tt
@@ -1,7 +1,9 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
000 - Leader
-
+ field.value =
+ ' '+
+ document.f_pop.f5.value +
+ document.f_pop.f6.value +
+ ' '+
+ document.f_pop.f9.value +
+ '22 '+
+ document.f_pop.f17.value +
+ ' '+
+ '4500';
+ self.close();
+ return false;
+ }
+
+[% END %]
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt
index ccd01f9d13..0b498d5d9d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt
@@ -1,113 +1,15 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
MARC21 Plugin to build links between records
[% ELSE %]
-
-
-
+
+
Plugin to build links between records
[% IF ( Search ) %]
@@ -219,17 +121,113 @@
[% END %]