diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-20 08:42:25 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-20 08:42:25 +0000 |
commit | 3f8cf5f0da75fa8312c173e9e2c1e1e843811091 (patch) | |
tree | 1cb9f4841cb20bc2fd65a696181e70cbdf2cfb88 /frontends/php/popup_right.php | |
parent | 2804bdc7c298f114802a93d7c3312370c8602ba0 (diff) | |
download | zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.tar.gz zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.tar.xz zabbix-3f8cf5f0da75fa8312c173e9e2c1e1e843811091.zip |
- [DEV-137] changes in users profile system (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5782 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/popup_right.php')
-rw-r--r-- | frontends/php/popup_right.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/frontends/php/popup_right.php b/frontends/php/popup_right.php index ff403f5e..e952b813 100644 --- a/frontends/php/popup_right.php +++ b/frontends/php/popup_right.php @@ -34,19 +34,16 @@ include_once "include/page_header.php"; $fields=array( "dstfrm"=> array(T_ZBX_STR, O_MAND,P_SYS, NOT_EMPTY, NULL), "permission"=> array(T_ZBX_INT, O_MAND,P_SYS, IN(PERM_DENY.','.PERM_READ_ONLY.','.PERM_READ_WRITE), NULL), -// "type"=> array(T_ZBX_INT, O_OPT, P_SYS, IN(RESOURCE_TYPE_GROUP.(ZBX_DISTRIBUTED ? ','.RESOURCE_TYPE_NODE : '')), NULL), 'nodeid'=> array(T_ZBX_INT, O_OPT, P_SYS, DB_ID, NULL), - ); check_fields($fields); $dstfrm = get_request("dstfrm", 0); // destination form $permission = get_request("permission", PERM_DENY); // right - $type = get_request("type", RESOURCE_TYPE_GROUP); // type of resource - $nodeid = get_request('nodeid', get_current_nodeid(false)); + $nodeid = get_request('nodeid', get_profile('web.popup_right.nodeid.last',get_current_nodeid(false))); - update_profile('web.right_type.last', $type); + update_profile('web.popup_right.nodeid.last', $nodeid); ?> <script language="JavaScript" type="text/javascript"> <!-- |