summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/graphs.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-08-31 12:36:58 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-08-31 12:36:58 +0000
commitb05fb551802790f9cf490ffbcab80b734db2d4b8 (patch)
tree7b9529013ff01dd8dd7a76e9ffc3423bcab033cb /frontends/php/include/graphs.inc.php
parenta19b0c5dab56090c7462d7d76454a7491c797996 (diff)
downloadzabbix-b05fb551802790f9cf490ffbcab80b734db2d4b8.tar.gz
zabbix-b05fb551802790f9cf490ffbcab80b734db2d4b8.tar.xz
zabbix-b05fb551802790f9cf490ffbcab80b734db2d4b8.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2015 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
-rw-r--r--frontends/php/include/graphs.inc.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php
index def7e4fc..3dfa5b83 100644
--- a/frontends/php/include/graphs.inc.php
+++ b/frontends/php/include/graphs.inc.php
@@ -259,6 +259,19 @@
$h2=$h2."&nbsp;";
$h2=$h2."<input class=\"button\" type=\"submit\" name=\"action\" value=\"go\">";
+ if(isset($_GET["graphid"])&&($_GET["graphid"]!=0))
+ {
+ $h2=$h2."<input name=\"graphid\" type=\"hidden\" value=\"".$_GET["graphid"]."\" size=12>";
+ }
+ if(isset($_GET["itemid"])&&($_GET["itemid"]!=0))
+ {
+ $h2=$h2."<input name=\"itemid\" type=\"hidden\" value=\"".$_GET["itemid"]."\" size=12>";
+ }
+ if(isset($_GET["action"]))
+ {
+ $h2=$h2."<input name=\"action\" type=\"hidden\" value=\"".$_GET["action"]."\" size=22>";
+ }
+
show_header2($h1,$h2,"<form name=\"form2\" method=\"get\" action=\"$url\">","</form>");
return;