Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Per-user languages
Bloke wrote:
Poifick! The fact you are using the same pref name ‘language’ in a per-user guise is incredibly useful: a single
get_pref('language')
will suffice for whoever’s logged in.
Actually, no. Global prefs override private prefs, for security reasons among others. It’s just a coincidental name clash – I fixed it in 0.2.
Last edited by wet (2009-04-28 15:32:49)
Offline
Re: Per-user languages
wet wrote:
It’s just a coincidental name clash – I fixed it in 0.2.
Dammit, wish I’d kept quiet now ;-) Thanks anyway, it’s going to come in very handy.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Per-user languages
That is excellent, thanks Wet!
Pascal
Offline