From eaa70f1fbce932a6963c592916326380abda823c Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 29 Aug 2005 11:25:06 +0000 Subject: Minor changes. git-svn-id: svn://svn.zabbix.com/trunk@2011 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/sysmap.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'frontends/php/sysmap.php') diff --git a/frontends/php/sysmap.php b/frontends/php/sysmap.php index 96583b9a..ae4a5848 100644 --- a/frontends/php/sysmap.php +++ b/frontends/php/sysmap.php @@ -83,7 +83,7 @@ if(isset($_GET["sysmapid"])) { $map="\n"; - $result=DBselect("select h.host,sh.shostid,sh.sysmapid,sh.hostid,sh.label,sh.x,sh.y,h.status from sysmaps_hosts sh,hosts h where sh.sysmapid=".$_GET["sysmapid"]." and h.hostid=sh.hostid"); + $result=DBselect("select h.host,sh.shostid,sh.sysmapid,sh.hostid,sh.label,sh.x,sh.y,h.status from sysmaps_hosts sh,hosts h where sh.sysmapid=".$_GET["sysmapid"]." and h.status not in (".HOST_STATUS_DELETED.") and h.hostid=sh.hostid"); for($i=0;$i"; for($i=0;$i 1) { show_form_begin("sysmap.connector"); @@ -310,13 +310,14 @@ { $shostid_=DBget_field($result,$i,0); $label=DBget_field($result,$i,1); + $host=get_host_by_hostid(DBget_field($result,$i,2)); if(isset($_GET["shostid"])&&($_GET["shostid"]==$shostid_)) { - echo "