From dfeee3052e579f60fc7c4fc5e6b964319175a96c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Jun 2012 11:52:32 -0400 Subject: [PATCH] Bug 8288 - showmarc.tt should not include full doc-head-close.inc Content-Type: text/plain; charset="utf-8" showmarc.tt and opac-showmarc.tt are used to load a plain view of a MARC record and thus do not need the full set of page assets loaded with other pages (CSS and JavaScript). Removing the standard doc-head-close include will reduce the load time of these pages. --- .../prog/en/modules/catalogue/showmarc.tt | 2 +- .../opac-tmpl/prog/en/modules/opac-showmarc.tt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt index 05467e8..932a50a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/showmarc.tt @@ -1,6 +1,6 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Cataloging › MARC import -[% INCLUDE 'doc-head-close.inc' %] +
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt index 2a30906..3a5a9f8 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showmarc.tt @@ -1,4 +1,5 @@ -[% INCLUDE 'doc-head-open.inc' %]MARC view[% INCLUDE 'doc-head-close.inc' %] +[% INCLUDE 'doc-head-open.inc' %]MARC view +
-- 1.7.9.5