\n";
return $sToRender;
}
// show the list box when no group selected
// then shows a text box with the group's name
function getGroupDisplay($oGroup) {
global $default;
if (!isset($oGroup)) {
$oPatternListBox = & new PatternListBox($default->owl_groups_table, "name", "id", "fGroupID");
//$oPatternListBox->setIncludeDefaultValue(true);
$oPatternListBox->setPostBackOnChange(true);
return $oPatternListBox->render();
} else {
return "iId . "\">\n" .
"getName() . "\">";
}
}
// returns the checkbox ticked or unticked
function getUnitAdminCheckBox($oGroup) {
if (!isset($oGroup)) {
return "";
} else {
return "getUnitAdmin() ? "CHECKED " : " ") . " />";
}
}
// returns the checkbox ticked or unticked
function getSysAdminCheckBox($oGroup) {
if (!isset($oGroup)) {
return "";
} else {
return "getSysAdmin() ? "CHECKED " : " ") . " />";
}
}
// gets the updatebutton when a group is selected
function getUpdateButton($oGroup) {
global $default;
if (!isset($oGroup)) {
return "Please select a group: ";
} else {
return "