phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.xslttemplates.inc.php class....


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgwapi/inc class.xslttemplates.inc.php class....
Date: Wed, 19 Jul 2006 17:48:03 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Sigurd Nes <sigurdne>   06/07/19 17:48:03

Modified files:
        inc            : class.xslttemplates.inc.php 
                         class.xmltool.inc.php 

Log message:
        charset is UTF-8

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.xslttemplates.inc.php?cvsroot=phpgwapi&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.xmltool.inc.php?cvsroot=phpgwapi&r1=1.13&r2=1.14

Patches:
Index: class.xslttemplates.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.xslttemplates.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- class.xslttemplates.inc.php 24 May 2006 11:39:09 -0000      1.26
+++ class.xslttemplates.inc.php 19 Jul 2006 17:48:03 -0000      1.27
@@ -8,7 +8,7 @@
        * @license http://www.gnu.org/licenses/lpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage gui
-       * @version $Id: class.xslttemplates.inc.php,v 1.26 2006/05/24 11:39:09 
ceb Exp $
+       * @version $Id: class.xslttemplates.inc.php,v 1.27 2006/07/19 17:48:03 
sigurdne Exp $
        */
 
        if( (floor(phpversion()) == 4 && !extension_loaded('xslt') )
@@ -218,7 +218,7 @@
                {
                        if( is_array($this->xslfiles) && count($this->xslfiles) 
> 0)
                        {
-                               $this->xsldata = '<?xml version="1.0" 
encoding="' . lang('charset') . '"?>'."\n";
+                               $this->xsldata = '<?xml version="1.0" 
encoding="UTF-8"?>'."\n";
                                $this->xsldata .= '<!DOCTYPE xsl:stylesheet 
['."\n";
                                $this->xsldata .= '<!ENTITY nl "&#10;">'."\n";
                                $this->xsldata .= '<!ENTITY nbsp 
"&#160;">'."\n";

Index: class.xmltool.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.xmltool.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- class.xmltool.inc.php       20 Feb 2006 13:59:14 -0000      1.13
+++ class.xmltool.inc.php       19 Jul 2006 17:48:03 -0000      1.14
@@ -8,7 +8,7 @@
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage xml
-       * @version $Id: class.xmltool.inc.php,v 1.13 2006/02/20 13:59:14 
skwashd Exp $
+       * @version $Id: class.xmltool.inc.php,v 1.14 2006/07/19 17:48:03 
sigurdne Exp $
        */
 
        /**
@@ -473,7 +473,7 @@
                {
                        if ($this->node_type == 'root')
                        {
-                               $result = '<?xml 
version="'.$this->xmlversion.'" encoding="' . lang('charset') . '"?>'."\n";
+                               $result = '<?xml 
version="'.$this->xmlversion.'" encoding="UTF-8"?>'."\n";
                                if(count($this->doctype) == 1)
                                {
                                        list($doctype_name,$doctype_uri) = 
each($this->doctype);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]