fill the 'interface' tab in the node view even if no interface;
[plewww.git] / planetlab / sites / site.php
index 807479d..760cb0e 100644 (file)
@@ -155,7 +155,7 @@ $peers->block_start ($peer_id);
 if ( $local_peer ) {
   // pending site
   global $PENDING_CONSORTIUM_ID;
-  if ( $ext_consortium_id == $PENDING_CONSORTIUM_ID) {
+  if ( $ext_consortium_id === $PENDING_CONSORTIUM_ID) {
     if ( ! $enabled ) 
       plc_warning ("This site is under pending registration - Please visit " . 
                   href (l_sites_pending(),"this page") . 
@@ -264,7 +264,7 @@ if ( $local_peer ) {
     if (empty($ports)) return plc_error_html('???');
     $port=$ports[0];
     $pcu=$pcu_hash[$pcu_id];
-    $display= $pcu['hostname'] . ' : ' . $port;
+    $display= l_pcu_href($pcu_id, $pcu['hostname'] . ' : ' . $port);
     $pcu_hash[$pcu_id]['displayed']=true;
     return $display;
   }