diff options
author | Zach Copley <zach@status.net> | 2010-02-05 02:08:37 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-02-05 02:08:37 +0000 |
commit | 8d320d7cc2998a4977c5de4ba571ea4f95b21dce (patch) | |
tree | eb8903c9a07126b88e4112de5d83a22dba2a1073 /plugins/MobileProfile/MobileProfilePlugin.php | |
parent | 10dfcde0b2099a169ccd3af0ecfbf2de9da551d6 (diff) | |
parent | 509c8fc51589a4cc6a3281e012ce759ab9bed532 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'plugins/MobileProfile/MobileProfilePlugin.php')
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index 5c913836d..cd2531fa7 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -240,6 +240,8 @@ class MobileProfilePlugin extends WAP20Plugin return true; } + $action->cssLink('css/display.css'); + if (file_exists(Theme::file('css/mp-screen.css'))) { $action->cssLink('css/mp-screen.css', null, 'screen'); } else { @@ -256,6 +258,14 @@ class MobileProfilePlugin extends WAP20Plugin } + function onStartShowUAStyles($action) { + if (!$this->serveMobile) { + return true; + } + + return false; + } + function onStartShowHeader($action) { if (!$this->serveMobile) { |