CVS: tmda-cgi/display/themes/Blue/template login.html,1.8,1.9

Jim Ramsay <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi/display/themes/Blue/template
In directory sc8-pr-cvs1:/tmp/cvs-serv6401/display/themes/Blue/template

Modified Files:
	login.html 
Log Message:
Call T.set_charset( "charset" ) instead of T["CharSet"] = "charset" to set the character encoding of a page - it now sets the META tag AND the actual HTTP header printed to the browser (fix for Apache2).

Using email.Charset (and CharSetAlias.py) for character set aliasing instead of a home-grown method.


Index: login.html
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/display/themes/Blue/template/login.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- login.html	9 May 2003 02:17:42 -0000	1.8
+++ login.html	12 May 2003 16:59:23 -0000	1.9
@@ -13,7 +13,7 @@
 <html>
 <head>
 <title>TMDA Login</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<meta http-equiv="Content-Type" content="text/html; charset=%(CharSet)s">
 <link href="%(ThemeDir)s/styles.css" rel="stylesheet" type="text/css">
 </head>
 <body bgcolor="#A6A6B3" onload="javascript: document.loginform.user.focus();">

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.