[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 7ff929013d500a09a79283e19934cb9e74064a74
Evergreen Git
git at git.evergreen-ils.org
Tue Sep 20 11:06:43 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_10 has been updated
via 7ff929013d500a09a79283e19934cb9e74064a74 (commit)
from 2bcbdfd88effc5d56fb1b6b774ad2d295b530ae7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7ff929013d500a09a79283e19934cb9e74064a74
Author: Dan Scott <dscott at laurentian.ca>
Date: Sun Sep 18 09:16:27 2016 -0400
LP#1624846 Add charset declaration to TPAC print output
Non-ASCII characters were printed incorrectly in some browsers, such as
Firefox, that still default to ISO-8859-1 encodings in the absence of a
specifically declared encoding.
Our output encoding will always be UTF-8, so declare it.
Signed-off-by: Dan Scott <dscott at laurentian.ca>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/templates/opac/myopac/receipt_print.tt2 b/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
index fe68495..64237e2 100644
--- a/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
+++ b/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
@@ -1,6 +1,7 @@
[%# sic! no wrapper %]
<html>
<head>
+ <meta charset="utf-8">
<title>[% l('Receipt') %]</title>
</head>
<body onload="if (document.getElementById('printable-receipt')) window.print();">
diff --git a/Open-ILS/src/templates/opac/record/print.tt2 b/Open-ILS/src/templates/opac/record/print.tt2
index d5d94e6..24cb94e 100644
--- a/Open-ILS/src/templates/opac/record/print.tt2
+++ b/Open-ILS/src/templates/opac/record/print.tt2
@@ -1,6 +1,7 @@
[% PROCESS 'opac/parts/header.tt2' %]
<html>
<head>
+ <meta charset="utf-8">
<title>[% l('Print Record') %]</title>
<style type="text/css" media="print">.noprint {display: none}</style>
</head>
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/opac/myopac/receipt_print.tt2 | 1 +
Open-ILS/src/templates/opac/record/print.tt2 | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list