From 10a0f53fb6f4413a23e5836c14567c23e8284774 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 10 Oct 2016 05:52:51 -0400 Subject: [PATCH] Bug 17416 - Move javascript in doc-head-close.inc into a separate include In order to prepare to move staff client javascript assets into the footer, this patch creates a new include file containing all [% END %] @@ -23,84 +15,11 @@ [% INCLUDE intranetstylesheet.inc %] -[% IF ( bidi ) %][% END %] - - - - - - - - - +[% IF ( bidi ) %][% END %] [% IF ( login ) %] [% END %] [% IF ( IntranetUserCSS ) %][% END %] - - - -[% INCLUDE 'validator-strings.inc' %] -[% PROCESS 'html_helpers.inc' %] -[% IF ( IntranetUserJS ) %] - -[% END %] - -[% IF ( virtualshelves || intranetbookbag ) %] - - - -[% END %] - -[% IF LocalCoverImages %] - - -[% END %] - -[% IF Koha.Preference('AudioAlerts') || AudioAlertsPage %] - -[% END %] +[% INCLUDE js_includes.inc %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc new file mode 100644 index 0000000000..fae3a0ee21 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@ -0,0 +1,85 @@ +[%# Prevent XFS attacks -%] +[% UNLESS popup %] + +[% END %] + + + + + + + + + + + + +[% INCLUDE 'validator-strings.inc' %] +[% PROCESS 'html_helpers.inc' %] +[% IF ( IntranetUserJS ) %] + +[% END %] + +[% IF ( virtualshelves || intranetbookbag ) %] + + + +[% END %] + +[% IF LocalCoverImages %] + + +[% END %] + +[% IF Koha.Preference('AudioAlerts') || AudioAlertsPage %] + +[% END %] -- 2.39.5