slice page in progress, can renew and manage users
[plewww.git] / planetlab / persons / persons.php
index 79366a8..86203bd 100644 (file)
@@ -16,8 +16,8 @@ include 'plc_header.php';
 // Common functions
 require_once 'plc_functions.php';
 require_once 'plc_peers.php';
-require_once 'plc_minitabs.php';
-require_once 'plc_tables.php';
+require_once 'linetabs.php';
+require_once 'table.php';
 
 //fix the memory limit for this page
 ini_set("memory_limit","48M");
@@ -127,7 +127,7 @@ foreach ($sites as $site) {
 // --------------------
 drupal_set_title($title);
 
-//plc_tabs($tabs);
+plekit_linetabs($tabs);
 
 if ( ! $persons ) {
   drupal_set_message ('No account found');
@@ -139,16 +139,17 @@ $headers = array ("Peer"=>"string",
                  "Last"=>"string",
                  "Email"=>"string",
                  "Site" => "string",
-                 "Roles"=>"string",
+                 "R"=>"string",
                  "S" => "int",
                  "Status"=>"string",
                  );
 
 // initial sort on email
-$table=new PlcTable("persons",$headers,4);
+$table=new PlekitTable("persons",$headers,3);
 $table->start();
 
 $peers=new Peers ($api);
+
 // write rows
 
 foreach ($persons as $person) {
@@ -176,7 +177,7 @@ foreach ($persons as $person) {
 $notes=array("The S column shows the number of slices for the given user");
 $table->end(array('notes'=>$notes));
 
-//plc_tabs ($tabs,"bottom");
+//plekit_linetabs ($tabs,"bottom");
 
 // Print footer
 include 'plc_footer.php';