phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.nextmatchs.inc.php,1.71


From: ceb
Subject: [Phpgroupware-cvs] phpgwapi/inc class.nextmatchs.inc.php,1.71
Date: Tue, 15 Mar 2005 14:20:00 +0100

Update of phpgwapi/inc

Modified Files:
     Branch: MAIN
            class.nextmatchs.inc.php lines: +4 -5

Log Message:
changed function alternate_row_color to return row_on or row_off for using css 
files

====================================================
Index: phpgwapi/inc/class.nextmatchs.inc.php
diff -u phpgwapi/inc/class.nextmatchs.inc.php:1.70 
phpgwapi/inc/class.nextmatchs.inc.php:1.71
--- phpgwapi/inc/class.nextmatchs.inc.php:1.70  Tue Jan 18 01:51:20 2005
+++ phpgwapi/inc/class.nextmatchs.inc.php       Tue Mar 15 13:20:33 2005
@@ -679,15 +679,14 @@
                                $currentcolor = $GLOBALS['tr_color'];
                        }

-                       if ($currentcolor == 
$GLOBALS['phpgw_info']['theme']['row_on'])
+                       if ($currentcolor == 'row_on')
                        {
-                               $GLOBALS['tr_color'] = 
$GLOBALS['phpgw_info']['theme']['row_off'];
+                               $GLOBALS['tr_color'] = 'row_off';
                        }
                        else
                        {
-                               $GLOBALS['tr_color'] = 
$GLOBALS['phpgw_info']['theme']['row_on'];
+                               $GLOBALS['tr_color'] = 'row_on';
                        }
-
                        return $GLOBALS['tr_color'];
                }







reply via email to

[Prev in Thread] Current Thread [Next in Thread]