diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-26 12:46:19 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-26 12:46:19 +0000 |
| commit | 9d240eca134c2433ac0a548a2b7fbe1fccc7c66d (patch) | |
| tree | cd3d46256d09ca370f385dccf2082d0d33d96e78 /frontends/php/hosts.php | |
| parent | 63ce91166a8ecd8550db063ba9d9d914ec270e4c (diff) | |
| download | zabbix-9d240eca134c2433ac0a548a2b7fbe1fccc7c66d.tar.gz zabbix-9d240eca134c2433ac0a548a2b7fbe1fccc7c66d.tar.xz zabbix-9d240eca134c2433ac0a548a2b7fbe1fccc7c66d.zip | |
- [DEV-177] added checkbox range selection (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5800 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/hosts.php')
| -rw-r--r-- | frontends/php/hosts.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index e27227f0..6df5e12d 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -967,7 +967,7 @@ include_once 'include/page_header.php'; $templates = get_templates_by_hostid($row["hostid"]); $host=new CCol(array( - new CCheckBox("hosts[]",NULL,NULL,$row["hostid"]), + new CCheckBox('hosts['.$row["hostid"].']',NULL,NULL,$row["hostid"]), SPACE, $description)); @@ -1159,7 +1159,7 @@ include_once 'include/page_header.php'; $table->AddRow(array( array( - new CCheckBox('groups[]',NULL,NULL,$db_group["groupid"]), + new CCheckBox('groups['.$db_group["groupid"].']',NULL,NULL,$db_group["groupid"]), SPACE, new CLink( $db_group["name"], @@ -1325,7 +1325,7 @@ include_once 'include/page_header.php'; $table->AddRow(array( - array(new CCheckBox("applications[]",NULL,NULL,$db_app["applicationid"]),SPACE,$name), + array(new CCheckBox('applications['.$db_app["applicationid"].']',NULL,NULL,$db_app["applicationid"]),SPACE,$name), array(new CLink(S_ITEMS,"items.php?hostid=".$db_app["hostid"],"action"), SPACE."($rows)") )); @@ -1396,7 +1396,7 @@ include_once 'include/page_header.php'; $table->AddRow(array( array( - new CCheckBox("hosts[]", NULL, NULL, $db_proxy["hostid"]), + new CCheckBox('hosts['.$db_proxy["hostid"].']', NULL, NULL, $db_proxy["hostid"]), SPACE, new CLink($db_proxy["host"], "hosts.php?form=update&hostid=".$db_proxy["hostid"].url_param("config"), |
