22 Aug 2006, 3:45 PM
New Zenner
- Join Date:
- Mar 2006
- Posts:
- 9
- Plugin Contributions:
- 0
[Done 1.3.5] Small Bug in tpl_tabular_display.php
Line 32 currently reads:
if (isset($list_box_contents[$row][$col]['align'])) $c_params .= ' ' . $list_box_contents[$row][$col]['align'];
It should be:
if (!empty($list_box_contents[$row][$col]['align'])) $c_params .= ' align="' . $list_box_contents[$row][$col]['align'] . '"';
The TD align attributes don't work properly otherwise (also breaks XHTML compliance).
-dave