mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
update css
This commit is contained in:
parent
69221717ed
commit
6d049dfa2c
@ -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'];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user