From 16dd5a498478314efa5044fc47533a535caf3d6c Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 19 Mar 2007 13:59:16 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@552 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../components/multimedia_link/tpl/popup.js | 2 ++ .../components/quotation/lang/ko.lang.php | 9 +++++++ .../editor/components/quotation/tpl/popup.css | 24 +++++++++++-------- .../editor/components/url_link/tpl/popup.js | 4 +++- 4 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 modules/editor/components/quotation/lang/ko.lang.php diff --git a/modules/editor/components/multimedia_link/tpl/popup.js b/modules/editor/components/multimedia_link/tpl/popup.js index 56f315a2c..473d31fef 100644 --- a/modules/editor/components/multimedia_link/tpl/popup.js +++ b/modules/editor/components/multimedia_link/tpl/popup.js @@ -12,7 +12,9 @@ function getMultimedia() { var url = node.getAttribute("src"); var caption = xInnerHtml(node); var width = node.getAttribute("width"); + if(width!=xWidth(node)) width = xWidth(node); var height = node.getAttribute("height"); + if(height!=xHeight(node)) height = xHeight(node); var auto_start = node.getAttribute("auto_start"); xGetElementById("multimedia_url").value = url; diff --git a/modules/editor/components/quotation/lang/ko.lang.php b/modules/editor/components/quotation/lang/ko.lang.php new file mode 100644 index 000000000..0068f299c --- /dev/null +++ b/modules/editor/components/quotation/lang/ko.lang.php @@ -0,0 +1,9 @@ + + * @brief 위지윅에디터(editor) 모듈 > 인용구 (quotation) 컴포넌트의 언어팩 + **/ + + $lang->quotation = "인용구 사용하기"; +?> diff --git a/modules/editor/components/quotation/tpl/popup.css b/modules/editor/components/quotation/tpl/popup.css index bb0d7fbd8..7cc309f7f 100644 --- a/modules/editor/components/quotation/tpl/popup.css +++ b/modules/editor/components/quotation/tpl/popup.css @@ -3,6 +3,20 @@ text-align:center; } +.editor_title { + font-size:10pt; + font-weight:bold; + clear:both; + height:20px; + background-color:#555555; + color:#EFEFEF; + vertical-align:middle; + padding-top:5px; + border-bottom:1px solid #000000; + text-align:center; +} + + .header { float:left; width:100px; @@ -27,16 +41,6 @@ font-size:9pt; } -.multimedia_url { - width:240px; - border:1px solid #AAAAAA; -} - -.multimedia_size { - width:60px; - border:1px solid #AAAAAA; -} - .editor_button_area { clear:both; text-align:center; diff --git a/modules/editor/components/url_link/tpl/popup.js b/modules/editor/components/url_link/tpl/popup.js index d497823ba..57877c35a 100644 --- a/modules/editor/components/url_link/tpl/popup.js +++ b/modules/editor/components/url_link/tpl/popup.js @@ -6,7 +6,9 @@ function getText() { var node = opener.editorPrevNode; if(!node) { var fo_obj = xGetElementById("fo_component"); - fo_obj.text.value = opener.editorGetSelectedHtml(opener.editorPrevSrl); + var text = opener.editorGetSelectedHtml(opener.editorPrevSrl); + if(text==undefined) text = ""; + fo_obj.text.value = text; return; }