function OnPostForm() { $wizard =& $this->GetWizard(); $group_id = intval($wizard->GetVar("group_id")); CClusterSlave::SetOnLine($this->arNode["ID"], 1); $this->OpenSite(); $this->location = '/bitrix/admin/cluster_slave_list.php?lang=' . LANGUAGE_ID . '&group_id=' . $group_id; }
function OnPostForm() { $wizard =& $this->GetWizard(); $group_id = intval($wizard->GetVar("group_id")); CClusterSlave::SetOnLine($this->arNode["ID"], $this->arMaster["ID"]); $this->OpenSite(); echo ' <script> top.window.location = \'/bitrix/admin/cluster_slave_list.php?lang=' . LANGUAGE_ID . '&group_id=' . $group_id . '\'; </script> '; }