summaryrefslogtreecommitdiff
path: root/plugins/MobileProfile
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-03 21:29:14 +0000
committerSarven Capadisli <csarven@status.net>2009-10-03 21:29:14 +0000
commitf344a49b11607d4dbb64ab6935237cd5185a06b4 (patch)
tree9ebf5abde0bef3cc45fc8f450078315a78b36e2e /plugins/MobileProfile
parent63700f79588ded641645bc5eaf9265ea837bfff6 (diff)
Don't show .aside
Diffstat (limited to 'plugins/MobileProfile')
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index cd88a6f7b..932550189 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -49,7 +49,7 @@ require_once INSTALLDIR.'/plugins/Mobile/WAP20Plugin.php';
class MobileProfilePlugin extends WAP20Plugin
{
- public $DTD = null;
+ public $DTD = null;
public $serveMobile = false;
function __construct($DTD='http://www.wapforum.org/DTD/xhtml-mobile10.dtd')
@@ -158,7 +158,9 @@ class MobileProfilePlugin extends WAP20Plugin
function onStartShowAside($action)
{
-
+ if ($this->serveMobile) {
+ return false;
+ }
}