summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/page_header.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-14 14:45:56 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-14 14:45:56 +0000
commit8c131d6804ff7f8b8d30ec2405671a14a7ec84f9 (patch)
treec03a1511056dbd3c66f674162006c5b9764620ee /frontends/php/include/page_header.php
parent3ee8a188032fbd4f0d112ba7a7af55e1cfb0e50c (diff)
downloadzabbix-8c131d6804ff7f8b8d30ec2405671a14a7ec84f9.tar.gz
zabbix-8c131d6804ff7f8b8d30ec2405671a14a7ec84f9.tar.xz
zabbix-8c131d6804ff7f8b8d30ec2405671a14a7ec84f9.zip
- [DEV-96] added availability to disable default user "guest" (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5246 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/page_header.php')
-rw-r--r--frontends/php/include/page_header.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php
index 562fb54d..a2e3e640 100644
--- a/frontends/php/include/page_header.php
+++ b/frontends/php/include/page_header.php
@@ -402,14 +402,15 @@ COpt::compare_files_with_menu($ZBX_MENU);
$printview = new CLink(S_PRINT, $_SERVER['REQUEST_URI'].(empty($_GET)?'?':'&').'print=1', 'small_font');
$page_header_r_col = array($help,'|', $support,'|',$printview);
- if($USER_DETAILS["alias"] != ZBX_GUEST_USER){
+
+ if($USER_DETAILS["alias"]!=ZBX_GUEST_USER){
$page_header_r_col[] = array("|",
new CLink(S_PROFILE, "profile.php", "small_font"),"|",
new CLink(S_LOGOUT, "index.php?reconnect=1", "small_font"));
} else {
- $page_header_r_col[] = array("|", new CLink(S_LOGIN, "index.php", "small_font"));
+ $page_header_r_col[] = array("|", new CLink(S_LOGIN, "index.php?reconnect=1", "small_font"));
}
-
+
$logo = new CLink(new CImg("images/general/zabbix.png","ZABBIX"),"http://www.zabbix.com");
$logo->SetTarget('_blank');