phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc/class.bostatistics.inc.php, 1.23


From: nomail
Subject: [Phpgroupware-cvs] projects/inc/class.bostatistics.inc.php, 1.23
Date: Tue, 1 Jun 2004 17:34:39 +0200

Update of /projects/inc
Modified Files:
        Branch: 
          class.bostatistics.inc.php

date: 2004/06/01 15:34:39;  author: ceb;  state: Exp;  lines: +7 -4

Log Message:
update
=====================================================================
Index: projects/inc/class.bostatistics.inc.php
diff -u projects/inc/class.bostatistics.inc.php:1.22 
projects/inc/class.bostatistics.inc.php:1.23
--- projects/inc/class.bostatistics.inc.php:1.22        Thu May 20 13:21:13 2004
+++ projects/inc/class.bostatistics.inc.php     Tue Jun  1 15:34:39 2004
@@ -115,6 +115,7 @@
                        $width                  = $params['width'];
                        $height                 = $params['height'];
                        $gantt_popup    = $params['gantt_popup'];
+                       $parent                 = $params['parent'];
 
                        $this->graph                            = 
CreateObject('phpgwapi.gdgraph',$this->debug);
 
@@ -125,7 +126,6 @@
                        $this->graph->line_font_size    = $gantt_popup?4:2;
                        $this->graph->x_font_size               = 
$gantt_popup?3:1;
 
-                       //$this->boprojects->order = 'parent';
                        $this->boprojects->limit                = False;
                        $this->boprojects->html_output  = False;
 
@@ -136,7 +136,8 @@
                                $projects = array();
                                foreach($project_array as $pro)
                                {
-                                       $project = 
$this->boprojects->list_projects(array('action' => 'mainsubsorted','project_id' 
=> $pro,'mstones_stat' => True,'page' => 'hours'));
+                                       $project = 
$this->boprojects->list_projects(array('function' => 'gantt','project_id' => 
$pro,'mstones_stat' => True,'page' => 'hours',
+                                                                               
                                                        'parent' => 
$params['parent']));
 
                                        //_debug_array($project);
 
@@ -223,13 +224,15 @@
                                        $spro[] = array
                                        (
                                                'title'                 => 
$pro['title'],
+                                               'project_id'    => 
$pro['project_id'],
                                                'sdate'                 => 
$pro['sdate'],
                                                'edate'                 => 
$pedate,
                                                'progress'              => 
$progress_date,
                                                'color'                 => 
$pro['level'],
                                                'pro_id'                => 
$pro['project_id'],
                                                'previous'              => 
$pro['previous'],
-                                               'mstones'               => 
$pro['mstones']
+                                               'mstones'               => 
$pro['mstones'],
+                                               'map'                   => 
'closed'
                                        );
                                        //set_y_text
                                        $this->graph->line_captions_y[$i] = 
$pro['title'];




reply via email to

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