mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@744 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6707e078a1
commit
b9afa14f36
4 changed files with 8 additions and 10 deletions
|
|
@ -160,6 +160,7 @@
|
|||
* @brief 사이트 title setting
|
||||
**/
|
||||
function setBrowserTitle($site_title) {
|
||||
if(!$site_title) return;
|
||||
$oContext = &Context::getInstance();
|
||||
$oContext->_setBrowserTitle($site_title);
|
||||
}
|
||||
|
|
@ -168,7 +169,7 @@
|
|||
* @brief 사이트 title setting
|
||||
**/
|
||||
function _setBrowserTitle($site_title) {
|
||||
$this->site_title = $site_title;
|
||||
$this->site_title = htmlspecialchars($site_title);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@
|
|||
$this->module = $module_info->module;
|
||||
$this->mid = $module_info->mid;
|
||||
$this->module_info = $module_info;
|
||||
Context::setBrowserTitle($module_info->browser_title);
|
||||
}
|
||||
|
||||
// 여기까지도 모듈 정보를 찾지 못했다면 깔끔하게 시스템 오류 표시
|
||||
|
|
|
|||
|
|
@ -54,15 +54,6 @@
|
|||
return getModule($module_name, 'class');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief DB::executeQuery() 를 별도로 함수로 지정..
|
||||
**/
|
||||
function executeQuery($query_id, $args = null) {
|
||||
$oDB = &DB::getInstance();
|
||||
return $oDB->executeQuery($query_id, $args);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Context::getUrl($args_list)를 쓰기 쉽게 함수로 선언
|
||||
* @param args_list 제한없는 args
|
||||
|
|
|
|||
|
|
@ -105,6 +105,11 @@
|
|||
|
||||
// 글이 찾아졌으면 댓글 권한과 허용 여부를 체크하여 댓글 에디터 세팅
|
||||
} elseif($this->grant->write_comment && $document->allow_comment == 'Y' && $document->lock_comment != 'Y') {
|
||||
|
||||
// 브라우저 타이틀
|
||||
$browser_title = $this->module_info->browser_title.' - '.$document->title;
|
||||
Context::setBrowserTitle($browser_title);
|
||||
|
||||
// 댓글
|
||||
$this->setCommentEditor();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue