]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't show .aside
authorSarven Capadisli <csarven@status.net>
Sat, 3 Oct 2009 21:29:14 +0000 (21:29 +0000)
committerSarven Capadisli <csarven@status.net>
Sat, 3 Oct 2009 21:29:14 +0000 (21:29 +0000)
plugins/MobileProfile/MobileProfilePlugin.php

index cd88a6f7b7383f7897bb06f8e55b659a3cb6492f..93255018941106f2151e9a7727d5ec912b8aeaf3 100644 (file)
@@ -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;
+        }
     }