phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.nextmatchs.inc.php,1.51,1.52


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.nextmatchs.inc.php,1.51,1.52
Date: Fri, 27 Sep 2002 19:50:02 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv26659

Modified Files:
        class.nextmatchs.inc.php 
Log Message:
update css

Index: class.nextmatchs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.nextmatchs.inc.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -r1.51 -r1.52
*** class.nextmatchs.inc.php    26 Sep 2002 03:57:29 -0000      1.51
--- class.nextmatchs.inc.php    27 Sep 2002 23:49:59 -0000      1.52
***************
*** 652,656 ****
                @param $currentcolor default ''
                */
!               function alternate_row_color($currentcolor = '')
                {
                        if(!$currentcolor)
--- 652,656 ----
                @param $currentcolor default ''
                */
!               /*function alternate_row_color($currentcolor = '')
                {
                        if(!$currentcolor)
***************
*** 668,671 ****
--- 668,689 ----
                        }
  
+                       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'];
                }





reply via email to

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