diff options
-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 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( |