mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
planetWapClass 인코딩 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6400 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
19e9580eb6
commit
67c9ff19d1
1 changed files with 6 additions and 6 deletions
|
|
@ -2,15 +2,15 @@
|
|||
/**
|
||||
* @class planetWAP
|
||||
* @author misol (misol@korea.ac.kr)
|
||||
* @brief planet 모듈의 WAP class
|
||||
* WML, mHTML 등 모바일 페이지 생성을 담당(스마트폰 제외^^)
|
||||
* @brief planet 모듈의 WAP class
|
||||
* WML, mHTML 등 모바일 페이지 생성을 담당(스마트폰 제외^^)
|
||||
**/
|
||||
|
||||
class planetWAP extends planet {
|
||||
function procWAP(&$oMobile) {
|
||||
$content = '';
|
||||
|
||||
// 플래닛의 기본 단위인 날짜를 미리 계산 모듈에 있는 동작인데... 애드온이 모듈보다 일찍 실행된다;
|
||||
// 플래닛의 기본 단위인 날짜를 미리 계산 모듈에 있는 동작인데... 애드온이 모듈보다 일찍 실행된다;
|
||||
$last_date = $this->planet->getContentLastDay();
|
||||
$date = Context::get('date');
|
||||
if(!$date || $date > $last_date) $date = $last_date;
|
||||
|
|
@ -48,7 +48,7 @@ class planetWAP extends planet {
|
|||
zdate($date,'m').Context::getLang('unit_month').
|
||||
zdate($date,'d').Context::getLang('unit_day').']';
|
||||
|
||||
// 댓글 보기 일 경우
|
||||
// 댓글 보기 일 경우
|
||||
if($this->act == 'dispPlanetContentCommentList') {
|
||||
$page = Context::get('page');
|
||||
$document_srl = Context::get('document_srl');
|
||||
|
|
@ -64,13 +64,13 @@ class planetWAP extends planet {
|
|||
}
|
||||
}
|
||||
|
||||
// 상위 페이지를 목록으로 돌아가기로 지정
|
||||
// 상위 페이지를 목록으로 돌아가기로 지정
|
||||
$oMobile->setUpperUrl( getUrl('act',''), Context::getLang('cmd_go_upper') );
|
||||
|
||||
} else {
|
||||
if($output->page_navigation->total_page>1) {
|
||||
if($output->page_navigation->cur_page < $output->page_navigation->last_page) {
|
||||
// next/prevUrl 지정
|
||||
// next/prevUrl 지정
|
||||
$oMobile->setPrevUrl(getUrl('page',$output->page_navigation->cur_page+1), sprintf('%s (%d/%d)', Context::getLang('cmd_prev'), $output->page_navigation->cur_page+1, $output->page_navigation->total_page));
|
||||
}
|
||||
if($output->page_navigation->cur_page > 1) $oMobile->setNextUrl(getUrl('page',$output->page_navigation->cur_page-1), sprintf('%s (%d/%d)', Context::getLang('cmd_next'), $output->page_navigation->cur_page-1, $output->page_navigation->total_page));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue