From fa15863d478d24cbced062ddb19cdbe78006bd78 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 17 May 2007 11:13:25 +0000 Subject: - same step color for both graphs in Monitoring->WEB (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@4141 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/httpdetails.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'frontends/php/httpdetails.php') diff --git a/frontends/php/httpdetails.php b/frontends/php/httpdetails.php index 3c1f1102..e5280203 100644 --- a/frontends/php/httpdetails.php +++ b/frontends/php/httpdetails.php @@ -137,6 +137,8 @@ include_once "include/page_header.php"; $status['skip'] = true; } + $item_color = $color[$color['current'] = $color[$color['current']]['next']]['color']; + $db_items = DBselect('select i.*, hi.type as httpitem_type from items i, httpstepitem hi '. ' where hi.itemid=i.itemid and hi.httpstepid='.$httpstep_data['httpstepid']); while($item_data = DBfetch($db_items)) @@ -157,7 +159,7 @@ include_once "include/page_header.php"; } $items[$item_data['httpitem_type']][] = array( 'itemid' => $item_data['itemid'], - 'color' => $color[$color['current'] = $color[$color['current']]['next']]['color'], + 'color' => $item_color, 'sortorder' => 'no'); } -- cgit