summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpdetails.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-11-01 15:20:30 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-11-01 15:20:30 +0000
commitd6c398a22edb09dffc3f7589635897c78b1fae62 (patch)
treee8156cb24679a71056b0312c5dbe953fb1911b14 /frontends/php/httpdetails.php
parentc5b41261327759f046d89ed339e309b9535213e5 (diff)
downloadzabbix-d6c398a22edb09dffc3f7589635897c78b1fae62.tar.gz
zabbix-d6c398a22edb09dffc3f7589635897c78b1fae62.tar.xz
zabbix-d6c398a22edb09dffc3f7589635897c78b1fae62.zip
- [DEV-54] added zoom for screens (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4965 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpdetails.php')
-rw-r--r--frontends/php/httpdetails.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/frontends/php/httpdetails.php b/frontends/php/httpdetails.php
index 6d24c61f..9869896f 100644
--- a/frontends/php/httpdetails.php
+++ b/frontends/php/httpdetails.php
@@ -27,7 +27,7 @@
$page["title"] = "S_DETAILS_OF_SCENARIO";
$page["file"] = "httpdetails.php";
$page['hist_arg'] = array('hostid','grouid','graphid','period','stime');
- $page['scripts'] = array('prototype.js','url.js','gmenu.js','scrollbar.js','sbinit.js');
+ $page['scripts'] = array('prototype.js','url.js','gmenu.js','scrollbar.js','sbox.js','sbinit.js');
define('ZBX_PAGE_DO_REFRESH', 1);
@@ -213,7 +213,7 @@ include_once "include/page_header.php";
$form->AddOption('id','graph');
$form->AddRow(array(bold(S_SPEED) , new CCol(
- get_dynamic_chart('chart3.php?'.url_param('period').url_param('from').
+ get_dynamic_chart('graph_1','chart3.php?'.url_param('period').url_param('from').
url_param($httptest_data['name'], false,'name').
url_param(150, false,'height').
url_param($items[HTTPSTEP_ITEM_TYPE_IN], false, 'items').
@@ -221,7 +221,7 @@ include_once "include/page_header.php";
, 'center')));
$form->AddRow(array(bold(S_RESPONSE_TIME) , new CCol(
- get_dynamic_chart('chart3.php?'.url_param('period').url_param('from').
+ get_dynamic_chart('graph_2','chart3.php?'.url_param('period').url_param('from').
url_param($httptest_data['name'], false,'name').
url_param(150, false,'height').
url_param($items[HTTPSTEP_ITEM_TYPE_TIME], false, 'items').
@@ -245,7 +245,8 @@ include_once "include/page_header.php";
$script = 'scrollinit(0,0,0,'.$period.','.$stime.',0,'.$bstime.');
showgraphmenu("graph");
- //graph_zoom_init('.$bstime.','.$period.',ZBX_G_WIDTH, 150);';
+ graph_zoom_init("graph_1",'.$bstime.','.$period.',ZBX_G_WIDTH, 150);
+ graph_zoom_init("graph_2",'.$bstime.','.$period.',ZBX_G_WIDTH, 150);';
zbx_add_post_js($script);