[open-ils-commits] [GIT] Evergreen ILS branch master updated. 0062008c0a346ee37a9ae8870e33c06823c67a49

Evergreen Git git at git.evergreen-ils.org
Tue Jul 5 11:27:00 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, master has been updated
       via  0062008c0a346ee37a9ae8870e33c06823c67a49 (commit)
      from  52402b4d28643ca013d83f87de6fecb8e0d81813 (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 0062008c0a346ee37a9ae8870e33c06823c67a49
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