summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/maps.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-03 10:24:46 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-03 10:24:46 +0000
commitf76c30e882c1ab030b91dbe4ea8581c2b2c6ef05 (patch)
tree82d0cc4a1d306007378843e1ee2aacf9b29e9b21 /frontends/php/include/maps.inc.php
parentd61b888e2947cc92766cac05abe6f8a238038269 (diff)
downloadzabbix-f76c30e882c1ab030b91dbe4ea8581c2b2c6ef05.tar.gz
zabbix-f76c30e882c1ab030b91dbe4ea8581c2b2c6ef05.tar.xz
zabbix-f76c30e882c1ab030b91dbe4ea8581c2b2c6ef05.zip
- added "remove all" option in dashboard menus (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5584 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/maps.inc.php')
-rw-r--r--frontends/php/include/maps.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php
index 098484ed..6c7c24e6 100644
--- a/frontends/php/include/maps.inc.php
+++ b/frontends/php/include/maps.inc.php
@@ -66,7 +66,7 @@
}
/*
- * Function: sysmap_accessiable
+ * Function: sysmap_accessible
*
* Description:
* Check permission for map
@@ -77,7 +77,7 @@
* Eugene Grigorjev
*
*/
- function sysmap_accessiable($sysmapid,$perm)
+ function sysmap_accessible($sysmapid,$perm)
{
global $USER_DETAILS;
@@ -99,7 +99,7 @@
}
break;
case SYSMAP_ELEMENT_TYPE_MAP:
- $result &= sysmap_accessiable($se_data['elementid'], PERM_READ_ONLY);
+ $result &= sysmap_accessible($se_data['elementid'], PERM_READ_ONLY);
break;
case SYSMAP_ELEMENT_TYPE_TRIGGER:
if(DBfetch(DBselect('SELECT triggerid FROM triggers WHERE triggerid='.$se_data['elementid']))){