mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 07:39:55 +09:00
XE Smartphone 애드온의 첫 접속시에 네비게이션을 보여주도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6295 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fde7387ae0
commit
d93c380843
3 changed files with 39 additions and 19 deletions
|
|
@ -86,14 +86,33 @@
|
|||
return;
|
||||
}
|
||||
|
||||
if($this->haveSmartphoneModule($this->module_info->module)) {
|
||||
$oSmartPhoneModule =& getModule($this->module_info->module, 'smartphone');
|
||||
$vars = get_object_vars($this->oModule);
|
||||
if(count($vars)) foreach($vars as $key => $val) $oSmartPhoneModule->{$key} = $val;
|
||||
$oSmartPhoneModule->procSmartPhone($this);
|
||||
} else {
|
||||
$this->setContent('요청하신 모듈은 스마트폰을 지원하지 않습니다');
|
||||
}
|
||||
if($_GET['mid']) {
|
||||
if($this->haveSmartphoneModule($this->module_info->module)) {
|
||||
$oSmartPhoneModule =& getModule($this->module_info->module, 'smartphone');
|
||||
$vars = get_object_vars($this->oModule);
|
||||
if(count($vars)) foreach($vars as $key => $val) $oSmartPhoneModule->{$key} = $val;
|
||||
$oSmartPhoneModule->procSmartPhone($this);
|
||||
} else {
|
||||
switch(Context::getLangType()) {
|
||||
case 'ko' :
|
||||
$msg = '스마트폰을 지원하지 않는 모듈입니다';
|
||||
break;
|
||||
case 'jp' :
|
||||
$msg = 'このモジュールをサポートしていません。';
|
||||
break;
|
||||
case 'zh-TW' :
|
||||
$msg = '該模塊不支持。';
|
||||
break;
|
||||
case 'zh-CN' :
|
||||
$msg = '该模块不支持。';
|
||||
break;
|
||||
default :
|
||||
$msg = 'This module is not supported.';
|
||||
break;
|
||||
}
|
||||
$this->setContent($msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setContent($content) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue