forked from extern/egroupware
- 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:
parent
4226b5a8a1
commit
f4efac55bb
@ -55,7 +55,7 @@
|
||||
}
|
||||
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'));
|
||||
|
@ -204,8 +204,7 @@
|
||||
$setup_tpl->set_var('lang_install',lang('install'));
|
||||
$setup_tpl->set_var('lang_cancel',lang('cancel'));
|
||||
|
||||
// True = do not show logout link in top right corner
|
||||
$phpgw_setup->show_header("$stage_title",True,'config',$ConfigDomain . '(' . $phpgw_domain[$ConfigDomain]['db_type'] . ')');
|
||||
$phpgw_setup->show_header("$stage_title",False,'config',$ConfigDomain . '(' . $phpgw_domain[$ConfigDomain]['db_type'] . ')');
|
||||
$setup_tpl->pparse('out','T_lang_main');
|
||||
$phpgw_setup->show_footer();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user