From 008dd1e7b0e01a012f4f643c4a4107e772fa1560 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 13 Jun 2007 05:19:35 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1622 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/board/board.view.php | 8 ++++---- modules/board/skins/default/comment_form.html | 2 +- modules/board/skins/xe_list/comment_form.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 7cddf946e..610d6a3e5 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -241,18 +241,18 @@ // 해당 댓글를 찾아본다 $oCommentModel = &getModel('comment'); - $source_comment = $oCommentModel->getComment($comment_srl, $this->grant->manager); + $comment = $oCommentModel->getComment($comment_srl, $this->grant->manager); // 댓글이 없다면 오류 - if(!$source_comment) return $this->dispBoardMessage('msg_invalid_request'); + if(!$comment) return $this->dispBoardMessage('msg_invalid_request'); // 글을 수정하려고 할 경우 권한이 없는 경우 비밀번호 입력화면으로 - if($comment_srl&&$source_comment&&!$source_comment->is_granted) return $this->setTemplateFile('input_password_form'); + if($comment_srl&&$comment&&!$comment->is_granted) return $this->setTemplateFile('input_password_form'); // 필요한 정보들 세팅 Context::set('document_srl',$document_srl); Context::set('comment_srl',$comment_srl); - Context::set('source_comment', $source_comment); + Context::set('comment', $comment); // 댓글 에디터 세팅 $this->setCommentEditor($comment_srl, 400); diff --git a/modules/board/skins/default/comment_form.html b/modules/board/skins/default/comment_form.html index deea17761..c53cb32b5 100644 --- a/modules/board/skins/default/comment_form.html +++ b/modules/board/skins/default/comment_form.html @@ -1,7 +1,7 @@ - + diff --git a/modules/board/skins/xe_list/comment_form.html b/modules/board/skins/xe_list/comment_form.html index 681c2ee54..0ce3442ef 100644 --- a/modules/board/skins/xe_list/comment_form.html +++ b/modules/board/skins/xe_list/comment_form.html @@ -1,7 +1,7 @@ - +