pass in units, we might want to hide this by default

This commit is contained in:
mcafee%netscape.com 2001-12-07 11:35:35 +00:00
parent 261e2bd1f4
commit b1dc9f1e4a

View File

@ -82,11 +82,11 @@ sub show_graph {
print "<title>$TBOX $TESTNAME</title><br>\n";
my $neg_autoscale = !$AUTOSCALE;
print "<a href=\"query.cgi?tbox=$TBOX&testname=$TESTNAME&autoscale=$neg_autoscale&days=$DAYS\">autoscale</a><br>\n";
print "<a href=\"query.cgi?tbox=$TBOX&testname=$TESTNAME&autoscale=$neg_autoscale&days=$DAYS&units=$UNITS\">autoscale</a><br>\n";
# graph
print "<img src=\"graph.cgi?tbox=$TBOX&testname=$TESTNAME&autoscale=$AUTOSCALE&days=$DAYS\">";
print "<img src=\"graph.cgi?tbox=$TBOX&testname=$TESTNAME&autoscale=$AUTOSCALE&days=$DAYS&units=$UNITS\">";
}
if(!$TESTNAME) {