From 4d9ca9b7c1f224291f40bd0d60f982b33b42ea3c Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 16 Mar 2007 01:51:46 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@471 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- editor/js/editor.js | 4 ++-- modules/board/board.view.php | 6 ------ modules/board/skins/default/write_form.html | 2 +- modules/pagemaker/tpl.admin/write_form.html | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/editor/js/editor.js b/editor/js/editor.js index d595f979d..8651ce029 100755 --- a/editor/js/editor.js +++ b/editor/js/editor.js @@ -605,7 +605,7 @@ function editor_preview(sel_obj, upload_target_srl) { // 플래쉬 동영상의 경우 if(/\.flv$/i.test(uploaded_filename)) { - html = ""; + html = ""; // 플래쉬 파일의 경우 } else if(/\.swf$/i.test(uploaded_filename)) { html = ""; @@ -673,7 +673,7 @@ function editor_insert_file(upload_target_srl, align) { // 플래쉬 동영상의 경우 if(/\.flv$/i.test(uploaded_filename)) { type = "flv"; - uploaded_filename = editor_path+"flvplayer/flvplayer.swf?autoStart=true&file="+uploaded_filename; + uploaded_filename = editor_path+"component/flvplayer/flvplayer.swf?autoStart=true&file="+uploaded_filename; // 플래쉬 파일의 경우 } else if(/\.swf$/i.test(uploaded_filename)) { type = "swf"; diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 41402e696..065052b3c 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -60,12 +60,6 @@ Context::set('category_list', $this->category_list); } - // 에디터 세팅 - Context::set('editor', $this->editor); - $editor_path = sprintf("./editor/%s/", $this->editor); - Context::set('editor_path', $editor_path); - Context::loadLang($editor_path); - // 템플릿에서 사용할 변수를 Context::set() if($this->module_srl) Context::set('module_srl',$this->module_srl); diff --git a/modules/board/skins/default/write_form.html b/modules/board/skins/default/write_form.html index 8a6a0f860..204a2ae59 100644 --- a/modules/board/skins/default/write_form.html +++ b/modules/board/skins/default/write_form.html @@ -69,7 +69,7 @@ {$lang->content} {@$upload_target_srl = $document_srl} - + diff --git a/modules/pagemaker/tpl.admin/write_form.html b/modules/pagemaker/tpl.admin/write_form.html index 860ad09bb..5fcc20ccf 100644 --- a/modules/pagemaker/tpl.admin/write_form.html +++ b/modules/pagemaker/tpl.admin/write_form.html @@ -46,7 +46,7 @@ {$lang->content} {@upload_target_srl = $document_srl} - +