From e7b40fc153ce6f7be399380f45e22ee48e2ceb00 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sat, 13 Nov 2004 11:56:12 +0000 Subject: PHP GUI improvements. git-svn-id: svn://svn.zabbix.com/trunk@1478 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/maps.php | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) (limited to 'frontends/php/maps.php') diff --git a/frontends/php/maps.php b/frontends/php/maps.php index 040fa7b2..3312517b 100644 --- a/frontends/php/maps.php +++ b/frontends/php/maps.php @@ -60,24 +60,23 @@ if(isset($_GET["sysmapid"])) { $result=DBselect("select name from sysmaps where sysmapid=".$_GET["sysmapid"]); - $map=DBget_field($result,0,0); - $map=iif(isset($_GET["fullscreen"]), - "".$map."", - "".$map.""); + $h1=DBget_field($result,0,0); + $h1=iif(isset($_GET["fullscreen"]), + "".$h1."", + "".$h1.""); } else { - $map=S_SELECT_MAP_TO_DISPLAY; + $h1=S_SELECT_MAP_TO_DISPLAY; } - echo S_NETWORK_MAPS_BIG.nbsp(" / ").$map; -// Start of new code - show_table3_h_delimiter(); - echo "
"; + $h1=S_NETWORK_MAPS_BIG.nbsp(" / ").$h1; + + $h2=""; if(isset($_GET["fullscreen"])) { - echo ""; + $h2=$h2.""; } if(isset($_GET["sysmapid"])&&($_GET["sysmapid"]==0)) @@ -85,8 +84,8 @@ unset($_GET["sysmapid"]); } - echo ""; + $h2=$h2."
"; -// End of new code + $h2=$h2.""; - show_table_header_end(); -// echo "
"; + show_header2($h1,$h2,"
","
"); } ?> -- cgit