[llvm-commits] CVS: nightlytest-serverside/fulltest.php

Patrick Jenkins pjenkins at apple.com
Wed Aug 2 16:00:23 PDT 2006



Changes in directory nightlytest-serverside:

fulltest.php updated: 1.7 -> 1.8
---
Log message:

Pruned down how many file sizes are shown so that only files that have changed have their file sizes changed.



---
Diffs of the changes:  (+27 -12)

 fulltest.php |   39 +++++++++++++++++++++++++++------------
 1 files changed, 27 insertions(+), 12 deletions(-)


Index: nightlytest-serverside/fulltest.php
diff -u nightlytest-serverside/fulltest.php:1.7 nightlytest-serverside/fulltest.php:1.8
--- nightlytest-serverside/fulltest.php:1.7	Wed Aug  2 17:11:12 2006
+++ nightlytest-serverside/fulltest.php	Wed Aug  2 18:00:07 2006
@@ -497,19 +497,34 @@
 print "\t</tr>\n";
 
 foreach (array_keys($all_data) as $d){
-  print "\t<tr>\n";
-  if(strcmp($d, "Total Sum")!=0){
-    print "\t\t<td><input type=checkbox name=files[] multiple=\"multiple\" value=\"$d\">\n";
+  if($all_data["$d"][1]!=0 || $all_data["$d"][2]!=0){
+    print "\t<tr>\n";
+    if(strcmp($d, "Total Sum")!=0){
+      print "\t\t<td><input type=checkbox name=files[] multiple=\"multiple\" value=\"$d\">\n";
+    }
+    else{
+      print "\t\t<td>\n";
+    }
+    print "\t\t$d</td>\n";
+    print "\t\t<td>{$all_data["$d"][0]}</td>\n";
+
+    if($all_data["$d"][1]!=0){
+      $color="color:".DetermineColor($all_data["$d"][1], "white");
+    }
+    else{
+      $color="";
+    }
+    print "\t\t<td $color>{$all_data["$d"][1]}</td>\n";
+    
+    if($all_data["$d"][2]!=0){
+      $color="color:"+DetermineColor($all_data["$d"][2], "white");
+    }
+    else{
+      $color="";
+    }print "\t\t<td $color>{$all_data["$d"][2]}</td>\n";
+    
+    print "\t</tr>\n";
   }
-  else{
-    print "\t\t<td>\n";
-  }
-  print "\t\t$d</td>\n";
-  print "\t\t<td>{$all_data["$d"][0]}</td>\n";
-  print "\t\t<td>{$all_data["$d"][1]}</td>\n";
-  print "\t\t<td>{$all_data["$d"][2]}</td>\n";
-  
-  print "\t</tr>\n";
 }
 
 print "</table>\n";






More information about the llvm-commits mailing list