summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-12-27 18:10:30 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-12-27 18:10:30 +0000
commit3f4fb0cd9e216fa21c47cf6652c6c951b4ecdfde (patch)
tree9d44fd98f7b9672d0eff2cf2eeb077e27c6bd02b /frontends/php/include/config.inc.php
parenta95958e564bcd16f44395ed7d45f7994b198e9b2 (diff)
downloadzabbix-3f4fb0cd9e216fa21c47cf6652c6c951b4ecdfde.tar.gz
zabbix-3f4fb0cd9e216fa21c47cf6652c6c951b4ecdfde.tar.xz
zabbix-3f4fb0cd9e216fa21c47cf6652c6c951b4ecdfde.zip
- improvements for chart.php (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@611 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index ca590ff2..35b7a415 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -2802,6 +2802,7 @@ where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=$triggerid";
{
// echo "<IMG SRC=\"chart.php?itemid=$itemid&period=$period&from=$from\">";
echo "<script language=\"JavaScript\">";
+// echo "document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from&width=\"+(document.width-108)+\"'>\")";
echo "document.write(\"<IMG SRC='chart.php?itemid=$itemid&period=$period&from=$from&width=\"+(document.width-108)+\"'>\")";
echo "</script>";
}