X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Ftags%2Fnodegroup.php;h=892cfc8b97a64882d816ef2eb3bee4e0b9a5af0c;hb=da5652ed436911f81ac08120f3c0eb42fdfebc06;hp=7cb1aabca98a12178961a4dfae7e18a1d7e5dadd;hpb=305c3ccb1a65dc994558ec83e5fc3b877686e07f;p=plewww.git diff --git a/planetlab/tags/nodegroup.php b/planetlab/tags/nodegroup.php index 7cb1aab..892cfc8 100644 --- a/planetlab/tags/nodegroup.php +++ b/planetlab/tags/nodegroup.php @@ -66,14 +66,15 @@ plc_section("Nodes"); $headers["Hostname"]="string"; -plc_table_start("nodegroup_nodes",$headers,0,array('search_width'=>15)); +$table = new PlcTable("nodegroup_nodes",$headers,0,array('search_width'=>15)); +$table->start(); if ($nodes) foreach ($nodes as $node) { - plc_table_row_start (); - plc_table_cell ( href (l_node ($node['node_id']),$node['hostname'])); - plc_table_row_end (); + $table->row_start (); + $table->cell ( href (l_node ($node['node_id']),$node['hostname'])); + $table->row_end (); } -plc_table_end ("nodegroup_nodes"); +$table->end (); // Print footer include 'plc_footer.php';