fix typo in sites list, N is the number of nodes not of sites
[plewww.git] / planetlab / sites / sites.php
index 1220038..9d12aeb 100644 (file)
@@ -28,8 +28,9 @@ $pattern=$_GET['pattern'];
 // --- decoration
 $title="Sites";
 $tabs=array();
-$tabs []= tab_mysite();
+$tabs []= tab_sites();
 $tabs []= tab_sites_local();
+$tabs []= tab_mysite();
 
 // -------------------- 
 $site_filter=array();
@@ -126,7 +127,11 @@ if (plc_is_admin()) {
   $headers['?']="string";
  }
 
-$table=new PlekitTable("sites",$headers,2);
+if (plc_is_admin()) {
+  $table=new PlekitTable("sites",$headers,3);
+} else {
+  $table=new PlekitTable("sites",$headers,2);
+}
 $table->start();
 
 if ($sites) foreach ($sites as $site) {
@@ -151,7 +156,7 @@ if ($sites) foreach ($sites as $site) {
 }
 $notes=array();
 if (plc_is_admin()) {
-  $notes []= "N = number of sites";
+  $notes []= "N = number of nodes";
   $notes []= "U = number of users";
   $notes []= "S = number of slices";
   $notes []= "I = site_id";