/[omni_gantt]/db2gantt.cgi
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /db2gantt.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dpavlin, Fri Sep 13 11:17:20 2002 UTC revision 1.5 by dpavlin, Fri Sep 13 11:59:08 2002 UTC
# Line 145  sub bar { Line 145  sub bar {
145          return($html);          return($html);
146  }  }
147    
148  my $sql = "select start,finish,specification,status  my $sql = "select start,finish,specification,status,user_group_host,type,sessionid
149          from gantt          from gantt
150          where (start < '$from' and finish > '$from') or          where (start < '$from' and finish > '$from') or
151          (start > '$from' and start < '$to')          (start > '$from' and start < '$to')
# Line 208  while(my $row = $sth->fetchrow_hashref) Line 208  while(my $row = $sth->fetchrow_hashref)
208          }          }
209    
210          print STDERR "[$less",$row->{status}," $curr_t:$len$more]" if ($debug);          print STDERR "[$less",$row->{status}," $curr_t:$len$more]" if ($debug);
211          print bar($len,$row->{status},$row->{start}." - ".$row->{finish}." ".$row->{status});  
212            my $alt = $row->{start}." - ".$row->{finish}."<br>".
213            $row->{type}." <b>".$row->{status}."</b><br>".
214            $row->{user_group_host}." <i>".$row->{sessionid}."</i>";
215            $alt =~ s/:\d\d\.\d+//g;
216            print bar($len,$row->{status},$alt);
217    
218          $curr_t += $len;          $curr_t += $len;
219    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.26