mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 22:01:47 +01:00
added onsite tbu/vcu res_id for aquisition type and backup
This commit is contained in:
parent
2278b9e582
commit
2ac27f4ffd
12
login.php
12
login.php
@ -382,14 +382,14 @@ else
|
|||||||
}
|
}
|
||||||
#print 'LANG:' . $GLOBALS['egw_info']['user']['preferences']['common']['lang'] . '<br>';
|
#print 'LANG:' . $GLOBALS['egw_info']['user']['preferences']['common']['lang'] . '<br>';
|
||||||
|
|
||||||
$GLOBALS['egw']->translation->init(); // this will set the language according to the (new) set prefs
|
translation::init(); // this will set the language according to the (new) set prefs
|
||||||
$GLOBALS['egw']->translation->add_app('login');
|
translation::add_app('login');
|
||||||
$GLOBALS['egw']->translation->add_app('loginscreen');
|
translation::add_app('loginscreen');
|
||||||
if($GLOBALS['egw']->translation->translate('loginscreen_message',false,'') == 'loginscreen_message')
|
if(translation::translate('loginscreen_message',false,'') == 'loginscreen_message')
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->translation->add_app('loginscreen','en'); // trying the en one
|
translation::add_app('loginscreen','en'); // trying the en one
|
||||||
}
|
}
|
||||||
if($GLOBALS['egw']->translation->translate('loginscreen_message',false,'') != 'loginscreen_message')
|
if(translation::translate('loginscreen_message',false,'') != 'loginscreen_message')
|
||||||
{
|
{
|
||||||
// for now store login message in globals so it is available for the login.inc.php
|
// for now store login message in globals so it is available for the login.inc.php
|
||||||
$GLOBALS['loginscreenmessage']=stripslashes(lang('loginscreen_message'));
|
$GLOBALS['loginscreenmessage']=stripslashes(lang('loginscreen_message'));
|
||||||
|
Loading…
Reference in New Issue
Block a user