forked from extern/egroupware
fixed wrong encoding in class xslttpl
This commit is contained in:
parent
a6608840b1
commit
738455541d
@ -174,13 +174,13 @@
|
||||
{
|
||||
if(count($this->xslfiles) > 0)
|
||||
{
|
||||
$this->xsldata = '<?xml version="1.0"?>'."\n";
|
||||
$this->xsldata = '<?xml version="1.0" encoding="' . lang('charset') . '"?>'."\n";
|
||||
$this->xsldata .= '<!DOCTYPE xsl:stylesheet ['."\n";
|
||||
$this->xsldata .= '<!ENTITY nl " ">'."\n";
|
||||
$this->xsldata .= '<!ENTITY nbsp " ">'."\n";
|
||||
$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: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";
|
||||
$this->xsldata .= '</xsl:template>'."\n";
|
||||
|
Loading…
Reference in New Issue
Block a user