2007-10-26 22:44:33 +00:00
|
|
|
<?php
|
2008-09-26 20:25:53 +00:00
|
|
|
|
|
|
|
// Returns the nodes of a group expanded in the group/node table
|
|
|
|
|
2007-11-28 19:37:25 +00:00
|
|
|
$TOPDIR = '..';
|
|
|
|
require_once("$TOPDIR/lib/GroupNodeTable.class.php");
|
2007-10-26 22:44:33 +00:00
|
|
|
|
|
|
|
$nodeGroupName = @$_REQUEST["nodeGroupName"];
|
|
|
|
|
2008-09-26 20:25:53 +00:00
|
|
|
// Get all the nodes (with node information) of the group
|
|
|
|
$nodes = getNodes($nodeGroupName, array('nodetype.os','nodetype.arch','nodetype.profile','nodehm.power','nodehm.mgt','nodelist.comments'));
|
|
|
|
//$nodes = getNodes($nodeGroupName, 'nodetype.os');
|
|
|
|
|
|
|
|
// Display the rows in the table for these nodes
|
2007-12-03 18:16:38 +00:00
|
|
|
echo GroupNodeTable::getNodeGroupSection($nodeGroupName, $nodes);
|
2007-10-26 22:44:33 +00:00
|
|
|
|
|
|
|
?>
|