diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-11-10 14:11:09 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-11-10 14:11:09 +0000 |
| commit | eccdbb7eb91dcee5c1b3a8c2620185961ac496ef (patch) | |
| tree | fb2c29915e41e8b630c99ec16a94506c35e84602 /frontends/php/chart.php | |
| parent | 44891441d5f4dd582c5698d2a78dc77b938f0c49 (diff) | |
| download | zabbix-eccdbb7eb91dcee5c1b3a8c2620185961ac496ef.tar.gz zabbix-eccdbb7eb91dcee5c1b3a8c2620185961ac496ef.tar.xz zabbix-eccdbb7eb91dcee5c1b3a8c2620185961ac496ef.zip | |
- fix for start time in graph navigation (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3451 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart.php')
| -rw-r--r-- | frontends/php/chart.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/chart.php b/frontends/php/chart.php index e0e0d243..1c230996 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -37,7 +37,8 @@ include_once "include/page_header.php"; "from"=> array(T_ZBX_INT, O_OPT, null, '{}>=0', null), "width"=> array(T_ZBX_INT, O_OPT, null, '{}>0', null), "height"=> array(T_ZBX_INT, O_OPT, null, '{}>0', null), - "border"=> array(T_ZBX_INT, O_OPT, null, IN('0,1'), null) + "border"=> array(T_ZBX_INT, O_OPT, null, IN('0,1'), null), + "stime"=> array(T_ZBX_STR, O_OPT, P_SYS, null, null) ); check_fields($fields); @@ -57,6 +58,7 @@ include_once "include/page_header.php"; if(isset($_REQUEST["width"])) $graph->SetWidth($_REQUEST["width"]); if(isset($_REQUEST["height"])) $graph->SetHeight($_REQUEST["height"]); if(isset($_REQUEST["border"])) $graph->SetBorder(0); + if(isset($_REQUEST["stime"])) $graph->setSTime($_REQUEST["stime"]); $graph->AddItem($_REQUEST["itemid"], GRAPH_YAXIS_SIDE_RIGHT, CALC_FNC_ALL); |
