Partial implementation for ticket #2442: MobileProfile plugin should allow manual...
authorBrion Vibber <brion@pobox.com>
Tue, 22 Feb 2011 00:10:07 +0000 (16:10 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 22 Feb 2011 00:10:07 +0000 (16:10 -0800)
commit2a42dac72aa3000aa4b442ee722a13e12dda3319
tree01a61ead475c876da3c607922e24736344724898
parentf3c822cc1520720a4bb63e3c610076571d90b520
Partial implementation for ticket #2442: MobileProfile plugin should allow manual switching between regular and mobile rendering modes

http://status.net/open-source/issues/2442

Notes:
* Mapstraction causes JavaScript errors in XHTML mode, breaking our code if we're run later so the link doesn't work to get back to Desktop.
* not 100% sure how safe feature detection is here?
* Currently will be useless but visible links if no JS available; need to fall back to server-side for limited browsers
lib/action.php
plugins/MobileProfile/MobileProfilePlugin.php