From e4a407bb62085b1103d10380e350e2ef72bc5bdf Mon Sep 17 00:00:00 2001 From: sasha Date: Tue, 19 Aug 2008 14:00:07 +0000 Subject: - [DEV-137] Misc bugs and improvements [Configuration/Proxies] git-svn-id: svn://svn.zabbix.com/trunk@5929 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/hosts.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index 73c429a9..94fb19ec 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -1388,8 +1388,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); @@ -1412,14 +1413,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( @@ -1429,9 +1430,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( -- cgit