mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix default "EGroupware" site_title for new login page
This commit is contained in:
parent
1403c7ffd0
commit
30a2c4d90f
@ -58,7 +58,7 @@ class Login
|
||||
$tmpl = new Template(EGW_SERVER_ROOT.'/api/templates/default');
|
||||
$tmpl->set_file(array('login_form' => Api\Header\UserAgent::mobile()?'login_mobile.tpl':'login.tpl'));
|
||||
}
|
||||
$tmpl->set_var('lang_message', empty(strip_tags($GLOBALS['loginscreenmessage'])) || $GLOBALS['loginscreenmessage'] === 'EGroupware' ?
|
||||
$tmpl->set_var('lang_message', in_array(strip_tags($GLOBALS['loginscreenmessage']), ['', 'EGroupware']) ?
|
||||
lang('Your Collaboration Platform') : $GLOBALS['loginscreenmessage']);
|
||||
|
||||
// did admin disable 2FA
|
||||
|
@ -208,7 +208,7 @@ body #egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_category_active{background-colo
|
||||
{
|
||||
if (empty($GLOBALS['loginscreenmessage']))
|
||||
{
|
||||
$GLOBALS['loginscreenmessage'] = '<h1>'.$GLOBALS['egw_info']['server']['site_title'].'</h1>';
|
||||
$GLOBALS['loginscreenmessage'] = $GLOBALS['egw_info']['server']['site_title'];
|
||||
}
|
||||
unset($GLOBALS['egw_info']['server']['site_title']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user