diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-08 11:05:55 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-08 11:05:55 +0000 |
| commit | 6ca88367efa0174e68b6da1ff81b40f002550f10 (patch) | |
| tree | 25b22f451595f1f3287ea4847399c26a0dbd77e8 /frontends/php/hosts.php | |
| parent | a15f9f40b7eea4a9d2ba16b6ba6a134b45a7f2b9 (diff) | |
| download | zabbix-6ca88367efa0174e68b6da1ff81b40f002550f10.tar.gz zabbix-6ca88367efa0174e68b6da1ff81b40f002550f10.tar.xz zabbix-6ca88367efa0174e68b6da1ff81b40f002550f10.zip | |
- [DEV-137] small improvements (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5687 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/hosts.php')
| -rw-r--r-- | frontends/php/hosts.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index 5e44c592..24084c7c 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -1038,9 +1038,9 @@ include_once "include/page_header.php"; $db_hosts = DBselect('SELECT DISTINCT h.host, h.status'. ' FROM hosts h, hosts_groups hg'. ' WHERE h.hostid=hg.hostid '. - ' AND hg.groupid='.$db_group['groupid']. - ' AND '.DBcondition('h.hostid',$available_hosts). - ' AND h.status in ('.HOST_STATUS_MONITORED.','.HOST_STATUS_NOT_MONITORED.','.HOST_STATUS_TEMPLATE.') '. + ' AND hg.groupid='.$db_group['groupid']. + ' AND '.DBcondition('h.hostid',$available_hosts). + ' AND h.status in ('.HOST_STATUS_MONITORED.','.HOST_STATUS_NOT_MONITORED.','.HOST_STATUS_TEMPLATE.') '. ' order by host' ); @@ -1057,7 +1057,7 @@ include_once "include/page_header.php"; $table->AddRow(array( array( - new CCheckBox("groups[]",NULL,NULL,$db_group["groupid"]), + new CCheckBox('groups[]',NULL,NULL,$db_group["groupid"]), SPACE, new CLink( $db_group["name"], @@ -1065,7 +1065,7 @@ include_once "include/page_header.php"; url_param("config"),'action') ), $count, - empty($hosts)?'-':$hosts + new CCol((empty($hosts)?'-':$hosts),'wraptext') )); } $table->SetFooter(new CCol(array( |
