mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Made the rest of tr_color as GLOBALS.
This commit is contained in:
parent
99afed5175
commit
264313338f
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user