summaryrefslogtreecommitdiffstats
path: root/frontends/php/dashboard.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-03 14:24:48 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-03 14:24:48 +0000
commit4f6849b38d72481080471bb1842860f93fa86a88 (patch)
tree162e37b3aa9edaf69e24d83f81c84b8be137841e /frontends/php/dashboard.php
parent33d9602f430db48458034a24ad72a5c6b25dfe22 (diff)
downloadzabbix-4f6849b38d72481080471bb1842860f93fa86a88.tar.gz
zabbix-4f6849b38d72481080471bb1842860f93fa86a88.tar.xz
zabbix-4f6849b38d72481080471bb1842860f93fa86a88.zip
- improvements in permission check for triggers (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5588 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/dashboard.php')
-rw-r--r--frontends/php/dashboard.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/php/dashboard.php b/frontends/php/dashboard.php
index 302e9663..db69ac6d 100644
--- a/frontends/php/dashboard.php
+++ b/frontends/php/dashboard.php
@@ -65,7 +65,7 @@ include_once "include/page_header.php";
if('refresh' == $_REQUEST['favobj']){
switch($_REQUEST['favid']){
case 'hat_syssum':
- $syssum = make_system_summary($available_hosts);
+ $syssum = make_system_summary();
$syssum->show();
break;
case 'hat_stszbx':
@@ -73,7 +73,7 @@ include_once "include/page_header.php";
$stszbx->Show();
break;
case 'hat_lastiss':
- $lastiss = make_latest_issues($available_hosts);
+ $lastiss = make_latest_issues();
$lastiss->Show();
break;
case 'hat_webovr':
@@ -117,7 +117,7 @@ include_once "include/page_header.php";
}
if((PAGE_TYPE_JS == $page['type']) && $result){
- $innerHTML = make_favorite_graphs($available_hosts);
+ $innerHTML = make_favorite_graphs();
$innerHTML = $innerHTML->toString();
print('$("hat_favgrph").update('.zbx_jsvalue($innerHTML).');');
@@ -222,7 +222,7 @@ include_once "include/page_header.php";
$left_tab->AddRow(create_hat(
S_FAVORITE.SPACE.S_GRAPHS,
- make_favorite_graphs($available_hosts),
+ make_favorite_graphs(),
array($graph_menu),
'hat_favgrph',
get_profile('web.dashboard.hats.hat_favgrph.state',1)
@@ -286,7 +286,7 @@ include_once "include/page_header.php";
$right_tab->AddRow(create_hat(
S_SYSTEM_STATUS,
- null,//make_system_summary($available_hosts),
+ null,//make_system_summary(),
array($refresh_menu),
'hat_syssum',
get_profile('web.dashboard.hats.hat_syssum.state',1)
@@ -309,7 +309,7 @@ include_once "include/page_header.php";
$refresh_menu->AddOption('title',S_MENU);
$right_tab->AddRow(create_hat(S_LATEST_ISSUES,
- null,//make_latest_issues($available_hosts),
+ null,//make_latest_issues(),
array($refresh_menu),
'hat_lastiss',
get_profile('web.dashboard.hats.hat_lastiss.state',1)