[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.xslttemplates.inc.php,1.5,1.6
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.xslttemplates.inc.php,1.5,1.6 |
Date: |
Fri, 18 Oct 2002 20:17:05 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv19131
Modified Files:
class.xslttemplates.inc.php
Log Message:
fixed wrong encoding in class xslttpl
Index: class.xslttemplates.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.xslttemplates.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** class.xslttemplates.inc.php 2 Oct 2002 00:44:22 -0000 1.5
--- class.xslttemplates.inc.php 19 Oct 2002 00:17:02 -0000 1.6
***************
*** 175,179 ****
if(count($this->xslfiles) > 0)
{
! $this->xsldata = '<?xml version="1.0"?>'."\n";
$this->xsldata .= '<!DOCTYPE xsl:stylesheet
['."\n";
$this->xsldata .= '<!ENTITY nl " ">'."\n";
--- 175,179 ----
if(count($this->xslfiles) > 0)
{
! $this->xsldata = '<?xml version="1.0"
encoding="' . lang('charset') . '"?>'."\n";
$this->xsldata .= '<!DOCTYPE xsl:stylesheet
['."\n";
$this->xsldata .= '<!ENTITY nl " ">'."\n";
***************
*** 181,185 ****
$this->xsldata .= ']>'."\n";
$this->xsldata .= '<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">'."\n";
! $this->xsldata .= '<xsl:output method="html"
version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"
doctype-public="-//W3C/DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
standalone="yes" media-type="text/html"/>'."\n";
$this->xsldata .= '<xsl:template
match="/">'."\n";
$this->xsldata .= "\t".'<xsl:apply-templates
select="PHPGW"/>'."\n";
--- 181,185 ----
$this->xsldata .= ']>'."\n";
$this->xsldata .= '<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">'."\n";
! $this->xsldata .= '<xsl:output method="html"
version="1.0" encoding="' . lang('charset') . '" indent="yes"
omit-xml-declaration="yes" doctype-public="-//W3C/DTD XHTML 1.0
Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
standalone="yes" media-type="text/html"/>'."\n";
$this->xsldata .= '<xsl:template
match="/">'."\n";
$this->xsldata .= "\t".'<xsl:apply-templates
select="PHPGW"/>'."\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.xslttemplates.inc.php,1.5,1.6,
Bettina Gille <address@hidden> <=