From 7f13b0e58577a54c05d298e26d7039b720c522b9 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 19 Mar 2007 03:32:52 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@526 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../components/image_link/lang/ko.lang.php | 14 +++ .../image_link/tpl/images/align_left.gif | Bin 0 -> 379 bytes .../image_link/tpl/images/align_middle.gif | Bin 0 -> 382 bytes .../image_link/tpl/images/align_normal.gif | Bin 0 -> 379 bytes .../image_link/tpl/images/align_right.gif | Bin 0 -> 368 bytes .../components/image_link/tpl/popup.css | 47 ++++++++- .../components/image_link/tpl/popup.html | 99 ++++++++---------- .../editor/components/image_link/tpl/popup.js | 4 +- 8 files changed, 102 insertions(+), 62 deletions(-) create mode 100644 modules/editor/components/image_link/lang/ko.lang.php create mode 100644 modules/editor/components/image_link/tpl/images/align_left.gif create mode 100644 modules/editor/components/image_link/tpl/images/align_middle.gif create mode 100644 modules/editor/components/image_link/tpl/images/align_normal.gif create mode 100644 modules/editor/components/image_link/tpl/images/align_right.gif diff --git a/modules/editor/components/image_link/lang/ko.lang.php b/modules/editor/components/image_link/lang/ko.lang.php new file mode 100644 index 000000000..3c7b0688c --- /dev/null +++ b/modules/editor/components/image_link/lang/ko.lang.php @@ -0,0 +1,14 @@ + + * @brief 위지윅에디터(editor) 모듈 > 이미지링크(image_link) 컴포넌트의 언어팩 + **/ + + $lang->image_url = "이미지 경로"; + $lang->image_align = "정렬"; + $lang->image_align_normal = "한 문단을 차지"; + $lang->image_align_left = "글의 왼쪽으로"; + $lang->image_align_middle = "가운데"; + $lang->image_align_right = "글의 우측으로"; +?> diff --git a/modules/editor/components/image_link/tpl/images/align_left.gif b/modules/editor/components/image_link/tpl/images/align_left.gif new file mode 100644 index 0000000000000000000000000000000000000000..f16697d91a260fdb90951372750a05db74b614c2 GIT binary patch literal 379 zcmZ?wbhEHb6l0KLxXQrr|NsB{_wS!Nbt-7Bp3PFJ`i1KP*65_~w`siS6dTsef;IWM(fO*pZC7}pLl6u;2OQFZ~i+k zmt1yz$-_6F7{~&OKUu)~bU-A?PYi4`92yHebfj7vmK2>#QJQ_>nX$v#sP&Ccj8C!p ztY^px)qYX7KgsasnY&C}A9l=fh}gxgc3Pu2urNTXq%75oRYX@sT~0_zQB=Ovt6W$| zR$5h)Swca3Vzw6xhX6MhKc65wFXz0t7SDx?mo8tqy4jnBdFQU3Y&>i7cI@7@cmKK^ hzn09*`NvOqo=Qwudp79gsfaUIZr*agd)JY{8UU4=m|p+@ literal 0 HcmV?d00001 diff --git a/modules/editor/components/image_link/tpl/images/align_middle.gif b/modules/editor/components/image_link/tpl/images/align_middle.gif new file mode 100644 index 0000000000000000000000000000000000000000..5e9a00d35f63ce0c53ef551d9d6fb03a2e16b178 GIT binary patch literal 382 zcmZ?wbhEHb6l0KLxXQp#cFi&SxKr~(?}qzsjTe22uev%ck&M}G~~vg=Duy}cZ{-Dus7 zO&4B%^IoqUxJK{Ho1fw9%`U(BfAQtVV=v#Ie);y{n@^?Zg6@6!U%zmj%~GkLwR-pO z-#>Ng)c^ng8OQ>PKUu)~bU-A?PYi6c9i|m{=t#A$T~c&1MQQehXU3hYqSmjxQgq9y z)=fq5xX>z_P0`ncj%v92P2fF|_$p&+ObA=?!~h#DVJY5n&lpV>24*H!MlMcvj#l0F z&hFm+iIdy4=FXeT%{DvBOLPAGg^L4MS1ef*7_;7QiT2iQ+jnTUt=qKObLTeQoxAr2 n_#Zg2Ys#LZM-Cl4f8yNPwfnbv?YMYq6dTsef;IWM(fO*pZC7}pLl6u;2OQFZ~i+k zmt1yz$-_6F7{~&OKUu)~bU-A?PYi4`92yHebfj7vmK2>#QJQ_>nX$v#sP&Ccj8C!p ztY^px)qYX7KgsasnY&C}A9l=fh}gxgc3Pu2urNTXq%75oRYX@sT~0_zQB=Ovt6W$| zR$5h)Swca3Vzw6xhX6MhKc65wFXz0t7SDx?mo8tqy4jnBdFQU3Y&>i7cI@7@cmKK^ hzn09*`NvOqo=Qwudp79gsfaUIZr*agd)JY{8UU4=m|p+@ literal 0 HcmV?d00001 diff --git a/modules/editor/components/image_link/tpl/images/align_right.gif b/modules/editor/components/image_link/tpl/images/align_right.gif new file mode 100644 index 0000000000000000000000000000000000000000..0ac97aa0be04c043014713f0d1e1fdd2052bb56a GIT binary patch literal 368 zcmZ?wbhEHb6l0KLxXQo~v{tWv;kw3)J`PJHomWWa9&jqY>Y9DrDPWCG`hJ_3-A0ky zjl$QP#qBk{{O13ux0n6bXsx@k>FS&R7hZmIUM~6i$A9nj%7JV2{I}RnytMGlo1af# z{U|*b6tTs~W~tQu`}a?sI`#kme+HTX#h)x-vvoiu$WIJxy$%x!JanX57cMC}nW8lN z!n4oLYulJ^c6g{LH{*UKPuOCaenZXxXq~>DqN!8x=R^ kmap03y?*D;&3pH4JFqKk_hG+1r&b<5x7YpBB}WEp0I(v1SpWb4 literal 0 HcmV?d00001 diff --git a/modules/editor/components/image_link/tpl/popup.css b/modules/editor/components/image_link/tpl/popup.css index b94734a2a..e16eb20e9 100644 --- a/modules/editor/components/image_link/tpl/popup.css +++ b/modules/editor/components/image_link/tpl/popup.css @@ -1,9 +1,46 @@ -#emoticon_area { - width:230px; - padding:10px 0px 10px 0px; +.editor_window { + width:400px; text-align:center; } -#emoticon_area img { - margin:2px; +.header { + float:left; + width:100px; + clear:left; + text-align:left; + font-weight:bold; + margin:5px; +} + +.body { + float:left; + width:250px; + text-align:left; + margin:5px; + font-size:9pt; +} + +.body label { + cursor:pointer; +} + +.image_align { + margin:0px 0px 5px 0px; +} + +.image_url { + width:240px; + border:1px solid #AAAAAA; +} + +.editor_button_area { + clear:both; + text-align:center; + margin:5px; +} + +.editor_button { + margin-top:4px; + background-color:#FFFFFF; + border:1px solid #AAAAAA; } diff --git a/modules/editor/components/image_link/tpl/popup.html b/modules/editor/components/image_link/tpl/popup.html index 657cd1eab..732d059d4 100644 --- a/modules/editor/components/image_link/tpl/popup.html +++ b/modules/editor/components/image_link/tpl/popup.html @@ -1,56 +1,45 @@ - - - - - add Image - - - - - - - -
-
- - - - - - - - - - - - - - -
url'/>
type - -
- -
-
-
- - - +
+
+
{$lang->image_url}
+
+
{$lang->image_align}
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+
diff --git a/modules/editor/components/image_link/tpl/popup.js b/modules/editor/components/image_link/tpl/popup.js index a8972ed7e..860919d4b 100644 --- a/modules/editor/components/image_link/tpl/popup.js +++ b/modules/editor/components/image_link/tpl/popup.js @@ -1,7 +1,7 @@ -function insertEmoticon(obj) { +function insertImage(obj) { if(typeof(opener)=='undefined') return; - var text = "\"emoticon\""; + var text = "\""+caption+"\""; opener.editorFocus(opener.editorPrevSrl);