mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1622 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5db32a375d
commit
008dd1e7b0
3 changed files with 6 additions and 6 deletions
|
|
@ -241,18 +241,18 @@
|
||||||
|
|
||||||
// 해당 댓글를 찾아본다
|
// 해당 댓글를 찾아본다
|
||||||
$oCommentModel = &getModel('comment');
|
$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('document_srl',$document_srl);
|
||||||
Context::set('comment_srl',$comment_srl);
|
Context::set('comment_srl',$comment_srl);
|
||||||
Context::set('source_comment', $source_comment);
|
Context::set('comment', $comment);
|
||||||
|
|
||||||
// 댓글 에디터 세팅
|
// 댓글 에디터 세팅
|
||||||
$this->setCommentEditor($comment_srl, 400);
|
$this->setCommentEditor($comment_srl, 400);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!--%import("filter/insert_comment.xml")-->
|
<!--%import("filter/insert_comment.xml")-->
|
||||||
<!--%import("js/board.js")-->
|
<!--%import("js/board.js")-->
|
||||||
|
|
||||||
<!--@if($source_comment)-->
|
<!--@if($source_comment || $comment)-->
|
||||||
<!--#include("header.html")-->
|
<!--#include("header.html")-->
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!--%import("filter/insert_comment.xml")-->
|
<!--%import("filter/insert_comment.xml")-->
|
||||||
<!--%import("js/board.js")-->
|
<!--%import("js/board.js")-->
|
||||||
|
|
||||||
<!--@if($source_comment)-->
|
<!--@if($source_comment || $comment)-->
|
||||||
<!--#include("header.html")-->
|
<!--#include("header.html")-->
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue