mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:28:45 +01:00
Warn user on login page if using browser is IE 11 or below.
This commit is contained in:
parent
038daecb1b
commit
0a5002ebaa
@ -197,6 +197,7 @@ box... common en Box...
|
||||
brazil common en BRAZIL
|
||||
british indian ocean territory common en BRITISH INDIAN OCEAN TERRITORY
|
||||
broken link common en Broken link
|
||||
browser %1 %2 is not recommended. You may experience issues and not working features. Please use the latest version of Chrome, Firefox or Edge. Thank You! common en Browser %1 %2 is not recommended. You may experience issues and not working features. Please use the latest version of Chrome, Firefox or Edge. Thank You!
|
||||
brunei darussalam common en BRUNEI DARUSSALAM
|
||||
bulgaria common en BULGARIA
|
||||
bulgarian common en Bulgarian
|
||||
|
@ -226,6 +226,11 @@ class Login
|
||||
}
|
||||
$tmpl->set_var('autocomplete', ($GLOBALS['egw_info']['server']['autocomplete_login'] ? 'autocomplete="off"' : ''));
|
||||
|
||||
if (Api\Header\UserAgent::type() == 'msie' && Api\Header\UserAgent::version() < 12)
|
||||
{
|
||||
$tmpl->set_var('cd', lang('Browser %1 %2 is not recommended. You may experience issues and not working features. Please use the latest version of Chrome, Firefox or Edge. Thank You!',Api\Header\UserAgent::type(), Api\Header\UserAgent::version()));
|
||||
$tmpl->set_var('cd_class', 'error');
|
||||
}
|
||||
// load jquery for login screen too
|
||||
Api\Framework::includeJS('jquery', 'jquery');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user