diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-11 14:48:34 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-11 14:48:34 +0000 |
commit | 8e0de84965c91f571e94fa4e1bd7848310a787b3 (patch) | |
tree | 36c838de1bbed7a330901d286873fddcde8c9390 /frontends/php/profile.php | |
parent | ec99dcce124d70002c5eee4af75a9cf57479b2f1 (diff) | |
download | zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.tar.gz zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.tar.xz zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.zip |
- [DEV-112] added themes option in frontend (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5341 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/profile.php')
-rw-r--r-- | frontends/php/profile.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/profile.php b/frontends/php/profile.php index 6f46601b..8ba8e9b7 100644 --- a/frontends/php/profile.php +++ b/frontends/php/profile.php @@ -41,6 +41,7 @@ include_once "include/page_header.php"; "password1"=> array(T_ZBX_STR, O_OPT, null, null, 'isset({save})&&isset({form})&&({form}!="update")&&isset({change_password})'), "password2"=> array(T_ZBX_STR, O_OPT, null, null, 'isset({save})&&isset({form})&&({form}!="update")&&isset({change_password})'), "lang"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY, 'isset({save})'), + "theme"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY, 'isset({save})'), "autologout"=> array(T_ZBX_INT, O_OPT, null, BETWEEN(0,3600),'isset({save})'), "url"=> array(T_ZBX_STR, O_OPT, null, null, 'isset({save})'), "refresh"=> array(T_ZBX_INT, O_OPT, null, BETWEEN(0,3600),'isset({save})'), @@ -72,7 +73,7 @@ include_once "include/page_header.php"; } elseif($_REQUEST["password1"]==$_REQUEST["password2"]) { - $result=update_user_profile($USER_DETAILS["userid"],$_REQUEST["password1"],$_REQUEST["url"],$_REQUEST["autologout"],$_REQUEST["lang"],$_REQUEST["refresh"]); + $result=update_user_profile($USER_DETAILS["userid"],$_REQUEST["password1"],$_REQUEST["url"],$_REQUEST["autologout"],$_REQUEST["lang"],$_REQUEST['theme'],$_REQUEST["refresh"]); show_messages($result, S_USER_UPDATED, S_CANNOT_UPDATE_USER); if($result) add_audit(AUDIT_ACTION_UPDATE,AUDIT_RESOURCE_USER, |