Fix: Background of line

This commit is contained in:
Laurent Destailleur 2010-11-13 17:06:34 +00:00
parent aac8e6f437
commit 31f442b145

View File

@ -207,8 +207,6 @@ $oldvallevel=0;
$var=true; $var=true;
foreach($fulltree as $key => $val) foreach($fulltree as $key => $val)
{ {
$var=!$var;
//$fullpathparent=preg_replace('/_[^_]+$/i','',$val['fullpath']); //$fullpathparent=preg_replace('/_[^_]+$/i','',$val['fullpath']);
// Define showline // Define showline
@ -225,7 +223,9 @@ foreach($fulltree as $key => $val)
if ($showline) if ($showline)
{ {
if (in_array($val['id'],$expandedsectionarray)) $option='indexexpanded'; $var=!$var;
if (in_array($val['id'],$expandedsectionarray)) $option='indexexpanded';
else $option='indexnotexpanded'; else $option='indexnotexpanded';
//print $option; //print $option;