Made the rest of tr_color as GLOBALS.

This commit is contained in:
skeeter 2002-04-17 23:41:55 +00:00
parent 99afed5175
commit 264313338f

View File

@ -608,14 +608,14 @@
if($currentcolor == $GLOBALS['phpgw_info']['theme']['row_on'])
{
$tr_color = $GLOBALS['phpgw_info']['theme']['row_off'];
$GLOBALS['tr_color'] = $GLOBALS['phpgw_info']['theme']['row_off'];
}
else
{
$tr_color = $GLOBALS['phpgw_info']['theme']['row_on'];
$GLOBALS['tr_color'] = $GLOBALS['phpgw_info']['theme']['row_on'];
}
return $tr_color;
return $GLOBALS['tr_color'];
}
// If you are using the common bgcolor="{tr_color}"