mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-15 00:12:43 +09:00
확장변수 + 다국어 기능 수정
- 글등록시 언어가 기본 언어이고 수정시 다른 언어로 수정하면 각 언어별 데이터가 보관 잘 되도록 개선 - 확장변수 값이 없는 게시글을 수정시 변수 폼이 제대로 나타나도록 수정 - 퍼포먼스 증대 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5947 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9e80cf561e
commit
17513d6b62
5 changed files with 108 additions and 117 deletions
|
|
@ -363,8 +363,8 @@
|
|||
}
|
||||
|
||||
// 제목/내용의 다국어 확장변수 등록
|
||||
if($extra_content->title) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -1, $extra_content->title);
|
||||
if($extra_content->content) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -2, $extra_content->content);
|
||||
if($extra_content->title) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -1, $extra_content->title, 'title_'.Context::getLangType());
|
||||
if($extra_content->content) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -2, $extra_content->content, 'content_'.Context::getLangType());
|
||||
|
||||
// 성공하였을 경우 category_srl이 있으면 카테고리 update
|
||||
if($source_obj->get('category_srl')!=$obj->category_srl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue