$q->clear(); $graph->Add($bar); } unset($gantt_arr); $today = date('y-m-d'); $vline = new GanttVLine($today, $AppUI->_('Today', UI_OUTPUT_RAW)); //if ($monospacefont) { // $vline->title->SetFont(FF_DEJAVUMONO, FS_BOLD, 10); //specify the use of VeraMono //} else { $vline->title->SetFont(FF_DEJAVU, FS_BOLD, 10); //} $graph->Add($vline); if ($addLinksToGantt == 1) { $graph->SetMargin(5, 5, 15, 20); $graph->Stroke((dPgetConfig('overlay_dir') == '' ? DP_BASE_DIR : dPgetConfig('overlay_dir')) . "/files/temp/gantt" . $filedate . ".png"); $ganttMap = $graph->GetHTMLImageMap("csimap"); $ganttSource = "<img src=\"./files/temp/gantt" . $filedate . ".png\" ISMAP USEMAP=\"#csimap\" border=0>"; $ganttMap = dPgetParam($_POST, 'ganttMap'); $ganttSource = dPgetParam($_POST, 'ganttSource'); echo $graph->GetHTMLImageMap("csimap"); echo "<img src=\"./files/temp/gantt" . $filedate . ".png\" ISMAP USEMAP=\"#csimap\" border=0>"; /* $gantt_file = '/files/temp/gantt2.png'; // $bar = new MileStone($row++, $gantt_file, $today, $s); $graph->StrokeCSIM(basename(__FILE__)); //$graph->StrokeCSIM(auto); //$graph->StrokeCSIM('gant.php', 'gantt_map', 0); //$gantt_map = $graph->GetHTMLImageMap ('gantt_map'); //echo "<img src=\"./files/temp/gantt.png\" ISMAP USEMAP=\"#gantt_map\" border=0>"; // Map Names //$gantt_map = $graph->GetHTMLImageMap("gantt_map");