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' %] <title>Koha › Cataloging › MARC import</title> -[% INCLUDE 'doc-head-close.inc' %] +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body id="catalog_showmarc" class="catalog"> <div id="main"> 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 +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body id="opac-showmarc"> <div id="main"> -- 1.7.9.5 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
