Don't show .aside

This commit is contained in:
Sarven Capadisli 2009-10-03 21:29:14 +00:00
parent 63700f7958
commit f344a49b11

View File

@ -49,7 +49,7 @@ require_once INSTALLDIR.'/plugins/Mobile/WAP20Plugin.php';
class MobileProfilePlugin extends WAP20Plugin class MobileProfilePlugin extends WAP20Plugin
{ {
public $DTD = null; public $DTD = null;
public $serveMobile = false; public $serveMobile = false;
function __construct($DTD='http://www.wapforum.org/DTD/xhtml-mobile10.dtd') function __construct($DTD='http://www.wapforum.org/DTD/xhtml-mobile10.dtd')
@ -158,7 +158,9 @@ class MobileProfilePlugin extends WAP20Plugin
function onStartShowAside($action) function onStartShowAside($action)
{ {
if ($this->serveMobile) {
return false;
}
} }