Project

General

Profile

Bug #15290 » bugfix_2052.txt

Administrator Admin, 2005-12-21 19:08

 
--- D:\Eigene Dateien\Temp\class.t3lib_tceforms_1.66.php Wed Dec 21 15:02:37 2005
+++ D:\Eigene Dateien\Temp\class.t3lib_tceforms_1.66_bugfix-2052.php Wed Dec 21 15:04:14 2005
@@ -2994,12 +2994,12 @@
$dim = t3lib_div::intExplode('x',$wConf['dim']);
$dX = t3lib_div::intInRange($dim[0],1,200,20);
$dY = t3lib_div::intInRange($dim[1],1,200,20);
- $color = $row[$field] ? ' bgcolor="'.htmlspecialchars($row[$field]).'"' : '';
+ $color = $row[$field] ? ' bgcolor="'.htmlspecialchars($PA['itemFormElValue']).'"' : '';
$outArr[] = '<table border="0" cellpadding="0" cellspacing="0" id="'.$md5ID.'"'.$color.' style="'.htmlspecialchars($wConf['tableStyle']).'">
<tr>
<td>'.
$colorBoxLinks[0].
- '<img src="clear.gif" width="'.$dX.'" height="'.$dY.'"'.t3lib_BEfunc::titleAltAttrib(trim($iTitle.' '.$row[$field])).' border="0" />'.
+ '<img src="clear.gif" width="'.$dX.'" height="'.$dY.'"'.t3lib_BEfunc::titleAltAttrib(trim($iTitle.' '.$PA['itemFormElValue'])).' border="0" />'.
$colorBoxLinks[1].
'</td>
</tr>
(2-2/5)