lighter contrast for ple/plc details
[plewww.git] / planetlab / includes / plc_peers.php
index 468fda7..be446f6 100644 (file)
@@ -96,12 +96,11 @@ class Peers {
   }
 
   // writes a cell in the table with the peer's shortname, link to the peer page, 
-  // and classname set for proper background
+  // and classname set for proper color
   function cell ($table, $peer_id) {
-    $shortname = $this->shortname($peer_id);
-    $table->cell ($this->link($peer_id,$shortname),array('class'=>'peer-'.strtolower($shortname)));
+    $table->cell ($this->link($peer_id,$shortname),
+                 array('class'=>$this->classname($peer_id)));
   }
-    
   
 }