mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
mobile addon 개선. 게시판/페이지 wap class 제작. module별 wap interface 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5283 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8486f9b132
commit
01839ccf3b
17 changed files with 507 additions and 204 deletions
|
|
@ -34,6 +34,5 @@
|
|||
|
||||
$this->setTemplateFile('content');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
24
modules/page/page.wap.php
Normal file
24
modules/page/page.wap.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* @class pageWap
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief page 모듈의 wap class
|
||||
**/
|
||||
|
||||
class pageWap extends page {
|
||||
|
||||
/**
|
||||
* @brief wap procedure method
|
||||
*
|
||||
* 페이지 모듈은 형식이 정해져 있지 않기에 전체 컨텐츠를 mobile class에서 제어해서 출력함
|
||||
**/
|
||||
function procWAP(&$oMobile) {
|
||||
// 권한 체크
|
||||
if(!$this->grant->view) return $oMobile->setContent(Context::getLang('msg_not_permitted'));
|
||||
|
||||
// 위젯의 내용을 추출/ 정리해서 보여줌
|
||||
$oMobile->setContent( Context::transContent($this->module_info->content) );
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue