Fixed bug.
This commit is contained in:
@@ -27,6 +27,8 @@ $Source$
|
|||||||
Experimental: Added $cfg['DefaultPropDisplay']. Enables vertical display
|
Experimental: Added $cfg['DefaultPropDisplay']. Enables vertical display
|
||||||
(optional, default off) of the columns. I didn't like to have to scroll in horizontal
|
(optional, default off) of the columns. I didn't like to have to scroll in horizontal
|
||||||
directions, so with this mode you can see about 6 columns at once on a single screen.
|
directions, so with this mode you can see about 6 columns at once on a single screen.
|
||||||
|
* tbl_properties.inc.php3: Fixed bug when certain fields are not
|
||||||
|
enabled, they threw an undefined offset.
|
||||||
|
|
||||||
2003-02-26 Garvin Hicking <me@supergarv.de>
|
2003-02-26 Garvin Hicking <me@supergarv.de>
|
||||||
* lang/german-*: better grammar. ;)
|
* lang/german-*: better grammar. ;)
|
||||||
|
@@ -329,10 +329,12 @@ while(@list($header_nr, $header_val) = @each($header_cells)) {
|
|||||||
<th align="right"><?php echo $header_val; ?></th>
|
<th align="right"><?php echo $header_val; ?></th>
|
||||||
<?php
|
<?php
|
||||||
for ($j = 0; $j < count($content_cells); $j++) {
|
for ($j = 0; $j < count($content_cells); $j++) {
|
||||||
$bgcolor = ($j % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo'];
|
if (isset($content_cells[$j][$i]) && $content_cells[$j][$i] != '') {
|
||||||
|
$bgcolor = ($j % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo'];
|
||||||
?>
|
?>
|
||||||
<td bgcolor="<?php echo $bgcolor; ?>"><?php echo $content_cells[$j][$i]; ?></td>
|
<td bgcolor="<?php echo $bgcolor; ?>"><?php echo $content_cells[$j][$i]; ?></td>
|
||||||
<?php
|
<?php
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "\n" . '</tr>' . "\n";
|
echo "\n" . '</tr>' . "\n";
|
||||||
|
Reference in New Issue
Block a user