[horde] disable Language selction

Jan Schneider jan at horde.org
Tue Apr 15 16:18:17 UTC 2014


Zitat von Andreas Schulze <sca at andreasschulze.de>:

> Hello,
>
> I like to disable the language selection on login because I have  
> only german users.
>
> I set "$_prefs['language']['locked'] = true;" in  
> horde/config/prefs.local.php.
> But it work only on mobile device browsers. Reason: horde/login.php,  
> ~line 325
>
> Is there a need that language selection could not be disabled on  
> normal browsers?
>
> Andreas

No idea what this line has to do with language selection, but we use  
exactly the same check in the mobile and non-mobile login screen  
whether to display the drop down, see line 334 in horde/login.php and  
line 51 in horde/templates/login/login.inc.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list