mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
게시판, 블로그, 스프링노트의 글 보기시 모듈의 browser_title + 글의 browser_title이 노출되도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3392 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
01607b68f0
commit
c2c9f8c018
4 changed files with 25 additions and 5 deletions
|
|
@ -101,7 +101,7 @@
|
|||
} else {
|
||||
|
||||
// 브라우저 타이틀 설정
|
||||
Context::setBrowserTitle($oDocument->getTitleText());
|
||||
Context::addBrowserTitle($oDocument->getTitleText());
|
||||
|
||||
// 댓글에디터 설정
|
||||
if($this->grant->write_comment && $oDocument->allowComment() && !$oDocument->isLocked()) $comment_editor[$oDocument->document_srl] = $this->getCommentEditor($oDocument->document_srl, 0, 100);
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@
|
|||
|
||||
} else {
|
||||
// 브라우저 타이틀 설정
|
||||
Context::setBrowserTitle($oDocument->getTitleText());
|
||||
Context::addBrowserTitle($oDocument->getTitleText());
|
||||
|
||||
// 조회수 증가
|
||||
$oDocument->updateReadedCount();
|
||||
|
|
|
|||
|
|
@ -49,9 +49,12 @@
|
|||
// 특정 페이지 선택시 페이지 정보 가져오기
|
||||
if($this->grant->view && $pageid) {
|
||||
$page = $oSpringnoteModel->getPage($pageid);
|
||||
for($i=0;$i<count($page->css_files);$i++) {
|
||||
$css_file = $page->css_files[$i];
|
||||
Context::addCssFile($css_file);
|
||||
if($page) {
|
||||
for($i=0;$i<count($page->css_files);$i++) {
|
||||
$css_file = $page->css_files[$i];
|
||||
Context::addCssFile($css_file);
|
||||
}
|
||||
Context::addBrowserTitle($page->title);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue