From e370607b39af1a75bd5487da5d3c505f3dc148e8 Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 11 Sep 2007 07:54:54 +0000 Subject: [PATCH] =?UTF-8?q?=EB=B0=A9=EB=AA=85=EB=A1=9D=EC=9D=98=20?= =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=20=EC=B6=9C=EB=A0=A5=EC=8B=9C=20?= =?UTF-8?q?=EB=B0=9C=EC=83=9D=ED=95=98=EB=8A=94=20JS=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20=EB=B0=8F=20=EB=8B=B5=EA=B8=80=EC=9D=84=20?= =?UTF-8?q?=EB=8B=AC=EB=A9=B4=20=EB=AC=B4=EC=A1=B0=EA=B1=B4=20=EC=B5=9C?= =?UTF-8?q?=EA=B7=BC=EA=B8=80=EB=A1=9C=20=EA=B0=80=EB=8D=98=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2580 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/guestbook/guestbook.view.php | 4 ++++ modules/guestbook/skins/default/comment.html | 1 + 2 files changed, 5 insertions(+) diff --git a/modules/guestbook/guestbook.view.php b/modules/guestbook/guestbook.view.php index f89565c4e..10f01f14c 100644 --- a/modules/guestbook/guestbook.view.php +++ b/modules/guestbook/guestbook.view.php @@ -80,6 +80,8 @@ * 이 때 여러가지 옵션을 지정하여 다른 에디터 코드를 받을 수 있다. **/ $oEditorModel = &getModel('editor'); + $option->primary_key_name = 'document_srl'; + $option->content_key_name = 'content'; $option->allow_fileupload = false; ///< 파일 업로드 기능을 제한 $option->enable_autosave = true; ///< 자동 저장 기능을 활성화 $option->enable_default_component = true; ///< 기본 에디터 컴포넌트의 활성화 @@ -157,6 +159,8 @@ // 에디터 모듈의 getEditor를 호출하여 세팅 $oEditorModel = &getModel('editor'); + $option->primary_key_name = 'document_srl'; + $option->content_key_name = 'content'; $option->allow_fileupload = $this->grant->fileupload; $option->enable_autosave = true; $option->enable_default_component = true; diff --git a/modules/guestbook/skins/default/comment.html b/modules/guestbook/skins/default/comment.html index 6e04ffb12..929fb703e 100644 --- a/modules/guestbook/skins/default/comment.html +++ b/modules/guestbook/skins/default/comment.html @@ -36,6 +36,7 @@ + {@ $document_srl = $document->document_srl }