diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-04 12:32:47 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-04 12:32:47 +0000 |
| commit | 0218e165825ef10e034b1784777c1d53cf789104 (patch) | |
| tree | 6e03d4a3ca1d6f644e7ae4ec9c14ecb239ae80ec /frontends/php/dashboard.php | |
| parent | e9e80b1adb24d4c1cfffdc3e5837797a26c877cc (diff) | |
| download | zabbix-0218e165825ef10e034b1784777c1d53cf789104.tar.gz zabbix-0218e165825ef10e034b1784777c1d53cf789104.tar.xz zabbix-0218e165825ef10e034b1784777c1d53cf789104.zip | |
- [DEV-188] implemented sound on/off button in status of triggers screens (Artem)
- [ZBX-333] fixed export/import time issue (Artem)
- [ZBX-270] minor fix in code performance (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5817 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/dashboard.php')
| -rw-r--r-- | frontends/php/dashboard.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/dashboard.php b/frontends/php/dashboard.php index e6a72041..4cb276c0 100644 --- a/frontends/php/dashboard.php +++ b/frontends/php/dashboard.php @@ -88,7 +88,7 @@ include_once "include/page_header.php"; } } if('set_rf_rate' == $_REQUEST['favobj']){ - if(in_array($_REQUEST['favid'],array('hat_syssum','hat_stszbx','hat_lastiss','hat_webovr','hat_dscvry'))){ + if(str_in_array($_REQUEST['favid'],array('hat_syssum','hat_stszbx','hat_lastiss','hat_webovr','hat_dscvry'))){ update_profile('web.dahsboard.rf_rate.'.$_REQUEST['favid'],$_REQUEST['favcnt'], PROFILE_TYPE_INT); $_REQUEST['favcnt'] = get_profile('web.dahsboard.rf_rate.'.$_REQUEST['favid'],60); @@ -108,7 +108,7 @@ include_once "include/page_header.php"; } } - if(in_array($_REQUEST['favobj'],array('itemid','graphid'))){ + if(str_in_array($_REQUEST['favobj'],array('itemid','graphid'))){ $result = false; if('add' == $_REQUEST['action']){ $result = add2favorites('web.favorite.graphids',$_REQUEST['favid'],$_REQUEST['favobj']); @@ -147,7 +147,7 @@ include_once "include/page_header.php"; echo 'dashboard_submenu["menu_sysmaps"] = '.zbx_jsvalue(make_sysmap_submenu()).';'; } } - if(in_array($_REQUEST['favobj'],array('screenid','slideshowid'))){ + if(str_in_array($_REQUEST['favobj'],array('screenid','slideshowid'))){ $result = false; if('add' == $_REQUEST['action']){ $result = add2favorites('web.favorite.screenids',$_REQUEST['favid'],$_REQUEST['favobj']); |
