summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/page_header.php
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-12-07 08:46:19 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-12-07 08:46:19 +0000
commitb93508c7b63e89efd30a1a6c304f2eea27388244 (patch)
treedf6a9d3475cd614b8a78289efd63ee07edfdc8b1 /frontends/php/include/page_header.php
parent224ef1379dfb1c35ca45dcee50072406c76f714a (diff)
downloadzabbix-b93508c7b63e89efd30a1a6c304f2eea27388244.tar.gz
zabbix-b93508c7b63e89efd30a1a6c304f2eea27388244.tar.xz
zabbix-b93508c7b63e89efd30a1a6c304f2eea27388244.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@3572 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/page_header.php')
-rw-r--r--frontends/php/include/page_header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php
index 0baf504a..8bd598e1 100644
--- a/frontends/php/include/page_header.php
+++ b/frontends/php/include/page_header.php
@@ -252,7 +252,7 @@ COpt::profiling_start("page");
{
$deny = true;
}
- elseif($label=='admin' && (!in_array($USER_DETAILS['type'], array(USER_TYPE_SUPPER_ADMIN)) ||
+ elseif($label=='admin' && (!in_array($USER_DETAILS['type'], array(USER_TYPE_SUPER_ADMIN)) ||
!in_array($ZBX_CURNODEID, get_accessible_nodes_by_user(
$USER_DETAILS,PERM_READ_WRITE,null,
PERM_RES_IDS_ARRAY,$ZBX_CURNODEID))))
@@ -260,7 +260,7 @@ COpt::profiling_start("page");
$deny = true;
}
elseif($label=='config' && (
- !in_array($USER_DETAILS['type'], array(USER_TYPE_SUPPER_ADMIN, USER_TYPE_ZABBIX_ADMIN)) ||
+ !in_array($USER_DETAILS['type'], array(USER_TYPE_SUPER_ADMIN, USER_TYPE_ZABBIX_ADMIN)) ||
!in_array($ZBX_CURNODEID, get_accessible_nodes_by_user(
$USER_DETAILS,PERM_READ_LIST,null,
PERM_RES_IDS_ARRAY,$ZBX_CURNODEID))))