diff --git a/modules/editor/components/html_editor/html_editor.class.php b/modules/editor/components/html_editor/html_editor.class.php deleted file mode 100644 index 09b8fc9f0..000000000 --- a/modules/editor/components/html_editor/html_editor.class.php +++ /dev/null @@ -1,37 +0,0 @@ -upload_target_srl = $upload_target_srl; - $this->component_path = $component_path; - } - - /** - * @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다 - **/ - function getPopupContent() { - // 템플릿을 미리 컴파일해서 컴파일된 소스를 return - $tpl_path = $this->component_path.'tpl'; - $tpl_file = 'popup.html'; - - Context::set("tpl_path", $tpl_path); - - $oTemplate = &TemplateHandler::getInstance(); - return $oTemplate->compile($tpl_path, $tpl_file); - } - - } -?> diff --git a/modules/editor/components/html_editor/icon.gif b/modules/editor/components/html_editor/icon.gif deleted file mode 100644 index dccbcb346..000000000 Binary files a/modules/editor/components/html_editor/icon.gif and /dev/null differ diff --git a/modules/editor/components/html_editor/info.xml b/modules/editor/components/html_editor/info.xml deleted file mode 100644 index fa1b1fe50..000000000 --- a/modules/editor/components/html_editor/info.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - HTML 코드 수정 - HTMLコード修正 - HTML代码 - Modify HTML Code - - 제로 - Zero - zero - zero - 에디터에서 HTML 코드를 직접 수정하거나 추가할 수 있습니다.\n보안 문제로 인하여 가능한 끄는 것이 좋습니다. - エディターにHTMLコードを直接修正したり、追加したりすることができます。セキュリティのため、使用しないことをお勧めします。 - 直接修改或插入html代码。\n因安全问题不推荐使用此项功能。 - You can add/modify HTML code from editor by yourself.\nIt is recommended not to use this function for the security. - - diff --git a/modules/editor/components/html_editor/tpl/popup.css b/modules/editor/components/html_editor/tpl/popup.css deleted file mode 100644 index ec0293550..000000000 --- a/modules/editor/components/html_editor/tpl/popup.css +++ /dev/null @@ -1,4 +0,0 @@ -@charset "utf-8"; -@import url(../../../../../../modules/admin/tpl/css/admin.css); - -#editor { width:590px; height:400px; } diff --git a/modules/editor/components/html_editor/tpl/popup.html b/modules/editor/components/html_editor/tpl/popup.html deleted file mode 100755 index 2a380e48f..000000000 --- a/modules/editor/components/html_editor/tpl/popup.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -
-

{$component_info->title} ver. {$component_info->version}

-
- -
- -
- -
- -
- -
- {$lang->cmd_insert} - {$lang->cmd_close} - {$lang->about_component} -
- -
diff --git a/modules/editor/components/html_editor/tpl/popup.js b/modules/editor/components/html_editor/tpl/popup.js deleted file mode 100644 index cb501855a..000000000 --- a/modules/editor/components/html_editor/tpl/popup.js +++ /dev/null @@ -1,20 +0,0 @@ -function setText() { - if(typeof(opener)=='undefined') return; - var text = opener.editorGetSelectedHtml(opener.editorPrevSrl); - xGetElementById("editor").value = text; - xGetElementById("editor").focus(); -} - -function insertHtml() { - var text = xGetElementById("editor").value; - opener.editorFocus(opener.editorPrevSrl); - - var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl) - - opener.editorReplaceHTML(iframe_obj, text); - opener.editorFocus(opener.editorPrevSrl); - - window.close(); -} - -xAddEventListener(window, 'load', setText);