From 8755f9643aba3cffc5320321618fbe8e7b78b73b Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 14 Sep 2006 11:06:27 +0000 Subject: Initial integration of distributed monitoring. Changes 3196:HEAD of branches/distributed git-svn-id: svn://svn.zabbix.com/trunk@3306 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/forms.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'frontends/php/include/forms.inc.php') diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 441b04ea..a5a82dad 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -192,6 +192,7 @@ function insert_usergroups_form($usrgrpid) { global $_REQUEST; + global $ZBX_CURNODEID; $frm_title = S_USER_GROUP; if(isset($usrgrpid)) @@ -229,7 +230,9 @@ $frmUserG->AddRow(S_GROUP_NAME,new CTextBox("gname",$name,30)); $form_row = array(); - $db_users=DBselect("select distinct userid,alias from users order by alias"); + $db_users=DBselect("select distinct userid,alias from users". + " where mod(userid,100)=".$ZBX_CURNODEID. + " order by alias"); while($db_user=DBfetch($db_users)) { array_push($form_row, -- cgit