mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
#18960935 : use use_mobile option instead of mlayout_srl
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7538 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
be1d9e25d2
commit
39210c6a8b
1 changed files with 1 additions and 2 deletions
|
|
@ -203,8 +203,7 @@
|
||||||
$type = $xml_info->action->{$this->act}->type;
|
$type = $xml_info->action->{$this->act}->type;
|
||||||
$kind = strpos(strtolower($this->act),'admin')!==false?'admin':'';
|
$kind = strpos(strtolower($this->act),'admin')!==false?'admin':'';
|
||||||
if(!$kind && $this->module == 'admin') $kind = 'admin';
|
if(!$kind && $this->module == 'admin') $kind = 'admin';
|
||||||
|
if($this->module_info->use_mobile != "Y") Mobile::setMobile(false);
|
||||||
if(!$this->module_info->mlayout_srl) Mobile::setMobile(false);
|
|
||||||
|
|
||||||
// if(type == view, and case for using mobilephone)
|
// if(type == view, and case for using mobilephone)
|
||||||
if($type == "view" && Mobile::isFromMobilePhone() && Context::isInstalled())
|
if($type == "view" && Mobile::isFromMobilePhone() && Context::isInstalled())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue