GetNodeGroups($nodegroup_filter,$nodegroup_columns); // -------------------- drupal_set_title($title); plekit_linetabs($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 PlekitTable("nodegroups",$headers,0); $table->start(); foreach ($nodegroups as $nodegroup) { $table->row_start(); $table->cell (href(l_nodegroup($nodegroup['nodegroup_id']),$nodegroup['groupname'])); // yes, a nodegroup is not a tag, but knows enough for this to work $table->cell (l_tag_obj($nodegroup)); $table->cell ($nodegroup['value']); $table->cell (count($nodegroup['node_ids'])); $table->row_end(); } $table->end(); //plekit_linetabs ($tabs,"bottom"); // Print footer include 'plc_footer.php'; ?>