[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.60,1.6
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.60,1.61 |
Date: |
Sun, 06 Jul 2003 07:01:42 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv17545/etemplate/inc
Modified Files:
class.uietemplate.inc.php
Log Message:
replaced htmlentities with htmlspecialchars
Index: class.uietemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.uietemplate.inc.php,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -r1.60 -r1.61
*** class.uietemplate.inc.php 29 Jun 2003 16:59:14 -0000 1.60
--- class.uietemplate.inc.php 6 Jul 2003 11:01:40 -0000 1.61
***************
*** 544,548 ****
list($style,$extra_link) =
explode(',',$cell_options);
$value = strlen($value) > 1 &&
!$cell['no_lang'] ? lang($value) : $value;
! $value = nl2br(htmlentities($value));
if ($value != '' && strstr($style,'b'))
$value = $this->html->bold($value);
if ($value != '' && strstr($style,'i'))
$value = $this->html->italic($value);
--- 544,548 ----
list($style,$extra_link) =
explode(',',$cell_options);
$value = strlen($value) > 1 &&
!$cell['no_lang'] ? lang($value) : $value;
! $value =
nl2br(htmlspecialchars($value));
if ($value != '' && strstr($style,'b'))
$value = $this->html->bold($value);
if ($value != '' && strstr($style,'i'))
$value = $this->html->italic($value);
***************
*** 564,568 ****
if ($readonly)
{
! $html .=
$this->html->bold(htmlentities($value));
}
else
--- 564,568 ----
if ($readonly)
{
! $html .=
$this->html->bold(htmlspecialchars($value));
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.uietemplate.inc.php,1.60,1.61,
Ralf Becker <address@hidden> <=