commit | c222e9c652ab992ff04d96902ddf4d89e0c1e149 | [log] [tgz] |
---|---|---|
author | ffusier | Tue Nov 18 14:50:07 2008 +0000 |
committer | ffusier | Tue Nov 18 14:50:07 2008 +0000 |
tree | 404e390233ce723ace4b0e3f7b0751ba448729b9 | |
parent | b424ba9e806bd826bc5edf1947e47e0909eb7d56 [diff] |
HEAD - 255641
diff --git a/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrint.java b/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrint.java index 3ada494..492c64f 100644 --- a/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrint.java +++ b/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrint.java
@@ -162,7 +162,8 @@ this.stream.print(boxName); this.stream.print("</h4>\n"); this.stream.print("<?php\n"); - this.stream.print(" if ($QUERY_STRING==\"\" || $QUERY_STRING==\"fp_type=0\") {\n"); + this.stream.print(" $type=$_SERVER['QUERY_STRING'];\n"); + this.stream.print(" if ($type==\"\" || $type==\"fp_type=0\") {\n"); this.stream.print(" echo '<img src=\""); this.stream.print(fileName); this.stream.print(".gif\" usemap=\"#");
diff --git a/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrintGraph.java b/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrintGraph.java index 36d4d8c..87fea0b 100644 --- a/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrintGraph.java +++ b/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrintGraph.java
@@ -635,7 +635,7 @@ void print(int kind, PrintStream stream) { String imgName = getImageName(kind); - stream.print(" if ($QUERY_STRING==\"fp_type="+kind+"\") {\n"); + stream.print(" if ($type==\"fp_type="+kind+"\") {\n"); stream.print(" echo '<img src=\""); stream.print(imgName); stream.print(".gif\" usemap=\"#");
diff --git a/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/Main.java b/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/Main.java index 90258e3..88410b3 100644 --- a/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/Main.java +++ b/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/Main.java
@@ -553,9 +553,9 @@ // Print reference to global results if (!isGlobal) { stream.print("<?php\n"); - stream.print(" $type=$QUERY_STRING;\n"); + stream.print(" $type=$_SERVER['QUERY_STRING'];\n"); stream.print(" if ($type==\"\") {\n"); - stream.print(" $type=\"fp_type=0\";\n"); + stream.print(" $type=\"fp_type=0\";\n"); stream.print(" }\n"); stream.print(" $href=\"<a href=\\\"performance.php?\";\n"); stream.print(" $href=$href . $type . \"\\\">Back to global results</a><br><br>\";\n");