SF #413778 - Fixed HTML in comments not showing up durring matrix view

This commit is contained in:
jengo 2001-04-06 05:30:37 +00:00
parent a324cdbcd2
commit 57a0519eef

View File

@ -137,7 +137,8 @@ class matrixview {
$i++; $i++;
} }
$this->items_content[$this->items_count][0] = "$item;$color"; $this->items_content[$this->items_count][0] = $item;
$this->items_color[$this->items_count] = $color;
// increase number of items in two-dimensional array // increase number of items in two-dimensional array
$this->items_count++; $this->items_count++;
} }
@ -218,8 +219,8 @@ function out ()
for($z=0;$z<$this->items_count;$z++) for($z=0;$z<$this->items_count;$z++)
{ {
// seperate color and name from first array element // seperate color and name from first array element
$itemname = strtok($this->items_content[$z][0],";"); $itemname = $this->items_content[$z][0];
$itemcolor = strtok(";"); $itemcolor = $this->items_color[$z];
echo "<tr>\n"; echo "<tr>\n";
echo "<td>" . $itemname . "</td>\n"; echo "<td>" . $itemname . "</td>\n";