";
printMLText("editing_group");
$name = sanitizeString($name);
$comment = sanitizeString($comment);
if ($group->getName() != $name)
$group->setName($name);
if ($group->getComment() != $comment)
$group->setComment($comment);
printMLText("op_finished");
printGoto(array(array(getMLText("group_management"), "../out/out.GroupMgr.php")));
}
//Benutzer zu Gruppe hinzufügen -------------------------------------------------------------------
else if ($action == "addmember")
{
printStartBox(getMLText("add_member"));
print "
";
printMLText("adding_member");
$group = getGroup($groupid);
$newMember = getUser($userid);
$group->addUser($newMember);
printMLText("op_finished");
printGoto(array(array(getMLText("group_management"), "../out/out.GroupMgr.php")));
}
//Benutzer aus Gruppe entfernen -------------------------------------------------------------------
else if ($action == "rmmember")
{
printStartBox(getMLText("remove_member"));
print "
";
printMLText("removing_member");
$group = getGroup($groupid);
$oldMember = getUser($userid);
$group->removeUser($oldMember);
printMLText("op_finished");
printGoto(array(array(getMLText("group_management"), "../out/out.GroupMgr.php")));
}
print "
";
printEndBox();
printCenterEnd();
printHTMLFoot();
?>