mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Fixed login screen message
This commit is contained in:
parent
c198b3de5e
commit
51708877ee
@ -109,7 +109,14 @@
|
|||||||
$tmpl->set_var("lang_message",stripslashes(lang("loginscreen_message")));
|
$tmpl->set_var("lang_message",stripslashes(lang("loginscreen_message")));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$tmpl->set_var("lang_message","");
|
// If the lastloginid cookies isn't set, we will default to english.
|
||||||
|
// Change this if you need.
|
||||||
|
$phpgw_info["user"]["preferences"]["common"]["lang"] = "en";
|
||||||
|
$phpgw->translation->add_app("login");
|
||||||
|
$phpgw->translation->add_app("loginscreen");
|
||||||
|
if (lang("loginscreen_message") != "loginscreen_message*") {
|
||||||
|
$tmpl->set_var("lang_message",stripslashes(lang("loginscreen_message")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user