|
From: shane <sh...@lo...> - 2003-10-08 10:31:14
|
Have any of you modified the Apache handler to return the user's browser into
$user ?
I was contemplating that it would be cool if it figured out what browser the
person's using, or, rather, the 'mode' that it's in. That way if it's a WAP
browser, specify $user->{defaultsection} = 'light'.
And, if you were using CSS, then in the link_rel template, you could create a
link_rel;misc;light that would call up a light.css stylesheet.
I'm not even sure if the Apache Handler would be the place for something like
this, I've not looked at it/thought about it enough.
Anyway, it was just a thought. Hopefully someone's already done a mod like
this and can share.
Shane
|