checkpoint
[plewww.git] / planetlab / nodes / nodes.php
index 064d1a5..d03c7b5 100644 (file)
@@ -138,7 +138,8 @@ $columns = array ("Peer"=>"string",
                  "Float"=>"float");
 
 # initial sort on hostnames
-plc_table_start("nodes",$columns,4);
+$table_options=array();
+plc_table_start("nodes",$columns,4,$table_options);
 
 $peer_hash = plc_peer_get_hash ($api);
 // write rows
@@ -158,10 +159,10 @@ foreach ($nodes as $node) {
     plc_table_row_start($hostname);
     plc_table_cell ($shortname);
     plc_table_cell (topdomain($hostname));
-    plc_table_cell (l_site2($site_id,$login_base));
+    plc_table_cell (l_site_t($site_id,$login_base));
     plc_table_cell ($node['boot_state']);
-    plc_table_cell (l_node2($node_id,$hostname));
-    plc_table_cell (l_interface2($interface_id,$ip));
+    plc_table_cell (l_node_t($node_id,$hostname));
+    plc_table_cell (l_interface_t($interface_id,$ip));
     plc_table_cell ($node_type);
     plc_table_cell (node_status($node));
     plc_table_cell ($fake1);
@@ -173,9 +174,7 @@ foreach ($nodes as $node) {
     $fake_i += 1;
 }
 
-plc_table_end();
-
-plc_table_notes();
+plc_table_end($table_options);
 
 // Print footer
 include 'plc_footer.php';