function __GroupRightsShowRowGroup($module_id, $ar, $value, $arSites, $arRightsUseSites, $site_id_tmp, $arGROUPS) { $v = __GetGroupRight($module_id, $value["ID"], $site_id_tmp, $arSites, $arGROUPS); if ($v == '') { return; } $titleCol = $value["NAME"] . " [<a title=\"" . GetMessage("MAIN_USER_GROUP_TITLE") . "\" href=\"/bitrix/admin/group_edit.php?ID=" . $value["ID"] . "&lang=" . LANGUAGE_ID . "\">" . $value["ID"] . "</a>]:" . ($value["ID"] == 1 && $md->SHOW_SUPER_ADMIN_GROUP_RIGHTS == "Y" ? "<br><small>" . GetMessage("MAIN_SUPER_ADMIN_RIGHTS_COMMENT") . "</small>" : ""); __GroupRightsShowRow($titleCol, $value["ID"], $value["ID"], $ar, $v, $site_id_tmp, $arRightsUseSites, $arSites, true); }
function __GroupRightsShowRowGroup($module_id, $ar, $value, $arSites, $arRightsUseSites, $site_id_tmp) { $v = $GLOBALS["APPLICATION"]->GetGroupRight($module_id, array($value["ID"]), "N", "N", $site_id_tmp); if($v == '') return; $arUsedGroups[$value["ID"]] = true; $titleCol = $value["NAME"]." [<a title=\"".GetMessage("MAIN_USER_GROUP_TITLE")."\" href=\"/freetrix/admin/group_edit.php?ID=".$value["ID"]."&lang=".LANGUAGE_ID."\">".$value["ID"]."</a>]:".(($value["ID"]==1 && $md->SHOW_SUPER_ADMIN_GROUP_RIGHTS=="Y") ? "<br><small>".GetMessage("MAIN_SUPER_ADMIN_RIGHTS_COMMENT")."</small>" : ""); __GroupRightsShowRow($titleCol, $value["ID"], $value["ID"], $ar, $v, $site_id_tmp, $arRightsUseSites, $arSites, true); }