summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-19 14:00:07 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-08-19 14:00:07 +0000
commite4a407bb62085b1103d10380e350e2ef72bc5bdf (patch)
treec0759791ca9f734020c4910997314f29fed0cdf6
parent5acd6d4088e8edb103c70dd30cc066ec0821f45b (diff)
downloadzabbix-e4a407bb62085b1103d10380e350e2ef72bc5bdf.tar.gz
zabbix-e4a407bb62085b1103d10380e350e2ef72bc5bdf.tar.xz
zabbix-e4a407bb62085b1103d10380e350e2ef72bc5bdf.zip
- [DEV-137] Misc bugs and improvements
[Configuration/Proxies] git-svn-id: svn://svn.zabbix.com/trunk@5929 97f52cf1-0a1b-0410-bd0e-c28be96e8082
-rw-r--r--frontends/php/hosts.php11
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(