summaryrefslogtreecommitdiffstats
path: root/frontends/php/screens.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-03-24 19:37:51 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-03-24 19:37:51 +0000
commit06545c5e2f782f79772f7d2dbcf10f80e1d172ce (patch)
tree442b703970ae5a39b0622b478e5bdc1007546c53 /frontends/php/screens.php
parent4470dc14a18b020e2f32eca69461d1778585cb2f (diff)
Screen builder related changes.
git-svn-id: svn://svn.zabbix.com/trunk@716 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/screens.php')
-rw-r--r--frontends/php/screens.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/php/screens.php b/frontends/php/screens.php
index bd701e7d..cb31cb16 100644
--- a/frontends/php/screens.php
+++ b/frontends/php/screens.php
@@ -65,6 +65,15 @@
$scid=$HTTP_GET_VARS["scid"];
$result=DBselect("select name,cols,rows from screens where scid=$scid");
$row=DBfetch($result);
+ if(isset($HTTP_GET_VARS["fullscreen"]))
+ {
+ $map="<a href=\"screens.php?scid=".$HTTP_GET_VARS["scid"]."\">".$row["name"]."</a>";
+ }
+ else
+ {
+ $map="<a href=\"screens.php?scid=".$HTTP_GET_VARS["scid"]."&fullscreen=1\">".$row["name"]."</a>";
+ }
+ show_table_header($map);
echo "<TABLE BORDER=1 COLS=".$row["cols"]." align=center WIDTH=100% BGCOLOR=\"#FFFFFF\"";
for($r=0;$r<$row["rows"];$r++)
{