[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 76af0b5907b3f9e26c25ebd8b6b6a391d0b31dc3
Evergreen Git
git at git.evergreen-ils.org
Tue Jul 5 11:28:21 EDT 2011
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_1 has been updated
via 76af0b5907b3f9e26c25ebd8b6b6a391d0b31dc3 (commit)
from 74f5aad1b82aeb3bf8799d3b4c79cd9530e6bf33 (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 76af0b5907b3f9e26c25ebd8b6b6a391d0b31dc3
Author: Dan Scott <dan at coffeecode.net>
Date: Tue Jul 5 11:08:31 2011 -0400
LP805971: Specify UTF8 encoding in password reset templates
As reported by Liam Whalen in Launchpad bug 805971: "The file
/openils/var/template/password-reset/reset-form.tt2 does not display
utf-8 characters. I modified it to include '<meta
http-equiv="Content-Type" content="text/html; charset=UTF-8" />' inside
the <head> tag, and the fr-CA version of the page now displays
correctly."
I duplicated the problem in Firefox 5 and confirmed that the addition of
the META tag corrects the problem.
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/Open-ILS/src/templates/password-reset/request-form.tt2 b/Open-ILS/src/templates/password-reset/request-form.tt2
index 9f4382b..8f58516 100644
--- a/Open-ILS/src/templates/password-reset/request-form.tt2
+++ b/Open-ILS/src/templates/password-reset/request-form.tt2
@@ -1,5 +1,6 @@
<html>
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>[% i18n.REQUEST_TITLE %]</title>
<link rel="stylesheet" type="text/css" href="/js/dojo/dijit/themes/tundra/tundra.css" />
<style type="text/css">
diff --git a/Open-ILS/src/templates/password-reset/reset-form.tt2 b/Open-ILS/src/templates/password-reset/reset-form.tt2
index 9542cb2..81a8258 100644
--- a/Open-ILS/src/templates/password-reset/reset-form.tt2
+++ b/Open-ILS/src/templates/password-reset/reset-form.tt2
@@ -1,5 +1,6 @@
<html>
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>[% title %]</title>
</head>
<body>
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/password-reset/request-form.tt2 | 1 +
.../src/templates/password-reset/reset-form.tt2 | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list