summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-06 08:33:19 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-06 08:33:19 +0000
commit60f1add7b5e0e72e18bb983a80432a956d77ddbf (patch)
treee25c88512db15de3da868dfe6c5765732166fc05 /frontends/php
parent5450c96c9fc01213b27cd834ae038494cc631232 (diff)
downloadzabbix-60f1add7b5e0e72e18bb983a80432a956d77ddbf.tar.gz
zabbix-60f1add7b5e0e72e18bb983a80432a956d77ddbf.tar.xz
zabbix-60f1add7b5e0e72e18bb983a80432a956d77ddbf.zip
- [DEV-108] Configuration GUI
git-svn-id: svn://svn.zabbix.com/trunk@5323 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/hosts.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index ad7553ed..562e4477 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -780,6 +780,17 @@ include_once "include/page_header.php";
while($row=DBfetch($result))
{
+ $description = array();
+
+ if ($row["proxyid"]) {
+ $proxy = get_proxy_by_proxyid($row["proxyid"]);
+ array_push($description,$proxy["name"],":");
+ }
+
+ array_push($description,
+ new CLink($row["host"], "hosts.php?form=update&hostid=".
+ $row["hostid"].url_param("groupid").url_param("config"), 'action'));
+
$add_to = array();
$delete_from = array();
@@ -788,9 +799,7 @@ include_once "include/page_header.php";
$host=new CCol(array(
new CCheckBox("hosts[]",NULL,NULL,$row["hostid"]),
SPACE,
- new CLink($row["host"],"hosts.php?form=update&hostid=".
- $row["hostid"].url_param("groupid").url_param("config"), 'action')
- ));
+ $description));
if($show_only_tmp)