[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1211] branches/1.2
- Subject: SF.net SVN: ledger-smb: [1211] branches/1.2
- From: ..hidden..
- Date: Fri, 18 May 2007 16:26:05 -0700
Revision: 1211
http://svn.sourceforge.net/ledger-smb/?rev=1211&view=rev
Author: einhverfr
Date: 2007-05-18 16:26:03 -0700 (Fri, 18 May 2007)
Log Message:
-----------
Adding utf-8 charset specifications to splash pages and by default to forms
Modified Paths:
--------------
branches/1.2/LedgerSMB/Form.pm
branches/1.2/locale/html/splash.html
branches/1.2/locale/splash.html
Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm 2007-05-18 22:03:25 UTC (rev 1210)
+++ branches/1.2/LedgerSMB/Form.pm 2007-05-18 23:26:03 UTC (rev 1211)
@@ -302,15 +302,14 @@
if ( $ENV{GATEWAY_INTERFACE} ) {
+ $self->{charset} ||= "utf-8";
if ( $self->{stylesheet} && ( -f "css/$self->{stylesheet}" ) ) {
$stylesheet =
qq|<link rel="stylesheet" href="css/$self->{stylesheet}" type="text/css" title="LedgerSMB stylesheet" />\n|;
}
- if ( $self->{charset} ) {
- $charset =
+ $charset =
qq|<meta http-equiv="content-type" content="text/html; charset=$self->{charset}" />\n|;
- }
$self->{titlebar} =
( $self->{title} )
Modified: branches/1.2/locale/html/splash.html
===================================================================
--- branches/1.2/locale/html/splash.html 2007-05-18 22:03:25 UTC (rev 1210)
+++ branches/1.2/locale/html/splash.html 2007-05-18 23:26:03 UTC (rev 1211)
@@ -6,6 +6,7 @@
<title>LedgerSMB Splash page</title>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="../../css/ledger-smb.css" type="text/css" title="LedgerSMB stylesheet" />
<meta name="robots" content="noindex,nofollow" />
Modified: branches/1.2/locale/splash.html
===================================================================
--- branches/1.2/locale/splash.html 2007-05-18 22:03:25 UTC (rev 1210)
+++ branches/1.2/locale/splash.html 2007-05-18 23:26:03 UTC (rev 1211)
@@ -6,6 +6,7 @@
<title>LedgerSMB Splash page</title>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="../../css/ledger-smb.css" type="text/css" title="LedgerSMB stylesheet" />
<meta name="robots" content="noindex,nofollow" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.