~ko-de-r-de/zabbix/precise

« back to all changes in this revision

Viewing changes to frontends/php/include/page_header.php

  • Committer: guntis
  • Date: 2013-08-01 06:46:25 UTC
  • Revision ID: svn-v4:f4e7fd02-d210-4e34-a1e0-d4093fb66cc2:trunk:37472
..F....... [ZBX-4986] absolute urls replaced with relative and fixed commit bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
        }
239
239
 
240
240
        if (CWebUser::isGuest()) {
241
 
                $page_header_r_col[] = array(new CLink(_('Login'), 'index.php?reconnect=1', 'small_font', null, null));
 
241
                $page_header_r_col[] = array(new CLink(_('Login'), 'index.php?reconnect=1', 'small_font', null, 'nosid'));
242
242
        }
243
243
        else {
244
244
                // it is not possible to logout from HTTP authentication
245
245
                $chck = $page['file'] == 'authentication.php' && isset($_REQUEST['save'], $_REQUEST['config']);
246
 
                if ($chck && $_REQUEST['config'] == ZBX_AUTH_HTTP || !$chck && isset($config) && $config['authentication_type'] == ZBX_AUTH_HTTP) {
 
246
                if ($chck && $_REQUEST['config'] == ZBX_AUTH_HTTP || !$chck && $config['authentication_type'] == ZBX_AUTH_HTTP) {
247
247
                        $logout =  new CLink(_('Logout'), '', 'small_font', null, 'nosid');
248
248
                        $logout->setHint(_s('It is not possible to logout from HTTP authentication.'), null, null, false);
249
249
                }
250
250
                else {
251
 
                        $logout =  new CLink(_('Logout'), 'index.php?reconnect=1', 'small_font', null, null);
 
251
                        $logout =  new CLink(_('Logout'), 'index.php?reconnect=1', 'small_font', null, 'nosid');
252
252
                }
253
253
                array_push($page_header_r_col, $logout);
254
254
        }