phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc/class.gdgraph.inc.php, 1.16


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.gdgraph.inc.php, 1.16
Date: Thu, 3 Jun 2004 15:58:29 +0200

Update of /phpgwapi/inc
Modified Files:
        Branch: 
          class.gdgraph.inc.php

date: 2004/06/03 13:58:29;  author: ceb;  state: Exp;  lines: +2 -2

Log Message:
update
=====================================================================
Index: phpgwapi/inc/class.gdgraph.inc.php
diff -u phpgwapi/inc/class.gdgraph.inc.php:1.15 
phpgwapi/inc/class.gdgraph.inc.php:1.16
--- phpgwapi/inc/class.gdgraph.inc.php:1.15     Wed Jun  2 16:34:27 2004
+++ phpgwapi/inc/class.gdgraph.inc.php  Thu Jun  3 13:58:29 2004
@@ -736,13 +736,13 @@
                                $this->img->DrawText(array('text' => 
$ytext['title'],'justification' => 'left','margin_left' => $this->margin_left));
                                $space++;
 
-                               if($ytext['use_map'])
+                               if($ytext['use_map'] && $ytext['use_map'] != 
'unused')
                                {
                                        $this->img->SetColor(0,0,0);
                                        $map_start = 
(($this->img->GetFontWidth())*$strlen) + 10;
                                        $map = '';
                                        $map = array($map_start,$y + 
2,$map_start + 10,$y + 12);
-                                       $this->img->draw_rectangle($map);
+                                       
$this->img->draw_rectangle($map,$ytext['use_map']);
 
                                        $gantt_map[] = array('project_id'       
=> $ytext['project_id'],
                                                                                
        'img_map'       => $map);




reply via email to

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