mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
스프링노트 연동 모듈의 내용 볼때 이전/다음 링크 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3920 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
675bfb7d34
commit
10c6124c71
4 changed files with 55 additions and 6 deletions
|
|
@ -62,9 +62,15 @@
|
|||
if($this->module_info->pageid && $this->module_info->pageid_option != 'list') $pages = null;
|
||||
else {
|
||||
if($this->module_info->pageid && $this->module_info->pageid_option == 'list') $pages = $oSpringnoteModel->getPages($q, true, $this->module_info->pageid);
|
||||
else $pages = $oSpringnoteModel->getPages($q, true);
|
||||
else {
|
||||
$pages = $oSpringnoteModel->getPages($q, true);
|
||||
}
|
||||
}
|
||||
|
||||
if($pageid) {
|
||||
if($pages[$pageid]->prev) $page->prev = $pages[$pageid]->prev;
|
||||
if($pages[$pageid]->next) $page->next = $pages[$pageid]->next;
|
||||
}
|
||||
Context::set('page', $page);
|
||||
Context::set('pages', $pages);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue