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.58,1.59


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.nextmatchs.inc.php,1.58,1.59
Date: Thu, 01 May 2003 05:17:47 -0400

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

Modified Files:
        class.nextmatchs.inc.php 
Log Message:
fixed template_alternate_row_color, so also set the row_color in the supplied 
template, not only in the template of the nextmatch-class

Index: class.nextmatchs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.nextmatchs.inc.php,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** class.nextmatchs.inc.php    27 Apr 2003 14:10:16 -0000      1.58
--- class.nextmatchs.inc.php    1 May 2003 09:17:44 -0000       1.59
***************
*** 763,767 ****
                function template_alternate_row_color(&$tpl)
                {
!                       
$this->template->set_var('tr_color',$this->alternate_row_color());
                }
  
--- 763,771 ----
                function template_alternate_row_color(&$tpl)
                {
!                       $this->template->set_var('tr_color',$color = 
$this->alternate_row_color());
!                       if (is_object($tpl))
!                       {
!                               $tpl->set_var('tr_color',$color);       // set 
the supplied template too
!                       }
                }
  





reply via email to

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