mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
(아직 PC 브라우저에서 최적화 되었고 iphone, 옴니아등에서의 최적화는 다시 진행할 예정입니다) cafeXE, planet, page모듈에서도 스마트폰에 어울리는 컨텐츠로 스마트폰 환경을 제공하도록 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6283 201d5d3c-b55e-5fd7-737f-ddc643e51545
21 lines
737 B
PHP
21 lines
737 B
PHP
<?php
|
|
/**
|
|
* @class planetSmartphone
|
|
* @author zero (skklove@gmail.com)
|
|
* @brief planet 모듈의 SmartPhone class
|
|
**/
|
|
|
|
class planetSPhone extends planet {
|
|
|
|
function procSmartPhone(&$oSmartPhone) {
|
|
$prev_date = Context::get('prev_date');
|
|
if($prev_date) $oSmartPhone->setPrevUrl(getUrl('date',$prev_date, 'document_srl',''));
|
|
$next_date = Context::get('next_date');
|
|
if($next_date) $oSmartPhone->setNextUrl(getUrl('date',$next_date, 'document_srl',''));
|
|
|
|
$oTemplate = new TemplateHandler();
|
|
$content = $oTemplate->compile($this->module_path.'tpl', 'smartphone');
|
|
$oSmartPhone->setContent($content);
|
|
}
|
|
}
|
|
?>
|