diff options
author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-10 09:11:47 +0000 |
---|---|---|
committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-10 09:11:47 +0000 |
commit | dd063ef23a40693a5b9bbef6e0f36e444aae94b6 (patch) | |
tree | 0aebf85e657823f4d0c848a4ac7041bd98e02483 /frontends/php | |
parent | dd6e2bc623c75f9084237d3c55f6a75bebac647b (diff) | |
download | zabbix-dd063ef23a40693a5b9bbef6e0f36e444aae94b6.tar.gz zabbix-dd063ef23a40693a5b9bbef6e0f36e444aae94b6.tar.xz zabbix-dd063ef23a40693a5b9bbef6e0f36e444aae94b6.zip |
- [DEV-137] Misc bugs and improvements
[Configuration/Proxies]
git-svn-id: svn://svn.zabbix.com/trunk@5890 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r-- | frontends/php/hosts.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index ecf3821f..ec020b02 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -1379,8 +1379,9 @@ include_once 'include/page_header.php'; "CheckAll('".$form->GetName()."','all_hosts');"), SPACE, make_sorting_link(S_NAME,'g.name')), + S_LASTSEEN_AGE, ' # ', - S_MEMBERS,S_LASTSEEN_AGE)); + S_MEMBERS)); $available_groups = get_accessible_groups_by_user($USER_DETAILS,PERM_READ_WRITE); @@ -1403,14 +1404,14 @@ include_once 'include/page_header.php'; $style = $db_host["status"]==HOST_STATUS_MONITORED ? NULL: ( $db_host["status"]==HOST_STATUS_TEMPLATE ? "unknown" : "on"); - array_push($hosts, empty($hosts) ? '' : ',', new CSpan($db_host["host"], $style)); + array_push($hosts, empty($hosts) ? '' : ', ', new CSpan($db_host["host"], $style)); $count++; } if($db_proxy['lastaccess'] != 0) $lastclock = zbx_date2age($db_proxy['lastaccess']); else - $lastclock = new CCol('-', 'center'); + $lastclock = '-'; $table->AddRow(array( array( @@ -1420,9 +1421,9 @@ include_once 'include/page_header.php'; "hosts.php?form=update&hostid=".$db_proxy["hostid"].url_param("config"), 'action') ), + $lastclock, $count, - $hosts, - $lastclock + new CCol((empty($hosts) ? '-' : $hosts), 'wraptext') )); } $table->SetFooter(new CCol(array( |