if no left or right header is specified, disable the cell to not create an empty (1 row, 1colum) table

This commit is contained in:
Ralf Becker 2005-04-24 17:14:41 +00:00
parent 756062a477
commit 1b53dc172b

View File

@ -224,7 +224,11 @@
foreach(array('no_cat'=>'cat_id','no_filter'=>'filter','no_filter2'=>'filter2') as $val_name => $cell_name)
{
if (isset($value[$val_name])) $nextmatch->set_cell_attribute($cell_name,'disabled',$value[$val_name]);
if (isset($value[$val_name])) $nextmatch->disable_cells($cell_name,$value[$val_name]);
}
foreach(array('header_left','header_right') as $name)
{
if (!$value[$name]) $nextmatch->disable_cells('@'.$name);
}
foreach(array('filter','filter2') as $cell_name)
{