From 58aee2faa7ab32edcedaf68d346593de9ddb3cb6 Mon Sep 17 00:00:00 2001 From: artem Date: Wed, 19 Mar 2008 17:56:41 +0000 Subject: - [DEV-139] added transaction functionality to frontend (Artem) - many small fixes (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5505 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/php/dashboard.php') diff --git a/frontends/php/dashboard.php b/frontends/php/dashboard.php index 30dc2219..525301ac 100644 --- a/frontends/php/dashboard.php +++ b/frontends/php/dashboard.php @@ -30,7 +30,7 @@ require_once "include/blocks.inc.php"; $page["title"] = "S_DASHBOARD"; $page["file"] = "dashboard.php"; $page['hist_arg'] = array(); -$page['scripts'] = array('url.js','dashboard.js','showhint.js'); +$page['scripts'] = array('dashboard.js','showhint.js'); $page['type'] = detect_page_type(PAGE_TYPE_HTML); @@ -329,7 +329,7 @@ include_once "include/page_header.php"; $drules = DBfetch(DBselect('SELECT COUNT(d.druleid) as cnt FROM drules d WHERE '.DBin_node('d.druleid').' AND d.status='.DRULE_STATUS_ACTIVE)); - if(($drules['cnt'] > 0) && (USER_TYPE_ZABBIX_ADMIN <= $USER_DETAILS['type'])){ + if(($drules['cnt'] > 0) && check_right_on_discovery(PERM_READ_ONLY)){ $refresh_tab[] = array( 'id' => 'hat_dscvry','interval' => get_profile('web.dahsboard.rf_rate.hat_dscvry',60)); -- cgit