update css

This commit is contained in:
ceb 2002-09-27 23:49:59 +00:00
parent 69221717ed
commit 6d049dfa2c

View File

@ -651,7 +651,7 @@
@abstract alternate row colour
@param $currentcolor default ''
*/
function alternate_row_color($currentcolor = '')
/*function alternate_row_color($currentcolor = '')
{
if(!$currentcolor)
{
@ -667,6 +667,24 @@
$GLOBALS['tr_color'] = $GLOBALS['phpgw_info']['theme']['row_on'];
}
return $GLOBALS['tr_color'];
}*/
function alternate_row_color($currentcolor = '')
{
if(!$currentcolor)
{
$currentcolor = $GLOBALS['tr_color'];
}
if($currentcolor == 'row_on')
{
$GLOBALS['tr_color'] = 'row_off';
}
else
{
$GLOBALS['tr_color'] = 'row_on';
}
return $GLOBALS['tr_color'];
}