git-svn-id: http://xe-core.googlecode.com/svn/trunk@471 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-16 01:51:46 +00:00
parent 312aedcce7
commit 4d9ca9b7c1
4 changed files with 4 additions and 10 deletions

View file

@ -605,7 +605,7 @@ function editor_preview(sel_obj, upload_target_srl) {
// 플래쉬 동영상의 경우 // 플래쉬 동영상의 경우
if(/\.flv$/i.test(uploaded_filename)) { if(/\.flv$/i.test(uploaded_filename)) {
html = "<EMBED src=\""+editor_path+"flvplayer/flvplayer.swf?autoStart=true&file="+uploaded_filename+"\" width=\"120\" height=\"120\" type=\"application/x-shockwave-flash\"></EMBED>"; html = "<EMBED src=\""+editor_path+"component/flvplayer/flvplayer.swf?autoStart=true&file="+uploaded_filename+"\" width=\"120\" height=\"120\" type=\"application/x-shockwave-flash\"></EMBED>";
// 플래쉬 파일의 경우 // 플래쉬 파일의 경우
} else if(/\.swf$/i.test(uploaded_filename)) { } else if(/\.swf$/i.test(uploaded_filename)) {
html = "<EMBED src=\""+uploaded_filename+"\" width=\"120\" height=\"120\" type=\"application/x-shockwave-flash\"></EMBED>"; html = "<EMBED src=\""+uploaded_filename+"\" width=\"120\" height=\"120\" type=\"application/x-shockwave-flash\"></EMBED>";
@ -673,7 +673,7 @@ function editor_insert_file(upload_target_srl, align) {
// 플래쉬 동영상의 경우 // 플래쉬 동영상의 경우
if(/\.flv$/i.test(uploaded_filename)) { if(/\.flv$/i.test(uploaded_filename)) {
type = "flv"; 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)) { } else if(/\.swf$/i.test(uploaded_filename)) {
type = "swf"; type = "swf";

View file

@ -60,12 +60,6 @@
Context::set('category_list', $this->category_list); 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() // 템플릿에서 사용할 변수를 Context::set()
if($this->module_srl) Context::set('module_srl',$this->module_srl); if($this->module_srl) Context::set('module_srl',$this->module_srl);

View file

@ -69,7 +69,7 @@
<th>{$lang->content}</th> <th>{$lang->content}</th>
<td> <td>
{@$upload_target_srl = $document_srl} {@$upload_target_srl = $document_srl}
<!--#include("$editor_path/editor.html")--> <!--#include("./editor/editor.html")-->
</td> </td>
</tr> </tr>
<tr> <tr>

View file

@ -46,7 +46,7 @@
<th>{$lang->content}</th> <th>{$lang->content}</th>
<td> <td>
{@upload_target_srl = $document_srl} {@upload_target_srl = $document_srl}
<!--#include("$editor_path/editor.html")--> <!--#include("./editor/editor.html")-->
</td> </td>
</tr> </tr>
<tr> <tr>