summaryrefslogtreecommitdiffstats
path: root/frontends/php/history.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-14 12:00:19 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-14 12:00:19 +0000
commit929b5112a973949b893697a6ca1d7bc065a65b0e (patch)
tree240e80c1de257b6901889a0c162c2133f0b6e972 /frontends/php/history.php
parent97893fc5322dab1d4023d3d7a2741af0b2ee53e3 (diff)
downloadzabbix-929b5112a973949b893697a6ca1d7bc065a65b0e.tar.gz
zabbix-929b5112a973949b893697a6ca1d7bc065a65b0e.tar.xz
zabbix-929b5112a973949b893697a6ca1d7bc065a65b0e.zip
- minor fix
- added fullscreen availability for history screens git-svn-id: svn://svn.zabbix.com/trunk@4560 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/history.php')
-rw-r--r--frontends/php/history.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/frontends/php/history.php b/frontends/php/history.php
index 91c77822..664fbb79 100644
--- a/frontends/php/history.php
+++ b/frontends/php/history.php
@@ -26,7 +26,7 @@
$page["file"] = "history.php";
$page["title"] = "S_HISTORY";
- if(isset($_REQUEST["plaintext"]))
+ if(isset($_REQUEST['plaintext']) || isset($_REQUEST['fullscreen']))
{
define('ZBX_PAGE_NO_MENU', 1);
}
@@ -69,7 +69,8 @@ include_once "include/page_header.php";
/* other */
"form"=> array(T_ZBX_STR, O_OPT, P_SYS, null, null),
"form_copy_to"=> array(T_ZBX_STR, O_OPT, P_SYS, null, null),
- "form_refresh"=> array(T_ZBX_INT, O_OPT, null, null, null)
+ "form_refresh"=> array(T_ZBX_INT, O_OPT, null, null, null),
+ "fullscreen"=> array(T_ZBX_STR, O_OPT, P_SYS, null, null)
);
check_fields($fields);
@@ -144,10 +145,10 @@ include_once "include/page_header.php";
unset($item_data);
- if(!isset($_REQUEST["plaintext"]))
- {
- $to_save_request = null;
+ $to_save_request = null;
+ if( !isset($_REQUEST['plaintext']) && !$_REQUEST['fullscreen'] )
+ {
if($item_type == ITEM_VALUE_TYPE_LOG)
{
$l_header = new CForm();
@@ -284,7 +285,9 @@ include_once "include/page_header.php";
$r_header = null;
}
- if($l_header || $r_header)
+ if( ($l_header || $r_header) &&
+ !isset($_REQUEST['fullscreen'])
+ )
show_table_header($l_header,$r_header);
}
else