phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: todo/inc class.ui.inc.php,1.2.2.3,1.2.2.4


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: todo/inc class.ui.inc.php,1.2.2.3,1.2.2.4
Date: Fri, 01 Feb 2002 15:37:42 -0500

Update of /cvsroot/phpgroupware/todo/inc
In directory subversions:/tmp/cvs-serv1324/inc

Modified Files:
      Tag: Version-0_9_14-branch
        class.ui.inc.php 
Log Message:
fixed matrix

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/todo/inc/class.ui.inc.php,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -C2 -r1.2.2.3 -r1.2.2.4
*** class.ui.inc.php    1 Feb 2002 03:47:49 -0000       1.2.2.3
--- class.ui.inc.php    1 Feb 2002 20:37:40 -0000       1.2.2.4
***************
*** 164,168 ****
                                $level = $todo_list[$i]['level'];
  
!                               $title = 
$GLOBALS['phpgw']->strip_html($todo_list[$i]['title']); 
  
                                if (!$title)
--- 164,168 ----
                                $level = $todo_list[$i]['level'];
  
!                               $title = 
$GLOBALS['phpgw']->strip_html($todo_list[$i]['title']);
  
                                if (!$title)
***************
*** 197,201 ****
                                {
  
!                                       $datedue = $todo_list[$i]['edate'];
                                        $month  = 
$GLOBALS['phpgw']->common->show_date(time(),'n');
                                        $day    = 
$GLOBALS['phpgw']->common->show_date(time(),'d');
--- 197,201 ----
                                {
  
!                                       $datedue = 
$todo_list[$i]['edate_epoch'];
                                        $month  = 
$GLOBALS['phpgw']->common->show_date(time(),'n');
                                        $day    = 
$GLOBALS['phpgw']->common->show_date(time(),'d');
***************
*** 641,658 ****
                                $ind = $o % count($colors);
  
!                               if ($entries[$i]['sdate'] > 0 && 
$entries[$i]['edate'] > 0)
                                {
!                                       $startd = 
date('Y',$entries[$i]['sdate']) . date('m',$entries[$i]['sdate']) . 
date('d',$entries[$i]['sdate']);
!                                       $endd = date('Y',$entries[$i]['edate']) 
. date('m',$entries[$i]['edate']) . date('d',$entries[$i]['edate']);
!                                       
$this->matrix->setPeriod($GLOBALS['phpgw']->strip_html($entries[$i]['descr']),$startd,$endd,$colors[$ind]);
  
                                        $subentries = 
$this->bo->_list($start,False,$query,$filter,$order,$sort,$cat_id,'subs',$entries[$i]['id']);
                                        for ($j=0;$j<count($subentries);$j++)
                                        {
!                                               if ($subentries[$j]['sdate'] > 
0 && $subentries[$j]['edate'] > 0)
                                                {
!                                                       $startd = 
date('Y',$subentries[$j]['sdate']) . date('m',$subentries[$j]['sdate']) . 
date('d',$subentries[$j]['sdate']);
!                                                       $endd = 
date('Y',$subentries[$j]['edate']) . date('m',$subentries[$j]['edate']) . 
date('d',$subentries[$j]['edate']);
!                                                       
$this->matrix->setPeriod($GLOBALS['phpgw']->strip_html($subentries[$j]['descr']),$startd,$endd,$colors[$ind]);
                                                }
                                        }
--- 641,658 ----
                                $ind = $o % count($colors);
  
!                               if ($entries[$i]['sdate_epoch'] > 0 && 
$entries[$i]['edate_epoch'] > 0)
                                {
!                                       $startd = 
date('Y',$entries[$i]['sdate_epoch']) . date('m',$entries[$i]['sdate_epoch']) . 
date('d',$entries[$i]['sdate_epoch']);
!                                       $endd = 
date('Y',$entries[$i]['edate_epoch']) . date('m',$entries[$i]['edate_epoch']) . 
date('d',$entries[$i]['edate_epoch']);
!                                       
$this->matrix->setPeriod($GLOBALS['phpgw']->strip_html($entries[$i]['title']),$startd,$endd,$colors[$ind]);
  
                                        $subentries = 
$this->bo->_list($start,False,$query,$filter,$order,$sort,$cat_id,'subs',$entries[$i]['id']);
                                        for ($j=0;$j<count($subentries);$j++)
                                        {
!                                               if 
($subentries[$j]['sdate_epoch'] > 0 && $subentries[$j]['edate_epoch'] > 0)
                                                {
!                                                       $startd = 
date('Y',$subentries[$j]['sdate_epoch']) . 
date('m',$subentries[$j]['sdate_epoch']) . 
date('d',$subentries[$j]['sdate_epoch']);
!                                                       $endd = 
date('Y',$subentries[$j]['edate_epoch']) . 
date('m',$subentries[$j]['edate_epoch']) . 
date('d',$subentries[$j]['edate_epoch']);
!                                                       
$this->matrix->setPeriod($GLOBALS['phpgw']->strip_html($subentries[$j]['title']),$startd,$endd,$colors[$ind]);
                                                }
                                        }




reply via email to

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