From 8c131d6804ff7f8b8d30ec2405671a14a7ec84f9 Mon Sep 17 00:00:00 2001 From: artem Date: Mon, 14 Jan 2008 14:45:56 +0000 Subject: - [DEV-96] added availability to disable default user "guest" (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5246 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/page_header.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'frontends/php/include/page_header.php') 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'); -- cgit