From 5627010587a3d8456a2de97c3b3d9176d78976cc Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 19 Mar 2007 15:15:18 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@554 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../components/quotation/lang/ko.lang.php | 10 ++-- .../quotation/tpl/{ => images}/blank.gif | Bin .../quotation/tpl/images/border_dotted.gif | Bin 0 -> 86 bytes .../tpl/images/border_left_dotted.gif | Bin 0 -> 79 bytes .../tpl/images/border_left_solid.gif | Bin 0 -> 77 bytes .../quotation/tpl/images/border_solid.gif | Bin 0 -> 89 bytes .../editor/components/quotation/tpl/popup.css | 9 +++- .../components/quotation/tpl/popup.html | 48 ++++++++++++++---- .../editor/components/quotation/tpl/popup.js | 17 ++++++- 9 files changed, 68 insertions(+), 16 deletions(-) rename modules/editor/components/quotation/tpl/{ => images}/blank.gif (100%) create mode 100644 modules/editor/components/quotation/tpl/images/border_dotted.gif create mode 100644 modules/editor/components/quotation/tpl/images/border_left_dotted.gif create mode 100644 modules/editor/components/quotation/tpl/images/border_left_solid.gif create mode 100644 modules/editor/components/quotation/tpl/images/border_solid.gif diff --git a/modules/editor/components/quotation/lang/ko.lang.php b/modules/editor/components/quotation/lang/ko.lang.php index b35514498..69881efbe 100644 --- a/modules/editor/components/quotation/lang/ko.lang.php +++ b/modules/editor/components/quotation/lang/ko.lang.php @@ -14,11 +14,11 @@ $lang->quotation_border_style = "테두리 종류"; $lang->quotation_border_style_list = array( - "none" => "없음", - "solid" => "실선", - "dotted" => "점선", - "left_solid" => "좌측 실선", - "right_solid" => "우측 실선", + "없음", + "실선", + "점선", + "좌측 실선", + "우측 실선", ); $lang->quotation_bg_color = "배경 색"; diff --git a/modules/editor/components/quotation/tpl/blank.gif b/modules/editor/components/quotation/tpl/images/blank.gif similarity index 100% rename from modules/editor/components/quotation/tpl/blank.gif rename to modules/editor/components/quotation/tpl/images/blank.gif diff --git a/modules/editor/components/quotation/tpl/images/border_dotted.gif b/modules/editor/components/quotation/tpl/images/border_dotted.gif new file mode 100644 index 0000000000000000000000000000000000000000..eaf1ae7380f9ef1f732ca0cb8a033756257196f4 GIT binary patch literal 86 zcmZ?wbhEHblw%NJXkcXc4+e@qSr{1@7#VaJfB+=Jz@*#Kzw-23>88$LrYhZIThsSv lUUQzNc5<%AtX1>4kNdpdlK;D_2T_CF`v4l^-W0{|8oA^QLT literal 0 HcmV?d00001 diff --git a/modules/editor/components/quotation/tpl/images/border_left_dotted.gif b/modules/editor/components/quotation/tpl/images/border_left_dotted.gif new file mode 100644 index 0000000000000000000000000000000000000000..101259cb729e738a231d0f830ca6bdcb0f79bf67 GIT binary patch literal 79 zcmZ?wbhEHblw%NJXkcXc4+e@qSr{1@7#VaJfB+=Jz@*mFzw-23*+a86gR&g=>Ez$@ deDJw?6u6{s(tfs+rMOJ+_T6qkb%J(0IMn^>;M1& literal 0 HcmV?d00001 diff --git a/modules/editor/components/quotation/tpl/popup.css b/modules/editor/components/quotation/tpl/popup.css index a515f3ea8..97a79d511 100644 --- a/modules/editor/components/quotation/tpl/popup.css +++ b/modules/editor/components/quotation/tpl/popup.css @@ -92,10 +92,17 @@ img.color_icon_over { img.border_preview_color { width:30px; height:16px; - border:1px solid #000000; + border:1px solid #EEEEEE; background-color:#88EE22; } +img.border_preview_none_color { + width:30px; + height:12px; + border:1px solid #EEEEEE; + background-color:#FFFFFF; +} + img.bg_preview_color { width:30px; height:16px; diff --git a/modules/editor/components/quotation/tpl/popup.html b/modules/editor/components/quotation/tpl/popup.html index 46203f582..ec83f9501 100644 --- a/modules/editor/components/quotation/tpl/popup.html +++ b/modules/editor/components/quotation/tpl/popup.html @@ -21,11 +21,41 @@
{$lang->quotation_border_style}
- +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
{$lang->quotation_border_thickness}
@@ -35,13 +65,13 @@
- + @@ -53,13 +83,13 @@
blankblank #
- + diff --git a/modules/editor/components/quotation/tpl/popup.js b/modules/editor/components/quotation/tpl/popup.js index 1b846a9e7..df9a08bf3 100644 --- a/modules/editor/components/quotation/tpl/popup.js +++ b/modules/editor/components/quotation/tpl/popup.js @@ -61,12 +61,27 @@ function insertQuotation(obj) { function select_color(type, code) { xGetElementById(type+"_preview_color").style.backgroundColor = "#"+code; xGetElementById(type+"_color_input").value = code; + + if(type=="border") { + xGetElementById("border_style_solid_icon").style.backgroundColor = "#"+code; + xGetElementById("border_style_dotted_icon").style.backgroundColor = "#"+code; + xGetElementById("border_style_left_solid_icon").style.backgroundColor = "#"+code; + xGetElementById("border_style_left_dotted_icon").style.backgroundColor = "#"+code; + } } /* 수동 색상 변경시 */ function manual_select_color(type, obj) { if(obj.value.length!=6) return; - xGetElementById(type+"_preview_color").style.backgroundColor = "#"+obj.value; + code = obj.value; + xGetElementById(type+"_preview_color").style.backgroundColor = "#"+code; + + if(type=="border") { + xGetElementById("border_style_solid_icon").style.backgroundColor = "#"+code; + xGetElementById("border_style_dotted_icon").style.backgroundColor = "#"+code; + xGetElementById("border_style_left_solid_icon").style.backgroundColor = "#"+code; + xGetElementById("border_style_left_dotted_icon").style.backgroundColor = "#"+code; + } } /* 색상표를 출력 */
blankblank #