Project

General

Profile

Bug #15290 » bugfix2052_updated.txt

Administrator Admin, 2006-07-07 22:17

 
--- D:\Eigene Dateien\Temp\t3lib_tceforms_1603.php Fri Jul 07 22:13:49 2006
+++ D:\Eigene Dateien\Temp\t3lib_tceforms_1603_bugfix2052.php Fri Jul 07 22:15:09 2006
@@ -3284,12 +3284,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 = $PA['itemFormElValue'] ? ' 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>
(4-4/5)