[imp] hide language select on login page (patch)

Michael Redinger Michael.Redinger@uibk.ac.at
Wed, 2 Jan 2002 19:41:15 +0100 (CET)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 2 Jan 2002, Jan Schneider wrote:

> I just commited a code change to the HEAD branch which implements a 
> slightly differen language selection scheme.
> The language selected in the login screen is now kept during the browser 
> session if the user didn't specify a language in the preferences and there 
> is no default value in prefs.php (actually that is if the preference 
> backend doesn't return a value for the preferred language).

Sounds good ... 

- From your log entry - I thought this would be interresting for others, too:

>  The current language selection scheme is the following:
>  Login screen
>  1) The language selected on the login screen
>  2) The browser's accept-language header
>  3) The default value in $nls
>  After login
>  1) The user's preference
>  2) The preference's default value
>  3) The language selected on the login screen
>  4) The browser's accept-language header
>  5) The default value in $nls


Hm, wouldn't it be more reasonable to have 
"The language selected on the login screen" before
"The preference's default value"?

(Did you note that in imp/docs/CREDITS you're only listed as
translator?)

Michael



-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPDNUUQ/XqdllwsEdEQI0LwCg30LJIw1o1SmyN3GTQP/Yez1O6oUAoPwh
3FjPW6O3Yz0pM5QmNj4w01mV
=MSnn
-----END PGP SIGNATURE-----