- Fixed logout button not working correctly

- Re-enabled the logout button in lang.php, not sure why it was disabled
This commit is contained in:
jengo 2001-09-27 23:59:39 +00:00
parent 4226b5a8a1
commit f4efac55bb
2 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,7 @@
} }
else else
{ {
$btn_logout = '<a href="'.basename($GLOBALS['HTTP_SERVER_VARS']['REQUEST_URI']).'?FormLogout='.$logoutfrom.'" class="link">'.lang('Logout').'</a>'; $btn_logout = '<a href="index.php?FormLogout=' . $logoutfrom . '" class="link">'.lang('Logout').'</a>';
} }
$GLOBALS['setup_tpl']->set_var('lang_setup', lang('setup')); $GLOBALS['setup_tpl']->set_var('lang_setup', lang('setup'));

View File

@ -204,8 +204,7 @@
$setup_tpl->set_var('lang_install',lang('install')); $setup_tpl->set_var('lang_install',lang('install'));
$setup_tpl->set_var('lang_cancel',lang('cancel')); $setup_tpl->set_var('lang_cancel',lang('cancel'));
// True = do not show logout link in top right corner $phpgw_setup->show_header("$stage_title",False,'config',$ConfigDomain . '(' . $phpgw_domain[$ConfigDomain]['db_type'] . ')');
$phpgw_setup->show_header("$stage_title",True,'config',$ConfigDomain . '(' . $phpgw_domain[$ConfigDomain]['db_type'] . ')');
$setup_tpl->pparse('out','T_lang_main'); $setup_tpl->pparse('out','T_lang_main');
$phpgw_setup->show_footer(); $phpgw_setup->show_footer();
} }