phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.xmltool.inc.php,1.2,1.3


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.xmltool.inc.php,1.2,1.3
Date: Tue, 01 Oct 2002 18:22:04 -0400

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv8691

Modified Files:
        class.xmltool.inc.php 
Log Message:
update

Index: class.xmltool.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.xmltool.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.xmltool.inc.php       1 Oct 2002 22:13:09 -0000       1.2
--- class.xmltool.inc.php       1 Oct 2002 22:22:02 -0000       1.3
***************
*** 502,511 ****
                                                        }
                                                        
!                                                       if(preg_match("(&|<)", 
$this->data))    // this is unnecessary with htmlspecialchars($this->data)
                                                        {
                                                                $result .= 
'<![CDATA['.$this->data.']]>';
                                                                $endtag_indent 
= '';            
                                                        }
!                                                       
elseif(strlen($this->data) > 30)
                                                        {
                                                                $result .= 
"\n".$indentstring.$this->indentstring.htmlspecialchars($this->data)."\n";
--- 502,511 ----
                                                        }
                                                        
!                                                       
/*if(preg_match("(&|<)", $this->data))  // this is unnecessary with 
htmlspecialchars($this->data)
                                                        {
                                                                $result .= 
'<![CDATA['.$this->data.']]>';
                                                                $endtag_indent 
= '';            
                                                        }
!                                                       
else*/if(strlen($this->data) > 30 && !empty($this->indentstring))
                                                        {
                                                                $result .= 
"\n".$indentstring.$this->indentstring.htmlspecialchars($this->data)."\n";





reply via email to

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