diff --git a/modules/blog/blog.model.php b/modules/blog/blog.model.php index 3bad33c09..9d876d407 100644 --- a/modules/blog/blog.model.php +++ b/modules/blog/blog.model.php @@ -39,7 +39,7 @@ Context::set('comment_srl', $upload_target_srl); // template 가져옴 - $template_path = sprintf("%sskins/%s/",$this->module_path, $this->skin); + $template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin); $oTemplate = &TemplateHandler::getInstance(); $tpl = $oTemplate->compile($template_path, 'comment_form'); diff --git a/modules/blog/blog.view.php b/modules/blog/blog.view.php index d0e119a15..047a58c21 100644 --- a/modules/blog/blog.view.php +++ b/modules/blog/blog.view.php @@ -189,7 +189,7 @@ $option->enable_default_component = true; $option->enable_component = true; $option->resizable = true; - $option->height = 400; + $option->height = 600; $editor = $oEditorModel->getEditor($document_srl, $option); Context::set('editor', $editor); diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 6da627af5..dd76e99a2 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -158,7 +158,7 @@ $option->enable_default_component = true; $option->enable_component = true; $option->resizable = true; - $option->height = 400; + $option->height = 600; $editor = $oEditorModel->getEditor($document_srl, $option); Context::set('editor', $editor); diff --git a/modules/board/skins/xe_list/comment_form.html b/modules/board/skins/xe_list/comment_form.html index deea17761..9d7ced749 100644 --- a/modules/board/skins/xe_list/comment_form.html +++ b/modules/board/skins/xe_list/comment_form.html @@ -28,50 +28,45 @@ -
fileupload)-->enctype="multipart/form-data"> - - - - - +
- - - + fileupload)-->enctype="multipart/form-data" class="boardEditor" id="fo_comment_write" > +
+ + + + + - -
- - - - - - - - - - - - - - - - + +
+ + -
- - - - - -
{$lang->writer}
{$lang->password}
{$lang->email_address}
{$lang->homepage}
{$comment_editor}
+ + + + + + + + + + + +
{$comment_editor}
+ + + + - -
- + +
diff --git a/modules/board/skins/xe_list/js/board.js b/modules/board/skins/xe_list/js/board.js index d298782d8..e8a46189f 100644 --- a/modules/board/skins/xe_list/js/board.js +++ b/modules/board/skins/xe_list/js/board.js @@ -20,7 +20,7 @@ function doAddCart(mid, obj) { /* 글쓰기 submit */ function doSubmit() { var fo_obj = xGetElementById('fo_write'); - procFilter(fo_write, insert); + procFilter(fo_obj, insert); } /* 글쓰기 작성후 */ @@ -79,6 +79,12 @@ function completeReload(ret_obj) { location.href = location.href; } +/* 댓글쓰기 submit */ +function doCommentSubmit() { + var fo_obj = xGetElementById('fo_comment_write'); + procFilter(fo_obj, insert); +} + /* 댓글 글쓰기 작성후 */ function completeInsertComment(ret_obj) { var error = ret_obj['error']; diff --git a/modules/board/skins/xe_list/write_form.html b/modules/board/skins/xe_list/write_form.html index 05ec3bc43..e3541e931 100644 --- a/modules/board/skins/xe_list/write_form.html +++ b/modules/board/skins/xe_list/write_form.html @@ -90,7 +90,7 @@
- {$lang->cmd_registration} + {$lang->cmd_registration}
diff --git a/modules/editor/editor.class.php b/modules/editor/editor.class.php index 5a0fe7452..d41eb38d5 100644 --- a/modules/editor/editor.class.php +++ b/modules/editor/editor.class.php @@ -24,10 +24,10 @@ $oEditorController->insertComponent('url_link',true); $oEditorController->insertComponent('image_link',true); $oEditorController->insertComponent('multimedia_link',true); - $oEditorController->insertComponent('poll_maker',true); $oEditorController->insertComponent('quotation',true); - $oEditorController->insertComponent('image_gallery',true); $oEditorController->insertComponent('table_maker',true); + $oEditorController->insertComponent('poll_maker',true); + $oEditorController->insertComponent('image_gallery',true); // 에디터 모듈에서 사용할 디렉토리 생성 FileHandler::makeDir('./files/cache/editor'); diff --git a/plugins/newest_comment/skins/blog_newest_comment/list.html b/plugins/newest_comment/skins/blog_newest_comment/list.html index 163285598..e6b60b55f 100644 --- a/plugins/newest_comment/skins/blog_newest_comment/list.html +++ b/plugins/newest_comment/skins/blog_newest_comment/list.html @@ -16,7 +16,7 @@
- {cut_str(strip_tags($val->content),13,'...')} + {htmlspecialchars(cut_str(strip_tags($val->content),13,'...'))} {$val->nick_name} diff --git a/plugins/newest_document/skins/blog_newest_document/list.html b/plugins/newest_document/skins/blog_newest_document/list.html index 6b27bb781..8b9767d06 100644 --- a/plugins/newest_document/skins/blog_newest_document/list.html +++ b/plugins/newest_document/skins/blog_newest_document/list.html @@ -16,7 +16,7 @@
- {cut_str($val->title,20)} + {htmlspecialchars(cut_str($val->title,20))}  *{$val->comment_count} diff --git a/plugins/newest_document/skins/default/list.html b/plugins/newest_document/skins/default/list.html index 25c499246..f26cfccc1 100644 --- a/plugins/newest_document/skins/default/list.html +++ b/plugins/newest_document/skins/default/list.html @@ -20,7 +20,7 @@