GetNodeGroups($nodegroup_filter,$nodegroup_columns); // -------------------- drupal_set_title($title); plc_tabs($tabs); if ( ! $nodegroups ) { drupal_set_message ('No node group found'); return; } $headers = array ( "Name"=>"string", "Tag"=>"string", "Value"=>"string", "Nodes"=>"int"); # initial sort on groupname $table=new PlcTable("nodegroups",$headers,0); $table->start(); foreach ($nodegroups as $nodegroup) { $table->row_start(); $table->cell (href(l_nodegroup($nodegroup['nodegroup_id']),$nodegroup['groupname'])); $table->cell ($nodegroup['tagname']); $table->cell ($nodegroup['value']); $table->cell (count($nodegroup['node_ids'])); $table->row_end(); } $table->end(); //plc_tabs ($tabs,"bottom"); // Print footer include 'plc_footer.php'; ?>