diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index d68e31b3d..f1a0e9f5e 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -723,8 +723,7 @@ } /** - * @brief 내용의 멀티미디어 태그를 html 태그로 변경 - * 로 되어 있는 코드를 변경 + * @brief 내용의 에디터 컴포넌트 코드를 변환 **/ function _transEditorComponent($matches) { // IE에서는 태그의 특성중에서 " 를 빼어 버리는 경우가 있기에 정규표현식으로 추가해줌 @@ -732,14 +731,14 @@ $buff = preg_replace('/([^=^"^ ]*)=([^"])([^=^ ]*)/i', '$1="$2$3"', $buff); $buff = str_replace("&","&",$buff); - // 플러그인에서 생성된 코드 (img, div태그내에 plugin코드 존재)의 parameter를 추출 + // 플러그인에서 생성된 코드 (img, div태그내에 editor_plugin코드 존재)의 parameter를 추출 $oXmlParser = new XmlParser(); $xml_doc = $oXmlParser->parse($buff); if($xml_doc->div) $xml_doc = $xml_doc->div; $xml_doc->body = $matches[3]; - // plugin attribute가 없으면 return + // attribute가 없으면 return $editor_component = $xml_doc->attrs->editor_component; if(!$editor_component) return $matches[0]; diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index 36b0ae797..5161ffb6a 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -15,7 +15,6 @@ function exec_xml(module, act, params, callback_func, response_tags, callback_fu } oXml.addParam("module", module); oXml.addParam("act", act); - oXml.addParam("referer_url", location.href); if(typeof(response_tags)=="undefined" || response_tags.length<1) response_tags = new Array('error','message'); diff --git a/modules/plugin/plugin.view.php b/modules/plugin/plugin.view.php index eb3bc5965..52b54a4a4 100644 --- a/modules/plugin/plugin.view.php +++ b/modules/plugin/plugin.view.php @@ -71,7 +71,7 @@ * @brief 페이지 관리에서 사용될 코드 생성 팝업 **/ function dispPluginGenerateCodeInPage() { - $this->dispGenerateCode(); + $this->dispPluginGenerateCode(); $this->setTemplateFile('plugin_generate_code_in_page'); }