diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-08 15:38:16 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-08 15:38:16 +0000 |
| commit | a46862043190f912dcc47d1bb2d1d188fa8ff0e9 (patch) | |
| tree | 82d24e0b4ddc6133f1dc384cf125ef06941ce950 /frontends/php/sysmap.php | |
| parent | 652aeeb84a2cf49744100c771bdea2f6f758a7d6 (diff) | |
| download | zabbix-a46862043190f912dcc47d1bb2d1d188fa8ff0e9.tar.gz zabbix-a46862043190f912dcc47d1bb2d1d188fa8ff0e9.tar.xz zabbix-a46862043190f912dcc47d1bb2d1d188fa8ff0e9.zip | |
- fixed selection of icon and host in sysmap.php. Thanks to S�bastien "slix"
Li�nard. (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@586 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/sysmap.php')
| -rw-r--r-- | frontends/php/sysmap.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/php/sysmap.php b/frontends/php/sysmap.php index 5c1634d2..7d6de98e 100644 --- a/frontends/php/sysmap.php +++ b/frontends/php/sysmap.php @@ -209,7 +209,8 @@ { $hostid_=DBget_field($result,$i,0); $host_=DBget_field($result,$i,1); - if(isset($HTTP_GET_VARS["hostid"]) && ($HTTP_GET_VARS["hostid"]==$hostid_)) + if(isset($HTTP_GET_VARS["shostid"]) && ($hostid==$hostid_)) +// if(isset($HTTP_GET_VARS["hostid"]) && ($HTTP_GET_VARS["hostid"]==$hostid_)) { echo "<OPTION VALUE='$hostid_' SELECTED>$host_"; } @@ -231,7 +232,8 @@ $icons[3]="Hub"; for($i=0;$i<4;$i++) { - if(isset($HTTP_GET_VARS["hostid"]) && ($HTTP_GET_VARS["icon"]==$icons[$i])) + if(isset($HTTP_GET_VARS["shostid"]) && ($icon==$icons[$i])) +// if(isset($HTTP_GET_VARS["hostid"]) && ($HTTP_GET_VARS["icon"]==$icons[$i])) { echo "<OPTION VALUE='".$icons[$i]."' SELECTED>".$icons[$i]; } |
