diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-30 14:28:02 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-30 14:28:02 +0000 |
| commit | 4ce0c92b675da5d30bab11464ae51b7bd9b51a1a (patch) | |
| tree | 779bc9aecfcba3a1f689ce7183c7fdf11d34eeda /frontends/php/include/page_header.php | |
| parent | ad6aaa69a6052c4224b65fd63a999223979a546f (diff) | |
| download | zabbix-4ce0c92b675da5d30bab11464ae51b7bd9b51a1a.tar.gz zabbix-4ce0c92b675da5d30bab11464ae51b7bd9b51a1a.tar.xz zabbix-4ce0c92b675da5d30bab11464ae51b7bd9b51a1a.zip | |
- added login/logout (Artem)
- changed how is showed messages (Artem)
- splited css files
git-svn-id: svn://svn.zabbix.com/trunk@4212 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/page_header.php')
| -rw-r--r-- | frontends/php/include/page_header.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php index 7c2015bd..00ec9fa1 100644 --- a/frontends/php/include/page_header.php +++ b/frontends/php/include/page_header.php @@ -360,11 +360,16 @@ COpt::compare_files_with_menu($ZBX_MENU); $help = new CLink(S_HELP, "http://www.zabbix.com/manual/v1.1/index.php", "small_font");
$help->SetTarget('_blank');
- $page_header_r_col = array($help,
- ($USER_DETAILS["alias"] != "guest") ?
- array("|", new CLink(S_PROFILE, "profile.php", "small_font")) :
- null
- );
+
+ $page_header_r_col = array($help);
+ if($USER_DETAILS["alias"] != "guest"){
+ $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"));
+ }
+
$logo = new CLink(new CImg("images/general/zabbix.png","ZABBIX"),"http://www.zabbix.com");
$logo->SetTarget('_blank');
|
