mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
#18554838 인쇄 페이지 제목 h1 태그로 감쌈. 인쇄 페이지에서도 에디터 스타일 적용.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7055 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2bbd25bdce
commit
5ccccbebae
2 changed files with 7 additions and 1 deletions
|
|
@ -21,6 +21,9 @@
|
|||
// 목록 구현에 필요한 변수들을 가져온다
|
||||
$document_srl = Context::get('document_srl');
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByDocumentSrl($document_srl);
|
||||
|
||||
// document 객체를 생성. 기본 데이터 구조의 경우 document모듈만 쓰면 만사 해결.. -_-;
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
||||
|
|
@ -31,6 +34,9 @@
|
|||
// 권한 체크
|
||||
if(!$oDocument->isAccessible()) return new Object(-1,'msg_not_permitted');
|
||||
|
||||
// 모듈 정보 세팅
|
||||
Context::set('module_info', $module_info);
|
||||
|
||||
// 브라우저 타이틀 설정
|
||||
Context::setBrowserTitle($oDocument->getTitleText());
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="printContent">
|
||||
|
||||
<div><h3 class="xeAdmin">{$oDocument->getTitleText()}</h3></div>
|
||||
<div><h1 class="xeAdmin">{$oDocument->getTitleText()}</h1></div>
|
||||
|
||||
<div class="member_{$oDocument->get('member_srl')} gap1 fl">{$oDocument->get('nick_name')}</div>
|
||||
<div class="gap1 fr">{$oDocument->getRegdate()}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue