summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-10-31 21:20:43 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-10-31 21:20:43 +0000
commita5739a5114f79cb4c4c6770168f12687661680d7 (patch)
tree792f6753d0fff66d68129b4607fde934cf8b0d52 /frontends/php/chart2.php
parent79141fb64177d0570cac795215f736222f49665f (diff)
downloadzabbix-a5739a5114f79cb4c4c6770168f12687661680d7.tar.gz
zabbix-a5739a5114f79cb4c4c6770168f12687661680d7.tar.xz
zabbix-a5739a5114f79cb4c4c6770168f12687661680d7.zip
- automatic resize of all graphs depending on screen size (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@552 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
-rw-r--r--frontends/php/chart2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php
index 2dd2652e..59284c61 100644
--- a/frontends/php/chart2.php
+++ b/frontends/php/chart2.php
@@ -30,9 +30,9 @@
$result=DBselect("select name,width,height from graphs where graphid=".$HTTP_GET_VARS["graphid"]);
$name=DBget_field($result,0,0);
- if(isset($HTTP_GET_VARS["x"]))
+ if(isset($HTTP_GET_VARS["width"]))
{
- $width=$HTTP_GET_VARS["x"];
+ $width=$HTTP_GET_VARS["width"];
}
else
{