X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fincludes%2Fplc_peers.php;h=6fa26ca5cae8a74a23f0a7b00bf853157fcd5b75;hb=10bc48acd301cb3c3121d0a21e2bf5df8f35e8d5;hp=468fda788f4d0fc470e56b89a8ff66cb457c024d;hpb=232e3e3ce1e8f07de912ba0d5302b03bfe71f283;p=plewww.git diff --git a/planetlab/includes/plc_peers.php b/planetlab/includes/plc_peers.php index 468fda7..6fa26ca 100644 --- a/planetlab/includes/plc_peers.php +++ b/planetlab/includes/plc_peers.php @@ -96,12 +96,12 @@ 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))); + $shortname=$this->shortname($peer_id); + $table->cell ($this->link($peer_id,$shortname), + array('class'=>$this->classname($peer_id))); } - }