From 5c3768ceaa3080321c3bf6481640fcdd380d0025 Mon Sep 17 00:00:00 2001 From: artem Date: Wed, 23 Jul 2008 09:37:47 +0000 Subject: - [DEV-192] added filter to Status of triggers (Artem) - [DEV-191] monitoring screens inline update preparation (Artem) - [DEV-192] added severity filter in status of triggers (Artem) - [DEV-137] sql fixes for oracle (Artem) - [ZBX-396] fixed error maps message (Artem) - [ZBX-394] fixed showing hosts without group in status of triggers (Artem) - [DEV-137] small fixes (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5841 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/queue.php | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'frontends/php/queue.php') diff --git a/frontends/php/queue.php b/frontends/php/queue.php index 8ee50f35..0684a2fc 100644 --- a/frontends/php/queue.php +++ b/frontends/php/queue.php @@ -39,7 +39,7 @@ include_once "include/page_header.php"; check_fields($fields); - $available_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_ONLY); + $available_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_ONLY,PERM_RES_IDS_ARRAY); ?> setHeader(array(S_ITEMS,S_5_SECONDS,S_10_SECONDS,S_30_SECONDS,S_1_MINUTE,S_5_MINUTES,S_MORE_THAN_5_MINUTES)); - foreach($item_types as $type) - { + foreach($item_types as $type){ $elements=array( item_type2str($type), new CCol($sec_5[$type],($sec_5[$type])?"unknown_trigger":"normal"), @@ -127,16 +124,14 @@ include_once "include/page_header.php"; $table->addRow($elements); } } - else - { + else{ $table->SetHeader(array( S_NEXT_CHECK, is_show_subnodes() ? S_NODE : null, S_HOST, S_DESCRIPTION )); - while($row=DBfetch($result)) - { + while($row=DBfetch($result)){ $table->AddRow(array( date("m.d.Y H:i:s", $row["nextcheck"]), @@ -148,14 +143,11 @@ include_once "include/page_header.php"; } $table->Show(); -?> -GetNumRows()); } ?> -