diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-28 10:03:56 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-28 10:03:56 +0000 |
| commit | 55d8804ff83518a46e6742ebd0ba6e0fa6df2d8b (patch) | |
| tree | 497b1375f551fd74294265a401b95a2c093d297b /frontends/php/chart2.php | |
| parent | 55963f6c918d2503019875cac9307091b908eaaa (diff) | |
| download | zabbix-55d8804ff83518a46e6742ebd0ba6e0fa6df2d8b.tar.gz zabbix-55d8804ff83518a46e6742ebd0ba6e0fa6df2d8b.tar.xz zabbix-55d8804ff83518a46e6742ebd0ba6e0fa6df2d8b.zip | |
- improved graphs, added 'Working time' displaying (Eugene)
- added 'Working time' configuration (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2786 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
| -rw-r--r-- | frontends/php/chart2.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php index 34d7e47c..7e612917 100644 --- a/frontends/php/chart2.php +++ b/frontends/php/chart2.php @@ -40,7 +40,7 @@ $graph->setBorder(0); } - $result=DBselect("select name,width,height,yaxistype,yaxismin,yaxismax from graphs where graphid=".$_REQUEST["graphid"]); + $result=DBselect("select * from graphs where graphid=".$_REQUEST["graphid"]); $row=DBfetch($result); $db_hosts = get_hosts_by_graphid($_REQUEST["graphid"]); $name=$row["name"]; @@ -67,6 +67,7 @@ $height=$row["height"]; } + $graph->ShowWorkPeriod($row["show_work_period"]); $graph->setWidth($width); $graph->setHeight($height); $graph->setHeader($name); |
