From fefeed0a362b96cfcbc252adfa1e41b9035d8b9e Mon Sep 17 00:00:00 2001 From: hugetoad Date: Tue, 7 May 2002 10:41:18 +0000 Subject: - added default user "guest" (Alexei) - more support for flexible permissions (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@357 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/maps.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'frontends/php/maps.php') diff --git a/frontends/php/maps.php b/frontends/php/maps.php index ab8c70c9..801549f1 100644 --- a/frontends/php/maps.php +++ b/frontends/php/maps.php @@ -31,16 +31,18 @@ $lasthost=""; $result=DBselect("select sysmapid,name from sysmaps order by name"); - for($i=0;$i["; } - echo "$name"; - if(isset($sysmapid) && ($sysmapid == $sysmapid_) ) + echo "".$row["name"].""; + if(isset($sysmapid) && ($sysmapid == $row["sysmapid"]) ) { echo "]"; } -- cgit