summaryrefslogtreecommitdiffstats
path: root/frontends/php/screens.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-11-13 11:56:12 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-11-13 11:56:12 +0000
commite7b40fc153ce6f7be399380f45e22ee48e2ceb00 (patch)
tree5566c4f33373d2fd94c44faf78973ff03b355778 /frontends/php/screens.php
parent6fe1ce1513c87a8b20c2281a342303aebc0a2414 (diff)
PHP GUI improvements.
git-svn-id: svn://svn.zabbix.com/trunk@1478 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/screens.php')
-rw-r--r--frontends/php/screens.php23
1 files changed, 9 insertions, 14 deletions
diff --git a/frontends/php/screens.php b/frontends/php/screens.php
index c3e810c2..3a8e4aa8 100644
--- a/frontends/php/screens.php
+++ b/frontends/php/screens.php
@@ -39,8 +39,6 @@
?>
<?php
- show_table3_header_begin();
-
if(isset($_GET["screenid"])&&($_GET["screenid"]==0))
{
unset($_GET["screenid"]);
@@ -59,18 +57,16 @@
$map=S_SELECT_SCREEN_TO_DISPLAY;
}
- echo S_SCREENS_BIG.nbsp(" / ").$map;
-// Start of new code
- show_table3_h_delimiter();
- echo "<form name=\"form2\" method=\"get\" action=\"screens.php\">";
+ $h1=S_SCREENS_BIG.nbsp(" / ").$map;
+ $h2="";
if(isset($_GET["fullscreen"]))
{
- echo "<input name=\"fullscreen\" type=\"hidden\" value=".$_GET["fullscreen"].">";
+ $h2=$h2."<input name=\"fullscreen\" type=\"hidden\" value=".$_GET["fullscreen"].">";
}
- echo "<select class=\"biginput\" name=\"screenid\" onChange=\"submit()\">";
- echo "<option value=\"0\" ".iif(!isset($_GET["screenid"]),"selected","").">".S_SELECT_SCREEN_DOT_DOT_DOT;
+ $h2=$h2."<select class=\"biginput\" name=\"screenid\" onChange=\"submit()\">";
+ $h2=$h2."<option value=\"0\" ".iif(!isset($_GET["screenid"]),"selected","").">".S_SELECT_SCREEN_DOT_DOT_DOT;
$result=DBselect("select screenid,name from screens order by name");
while($row=DBfetch($result))
@@ -79,12 +75,11 @@
{
continue;
}
- echo "<option value=\"".$row["screenid"]."\" ".iif(isset($_GET["screenid"])&&($_GET["screenid"]==$row["screenid"]),"selected","").">".$row["name"];
+ $h2=$h2."<option value=\"".$row["screenid"]."\" ".iif(isset($_GET["screenid"])&&($_GET["screenid"]==$row["screenid"]),"selected","").">".$row["name"];
}
- echo "</select>";
- echo "</form>";
- show_table_header_end();
-// End of new code
+ $h2=$h2."</select>";
+
+ show_header2($h1,$h2,"<form name=\"form2\" method=\"get\" action=\"screens.php\">","</form>");
?>
<?php