From 45d9a5cfcd90e2086d74dce58338f75b721b647d Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sun, 1 Aug 2004 15:51:49 +0000 Subject: - use $_GET, $_POST, $_COOKIE to be PHP5-compatible. Thanks to Martin MOHNHAUP. (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1368 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/screenedit.php | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'frontends/php/screenedit.php') diff --git a/frontends/php/screenedit.php b/frontends/php/screenedit.php index 6ad3c07e..9fedf1a9 100644 --- a/frontends/php/screenedit.php +++ b/frontends/php/screenedit.php @@ -31,7 +31,7 @@ ?> ".S_NO_PERMISSIONS.""); show_footer(); @@ -40,38 +40,38 @@ ?> ".$row["name"].""); @@ -105,13 +105,13 @@ $height=100; } - if(isset($HTTP_GET_VARS["x"])&&($HTTP_GET_VARS["x"]==$c)&&($HTTP_GET_VARS["y"]==$r)) + if(isset($_GET["x"])&&($_GET["x"]==$c)&&($_GET["y"]==$r)) { - $resource=@iif(isset($HTTP_GET_VARS["resource"]),$HTTP_GET_VARS["resource"],$resource); - $resourceid=@iif(isset($HTTP_GET_VARS["resourceid"]),$HTTP_GET_VARS["resourceid"],$resourceid); - $screenitemid=@iif(isset($HTTP_GET_VARS["screenitemid"]),$HTTP_GET_VARS["screenitemid"],$screenitemid); - $width=@iif(isset($HTTP_GET_VARS["width"]),$HTTP_GET_VARS["width"],$width); - $height=@iif(isset($HTTP_GET_VARS["height"]),$HTTP_GET_VARS["height"],$height); + $resource=@iif(isset($_GET["resource"]),$_GET["resource"],$resource); + $resourceid=@iif(isset($_GET["resourceid"]),$_GET["resourceid"],$resourceid); + $screenitemid=@iif(isset($_GET["screenitemid"]),$_GET["screenitemid"],$screenitemid); + $width=@iif(isset($_GET["width"]),$_GET["width"],$width); + $height=@iif(isset($_GET["height"]),$_GET["height"],$height); show_table2_header_begin(); echo S_SCREEN_CELL_CONFIGURATION; -- cgit