If we fix a stime in a screen, only the simple graph is affected, not defined graph (or the other way around , i don't remember, it is a old path, and i have seen on CVS there are always the problem)
The problem is simple : there aren't processing pour the GET parameter.
The problem is simple : there aren't processing pour the GET parameter.
Code:
diff -ruwBb zabbix-1.1-orig/frontends/php/chart.php zabbix-1.1/frontends/php/chart.php
--- zabbix-1.1-orig/frontends/php/chart.php 2006-05-31 16:28:44.000000000 +0200
+++ zabbix-1.1/frontends/php/chart.php 2006-07-19 15:22:25.000000000 +0200
@@ -43,6 +43,11 @@
{
$graph->setBorder(0);
}
+ if(isset($_REQUEST["stime"]))
+ {
+ $graph->setSTime($_REQUEST["stime"]);
+ }
+
$graph->addItem($_REQUEST["itemid"], GRAPH_YAXIS_SIDE_RIGHT, CALC_FNC_ALL);
$graph->Draw();