From f76c30e882c1ab030b91dbe4ea8581c2b2c6ef05 Mon Sep 17 00:00:00 2001 From: artem Date: Thu, 3 Apr 2008 10:24:46 +0000 Subject: - added "remove all" option in dashboard menus (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5584 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/forms.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontends/php/include/forms.inc.php') diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index b5abd8a7..edae641f 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -3772,7 +3772,7 @@ include_once 'include/discovery.inc.php'; ' WHERE s.sysmapid='.$resourceid); while($row=DBfetch($result)){ - if(!sysmap_accessiable($row['sysmapid'],PERM_READ_ONLY)) continue; + if(!sysmap_accessible($row['sysmapid'],PERM_READ_ONLY)) continue; $row['node_name'] = isset($row['node_name']) ? '('.$row['node_name'].') ' : ''; $caption = $row['node_name'].$row['name']; @@ -3878,7 +3878,7 @@ include_once 'include/discovery.inc.php'; ' WHERE s.screenid='.$resourceid); while($row=DBfetch($result)){ - if(!screen_accessiable($row['screenid'], PERM_READ_ONLY)) continue; + if(!screen_accessible($row['screenid'], PERM_READ_ONLY)) continue; if(check_screen_recursion($_REQUEST['screenid'],$row['screenid'])) continue; $row['node_name'] = isset($row['node_name']) ? '('.$row['node_name'].') ' : ''; @@ -4907,7 +4907,7 @@ include_once 'include/discovery.inc.php'; ' order by node_name,s.name'); while($db_map = DBfetch($db_maps)) { - if(!sysmap_accessiable($db_map["sysmapid"],PERM_READ_ONLY)) continue; + if(!sysmap_accessible($db_map["sysmapid"],PERM_READ_ONLY)) continue; $node_name = isset($db_map['node_name']) ? '('.$db_map['node_name'].') ' : ''; $cmbMaps->AddItem($db_map["sysmapid"],$node_name.$db_map["name"]); } -- cgit