From 31ab68415e19c02c3b8b6a31bce747ba9b67c6b3 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 Content-Type: text/plain; charset="utf-8" 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 0000000..fae3a0e --- /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.1.4