From 5ce9ed85a64497e51acd7f96e195ad148fb69de6 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Thu, 13 Dec 2001 06:32:17 +0000 Subject: [PATCH] pass in autoscale, days for browsing urls git-svn-id: svn://10.0.0.236/trunk@110419 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/graph/query.cgi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mozilla/webtools/graph/query.cgi b/mozilla/webtools/graph/query.cgi index e0b60ee84eb..39586a62d83 100755 --- a/mozilla/webtools/graph/query.cgi +++ b/mozilla/webtools/graph/query.cgi @@ -40,7 +40,7 @@ sub make_filenames_list { # Print out a list of testnames in db directory sub print_testnames { - my ($tbox) = @_; + my ($tbox, $autoscale, $days) = @_; # HTTP header print "Content-type: text/html\n\n\n"; @@ -55,7 +55,7 @@ sub print_testnames { my $machines_string = join(" ", @machines); foreach (@machines) { - print "
  • $_\n"; + print "
  • $_\n"; } print ""; @@ -64,7 +64,7 @@ sub print_testnames { # Print out a list of machines in db/ directory, with links. sub print_machines { - my ($testname) = @_; + my ($testname, $autoscale, $days) = @_; # HTTP header print "Content-type: text/html\n\n\n"; @@ -79,7 +79,7 @@ sub print_machines { my $machines_string = join(" ", @machines); foreach (@machines) { - print "
  • $_\n"; + print "
  • $_\n"; } print ""; @@ -156,9 +156,9 @@ sub show_graph { } if(!$TESTNAME) { - print_testnames($TBOX); + print_testnames($TBOX, $AUTOSCALE, $DAYS); } elsif(!$TBOX) { - print_machines($TESTNAME); + print_machines($TESTNAME, $AUTOSCALE, $DAYS); } else { show_graph(); }