mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 23:59:57 +09:00
XE Smartphone 애드온에서 iui를 제거하고 자체 제작한 UI 로 변경
(아직 PC 브라우저에서 최적화 되었고 iphone, 옴니아등에서의 최적화는 다시 진행할 예정입니다) cafeXE, planet, page모듈에서도 스마트폰에 어울리는 컨텐츠로 스마트폰 환경을 제공하도록 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6283 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f8e98ddb0
commit
e48e2900e4
45 changed files with 590 additions and 1150 deletions
|
|
@ -1,22 +1,19 @@
|
|||
<?PHP
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
if(Context::get('module')=='admin') return;
|
||||
|
||||
if($called_position != 'before_module_proc' && $called_position != 'after_module_proc' ) return;
|
||||
if(Context::get('module')=='admin' || $called_position != 'after_module_proc' ) return;
|
||||
|
||||
require_once(_XE_PATH_.'addons/smartphone/classes/smartphone.class.php');
|
||||
debugPrint("here");
|
||||
if(!smartphoneXE::isFromSmartPhone())
|
||||
{
|
||||
debugPrint("here");
|
||||
return;
|
||||
}
|
||||
debugPrint("here");
|
||||
if(!smartphoneXE::isFromSmartPhone()) return;
|
||||
|
||||
$oSmartphoneXE = new smartphoneXE($this, $this->module_info, $output);
|
||||
$oSmartphoneXE->procSmartPhone();
|
||||
|
||||
$oSmartphoneXE = &smartphoneXE::getInstance();
|
||||
$oSmartphoneXE->setModuleInfo($this->module_info);
|
||||
$oSmartphoneXE->setModuleInstance($this);
|
||||
$oSmartphoneXE->display();
|
||||
Context::set('layout', 'none');
|
||||
Context::set('smart_content', $oSmartphoneXE->content);
|
||||
Context::set('parent_url', $oSmartphoneXE->parent_url);
|
||||
Context::set('prev_url', $oSmartphoneXE->prev_url);
|
||||
Context::set('next_url', $oSmartphoneXE->next_url);
|
||||
$this->setTemplatePath('addons/smartphone/tpl');
|
||||
$this->setTemplateFile('layout');
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue