summaryrefslogtreecommitdiffstats
path: root/frontends/php/index.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-12-05 10:57:58 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-12-05 10:57:58 +0000
commit7d13ea434dba96e69195d74c338498f847e9fed3 (patch)
tree174bc17745807e3341b518d256ab5f3b8d355f0b /frontends/php/index.php
parentd13ea897eda76d08bac623bb1a6e965b712c8116 (diff)
downloadzabbix-7d13ea434dba96e69195d74c338498f847e9fed3.tar.gz
zabbix-7d13ea434dba96e69195d74c338498f847e9fed3.tar.xz
zabbix-7d13ea434dba96e69195d74c338498f847e9fed3.zip
- added changes for better support Konqueror Browser (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5133 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/index.php')
-rw-r--r--frontends/php/index.php17
1 files changed, 7 insertions, 10 deletions
diff --git a/frontends/php/index.php b/frontends/php/index.php
index f57fbd99..ccaafce0 100644
--- a/frontends/php/index.php
+++ b/frontends/php/index.php
@@ -29,14 +29,14 @@
<?php
// VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION
$fields=array(
- "name"=> array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, 'isset({enter})'),
+ "name"=> array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, 'isset({enter})'),
"password"=> array(T_ZBX_STR, O_OPT, NULL, NULL, 'isset({enter})'),
"sessionid"=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL),
- "message"=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL),
+ "message"=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL),
"reconnect"=> array(T_ZBX_INT, O_OPT, P_ACT, BETWEEN(0,65535),NULL),
- "enter"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, NULL, NULL),
- "form"=> array(T_ZBX_STR, O_OPT, P_SYS, NULL, NULL),
- "form_refresh"=> array(T_ZBX_INT, O_OPT, NULL, NULL, NULL)
+ "enter"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, NULL, NULL),
+ "form"=> array(T_ZBX_STR, O_OPT, P_SYS, NULL, NULL),
+ "form_refresh"=> array(T_ZBX_INT, O_OPT, NULL, NULL, NULL)
);
check_fields($fields);
?>
@@ -93,14 +93,11 @@ include_once "include/page_header.php";
if(isset($_REQUEST['message'])) show_error_message($_REQUEST['message']);
?>
<?php
- if(!isset($sessionid))
- {
+ if(!isset($sessionid)){
insert_login_form();
}
- else
- {
+ else{
$logoff = new CLink('here', '?reconnect=1');
-
echo '<div align="center">Press '.$logoff->ToString().' to disconnect/reconnect</div>';
}
?>