From 5996d80c0918001f5c69f8d52681fc16aa003297 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 6 May 2010 21:29:04 +0000 Subject: Ticket #2184: recognize Palm Pre / WebOS browsers for MobileProfile One-line addition of 'webos' to the keywords list. --- plugins/MobileProfile/MobileProfilePlugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index 1c61b4fe5..a3dc4de46 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -138,6 +138,7 @@ class MobileProfilePlugin extends WAP20Plugin 'vodafone', 'wap1', 'wap2', + 'webos', 'windows ce' ); -- cgit v1.2.3 From 79153869505c9bfb41b7e49b757f233dc19530bb Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 7 May 2010 01:28:37 +0000 Subject: Allow plugins to load their styles for mobile view; fixes bad realtime button layout --- plugins/MobileProfile/MobileProfilePlugin.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index a3dc4de46..6076bbde0 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -255,6 +255,10 @@ class MobileProfilePlugin extends WAP20Plugin $action->cssLink('plugins/MobileProfile/mp-handheld.css',null,'handheld'); } + // Allow other plugins to load their styles. + Event::handle('EndShowStatusNetStyles', array($action)); + Event::handle('EndShowLaconicaStyles', array($action)); + return false; } -- cgit v1.2.3