EOE;
return;
}
// This is used by nodes_by_group.php
/**
* @param XCATNodeGroup nodeGroup The node group for which we want to generate the html.
* returns the table that contains all the nodes information of that group
*/
function getNodeGroupSection($nodeGroup) {
$imagedir = 'images';
$right_arrow_gif = $imagedir . "/grey_arrow_r.gif";
$left_arrow_gif = $imagedir . "/grey_arrow_l.gif";
$html .= <<
EOS;
$nodes = $nodeGroup->getNodes();
foreach($nodes as $nodeName => $node) {
$html .= GroupNodeTable::getNodeTableRow($node);
}
$html .= "
";
$html .= <<
EOS;
return $html;
}
/**
* @param XCATNode node The node for which we want to generate the html.
*/
function getNodeTableRow($node) {
$imagedir = 'images';
//echo $node->getName();
$html = "