테이블 편집기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6116 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2009-04-15 08:11:20 +00:00
parent 9e20111ca9
commit 47fc1bff85
6 changed files with 954 additions and 901 deletions

View file

@ -1,393 +1,407 @@
@charset "utf-8";
/* TextEditor */
.xeTextEditor {padding:10px; overflow:hidden; margin:0 0 10px 0;}
.xeTextEditor textarea { display:block; margin:0; padding:2px; }
.xeTextEditor.black textarea { color:#fff; background-color:#000;}
/* Type Selector */
.xpress-editor *{margin:0; padding:0; font-style:normal; font-size:12px; }
.xpress-editor img,
.xpress-editor fieldset,
.xpress-editor button{ border:0;}
.xpress-editor button{ background:none; background-repeat:no-repeat; cursor:pointer; _cursor /**/:hand;}
.xpress-editor button *{ visibility:hidden;}
.xpress-editor legend{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;}
.xpress-editor label{ cursor:pointer; _cursor /**/:hand;}
.xpress-editor hr{ display:none;}
.xpress-editor li{list-style:none;}
/* Layout Selector */
.xpress-editor{ position:relative; background-color:transparent;}
.xpress-editor #smart_content{ position:relative; clear:both; margin:0 0 10px 0; border:1px solid #c2c2c2; *zoom:1;}
.xpress-editor #smart_footer{ position:relative; text-align:center; padding:10px 0;}
/* Footer */
.xpress-editor #smart_footer *{ vertical-align:top;}
.xpress-editor #smart_footer button{ position:relative; width:67px; height:25px; margin:0 5px 0 0;}
.xpress-editor #smart_footer button.save_temp{ background:url(../img/btn_save_temp.gif) no-repeat;}
.xpress-editor #smart_footer button.preview{ background:url(../img/btn_preview.gif) no-repeat;}
.xpress-editor #smart_footer input{ margin:0;}
.xpress-editor #smart_footer input.reset{ width:67px; height:25px; border:0; background:url(../img/btn_cancel.gif) no-repeat; cursor:pointer; margin-left:5px;}
/* Content > Input Area */
.xpress-editor a.skip{ position:relative; display:block; top:0; right:0; width:0; height:0; overflow:hidden; clear:both; zoom:1}
.xpress-editor a.skip:hover,
.xpress-editor a.skip:active,
.xpress-editor a.skip:focus{ position:relative; display:block; padding:5px; right:0; z-index:60; width:auto; height:auto; text-align:right; white-space:nowrap; color:#000; text-decoration:none; letter-spacing:-1px; _zoom:1;}
.xpress-editor .input_area{ position:relative; margin:10px; z-index:30; *zoom:1; height:400px;}
.xpress-editor .input_area iframe,
.xpress-editor .input_area textarea{ display:block; width:100%; position:relative; height:100%; border:0; overflow:auto;}
.xpress-editor .input_area iframe{}
.xpress-editor .input_area textarea{ *margin:0 -10px; _margin-bottom:-2px;}
.xpress-editor .input_area textarea.blind{ display:none;}
.xpress-editor .input_control{ position:relative; display:block; width:100%; clear:both; text-align:center; background:#fbfbfb url(../img/btn_expand.gif) no-repeat center center; cursor:n-resize;}
.xpress-editor .input_control span{ display:block; height:10px; border-top:1px solid #dfdfdf; visibility:visible; font-size:0; line-height:200%; white-space:nowrap; color:#fff;}
.xpress-editor.black .input_control { background:#111 url(../img/btn_expand.black.gif) no-repeat center center;}
.xpress-editor.black .input_control span{ border-top:1px solid #333; color:#000;}
.xpress-editor .tool{ position:relative; overflow:visible; padding:5px 10px 6px 10px; *padding:5px 10px 8px 10px; z-index:40; clear:both; background:#f8f8f8 url(../img/bg_tool.gif) repeat-x left bottom; border:0; *zoom:1;}
.xpress-editor.black .tool{ background:#111 url(../img/bg_tool.black.gif) repeat-x left bottom; }
.xpress-editor .tool:after{ content:""; display:block; clear:both;}
.xpress-editor .tool ul{ position:relative; overflow:visible; float:left; margin:0 5px 4px 0; z-index:2;}
.xpress-editor .tool ul.action{ width:43px;}
.xpress-editor .tool ul.type{ width:auto; white-space:nowrap;}
.xpress-editor .tool ul.style{ width:169px; z-index:5;}
.xpress-editor .tool ul.paragraph{ width:169px; z-index:4;}
.xpress-editor .tool ul.extra1{ width:111px; z-index:3;}
.xpress-editor .tool ul.extra2{ width:auto; z-index:2;}
.xpress-editor .tool ul.extra3{ float:right; width:auto; z-index:1; margin-right:1px;}
.xpress-editor .tool ul.extra3 li{ margin-right:4px;}
.xpress-editor .tool li{ position:relative; float:left;}
.xpress-editor .tool li button{ width:21px; height:21px; background:url(../img/btn_set.gif) no-repeat 0 0; vertical-align:top;}
.xpress-editor.black .tool li button{ width:21px; height:21px; background:url(../img/btn_set.black.gif) no-repeat 0 0; vertical-align:top;}
.xpress-editor .tool li button span{ position:absolute; top:0; left:0; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool li.extensions span.exButton,
.xpress-editor .tool li.extensions span.exButton button{ float:left; position:relative; display:inline-block; width:auto; background:url(../img/btn_extension.gif) no-repeat left top;}
.xpress-editor .tool li.extensions span.exButton{ margin-right:18px;}
.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left;}
.xpress-editor.black .tool li.extensions span.exButton,
.xpress-editor.black .tool li.extensions span.exButton button{ background-image:url(../img/btn_extension.black.gif); }
.xpress-editor .tool li.html span,
.xpress-editor .tool li.html span button,
.xpress-editor .tool li.preview span,
.xpress-editor .tool li.preview span button{ float:left; position:relative; display:inline-block; width:auto; height:auto; visibility:visible; background:url(../img/btn_set_blank.gif) no-repeat 0 0; white-space:nowrap;}
.xpress-editor.black .tool li.html span,
.xpress-editor.black .tool li.html span button,
.xpress-editor.black .tool li.preview span,
.xpress-editor.black .tool li.preview span button{ background-image:url(../img/btn_set_blank.black.gif); }
.xpress-editor .tool li.html span,
.xpress-editor .tool li.preview span{ margin-right:2px; background-position:left top;}
.xpress-editor .tool li.html span button,
.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px;}
.xpress-editor .tool ul.type li{ float:none; display:inline; *top:1px;}
.xpress-editor .tool ul.type li select{ height:21px; width:62px;}
.xpress-editor.black .tool ul.type li select{ color:#fff; background-color:#000; }
/* Content > Tool > Button Default */
.xpress-editor .tool li.undo button{ width:22px; background-position:0 0;}
.xpress-editor .tool li.redo button{ background-position:-22px 0;}
.xpress-editor .tool li.bold button{ width:22px; background-position:-43px 0;}
.xpress-editor .tool li.underline button{ background-position:-65px 0;}
.xpress-editor .tool li.italic button{ background-position:-86px 0;}
.xpress-editor .tool li.del button{ background-position:-107px 0;}
.xpress-editor .tool li.fcolor button{ background-position:-128px 0;}
.xpress-editor .tool li.bcolor button{ background-position:-149px 0;}
.xpress-editor .tool li.sup button{ background-position:-170px 0;}
.xpress-editor .tool li.sub button{ background-position:-191px 0;}
.xpress-editor .tool li.left button{ width:22px; background-position:-212px 0;}
.xpress-editor .tool li.center button{ background-position:-234px 0;}
.xpress-editor .tool li.right button{ background-position:-255px 0;}
.xpress-editor .tool li.justify button{ background-position:-276px 0;}
.xpress-editor .tool li.ol button{ background-position:-297px 0;}
.xpress-editor .tool li.ul button{ background-position:-318px 0;}
.xpress-editor .tool li.outdent button{ background-position:-339px 0;}
.xpress-editor .tool li.indent button{ background-position:-360px 0;}
.xpress-editor .tool li.blockquote button{ width:22px; background-position:-381px 0;}
.xpress-editor .tool li.url button{ width:26px; background-position:-403px 0;}
.xpress-editor .tool li.table button{ background-position:-429px 0;}
.xpress-editor .tool li.character button{ background-position:-450px 0;}
.xpress-editor .tool li.find button{ background-position:-471px 0;}
.xpress-editor .tool li.extensions span{ background-position:0 0;}
.xpress-editor .tool li.extensions span button{ background-position:right 0;}
.xpress-editor .tool li.html span{ background-position:0 0;}
.xpress-editor .tool li.html span button{ background-position:right 0;}
.xpress-editor .tool li.preview span{ background-position:0 0;}
.xpress-editor .tool li.preview span button{ background-position:right 0;}
/* Content > Tool > Button Hover */
.xpress-editor .tool li.undo button.hover{ width:22px; background-position:0 -21px;}
.xpress-editor .tool li.redo button.hover{ background-position:-22px -21px;}
.xpress-editor .tool li.bold button.hover{ width:22px; background-position:-43px -21px;}
.xpress-editor .tool li.underline button.hover{ background-position:-65px -21px;}
.xpress-editor .tool li.italic button.hover{ background-position:-86px -21px;}
.xpress-editor .tool li.del button.hover{ background-position:-107px -21px;}
.xpress-editor .tool li.fcolor button.hover{ background-position:-128px -21px;}
.xpress-editor .tool li.bcolor button.hover{ background-position:-149px -21px;}
.xpress-editor .tool li.sup button.hover{ background-position:-170px -21px;}
.xpress-editor .tool li.sub button.hover{ background-position:-191px -21px;}
.xpress-editor .tool li.left button.hover{ width:22px; background-position:-212px -21px;}
.xpress-editor .tool li.center button.hover{ background-position:-234px -21px;}
.xpress-editor .tool li.right button.hover{ background-position:-255px -21px;}
.xpress-editor .tool li.justify button.hover{ background-position:-276px -21px;}
.xpress-editor .tool li.ol button.hover{ background-position:-297px -21px;}
.xpress-editor .tool li.ul button.hover{ background-position:-318px -21px;}
.xpress-editor .tool li.outdent button.hover{ background-position:-339px -21px;}
.xpress-editor .tool li.indent button.hover{ background-position:-360px -21px;}
.xpress-editor .tool li.blockquote button.hover{ width:22px; background-position:-381px -21px;}
.xpress-editor .tool li.url button.hover{ width:26px; background-position:-403px -21px;}
.xpress-editor .tool li.table button.hover{ background-position:-429px -21px;}
.xpress-editor .tool li.character button.hover{ background-position:-450px -21px;}
.xpress-editor .tool li.find button.hover{ background-position:-471px -21px;}
.xpress-editor .tool li.extensions span.hover{ background-position:0 -21px;}
.xpress-editor .tool li.extensions span.hover button{ background-position:right -21px;}
.xpress-editor .tool li.html span.hover{ background-position:0 -21px;}
.xpress-editor .tool li.html span.hover button{ background-position:right -21px;}
.xpress-editor .tool li.preview span.hover{ background-position:0 -21px;}
.xpress-editor .tool li.preview span.hover button{ background-position:right -21px;}
/* Content > Tool > Button Active */
.xpress-editor .tool li.undo button.active{ width:22px; background-position:0 -42px;}
.xpress-editor .tool li.redo button.active{ background-position:-22px -42px;}
.xpress-editor .tool li.bold button.active{ width:22px; background-position:-43px -42px;}
.xpress-editor .tool li.underline button.active{ background-position:-65px -42px;}
.xpress-editor .tool li.italic button.active{ background-position:-86px -42px;}
.xpress-editor .tool li.del button.active{ background-position:-107px -42px;}
.xpress-editor .tool li.fcolor button.active{ background-position:-128px -42px;}
.xpress-editor .tool li.bcolor button.active{ background-position:-149px -42px;}
.xpress-editor .tool li.sup button.active{ background-position:-170px -42px;}
.xpress-editor .tool li.sub button.active{ background-position:-191px -42px;}
.xpress-editor .tool li.left button.active{ width:22px; background-position:-212px -42px;}
.xpress-editor .tool li.center button.active{ background-position:-234px -42px;}
.xpress-editor .tool li.right button.active{ background-position:-255px -42px;}
.xpress-editor .tool li.justify button.active{ background-position:-276px -42px;}
.xpress-editor .tool li.ol button.active{ background-position:-297px -42px;}
.xpress-editor .tool li.ul button.active{ background-position:-318px -42px;}
.xpress-editor .tool li.outdent button.active{ background-position:-339px -42px;}
.xpress-editor .tool li.indent button.active{ background-position:-360px -42px;}
.xpress-editor .tool li.blockquote button.active{ width:22px; background-position:-381px -42px;}
.xpress-editor .tool li.url button.active{ width:26px; background-position:-403px -42px;}
.xpress-editor .tool li.table button.active{ background-position:-429px -42px;}
.xpress-editor .tool li.character button.active{ background-position:-450px -42px;}
.xpress-editor .tool li.find button.active{ background-position:-471px -42px;}
.xpress-editor .tool li.extensions span.active{ background-position:0 -42px;}
.xpress-editor .tool li.extensions span.active button{ background-position:right -42px;}
.xpress-editor .tool li.html span.active{ background-position:0 -42px;}
.xpress-editor .tool li.html span.active button{ background-position:right -42px;}
.xpress-editor .tool li.preview span.active{ background-position:0 -42px;}
.xpress-editor .tool li.preview span.active button{ background-position:right -42px;}
/* Content > Tool > Button Off */
.xpress-editor .tool.off li.undo button,
.xpress-editor .tool li.undo button.off{ width:22px; background-position:0 -63px;}
.xpress-editor .tool.off li.redo button,
.xpress-editor .tool li.redo button.off{ background-position:-22px -63px;}
.xpress-editor .tool.off li.bold button{ width:22px; background-position:-43px -63px;}
.xpress-editor .tool.off li.underline button{ background-position:-65px -63px;}
.xpress-editor .tool.off li.italic button{ background-position:-86px -63px;}
.xpress-editor .tool.off li.del button{ background-position:-107px -63px;}
.xpress-editor .tool.off li.fcolor button{ background-position:-128px -63px;}
.xpress-editor .tool.off li.bcolor button{ background-position:-149px -63px;}
.xpress-editor .tool.off li.sup button{ background-position:-170px -63px;}
.xpress-editor .tool.off li.sub button{ background-position:-191px -63px;}
.xpress-editor .tool.off li.left button{ width:22px; background-position:-212px -63px;}
.xpress-editor .tool.off li.center button{ background-position:-234px -63px;}
.xpress-editor .tool.off li.right button{ background-position:-255px -63px;}
.xpress-editor .tool.off li.justify button{ background-position:-276px -63px;}
.xpress-editor .tool.off li.ol button{ background-position:-297px -63px;}
.xpress-editor .tool.off li.ul button{ background-position:-318px -63px;}
.xpress-editor .tool.off li.outdent button{ background-position:-339px -63px;}
.xpress-editor .tool.off li.indent button{ background-position:-360px -63px;}
.xpress-editor .tool.off li.blockquote button{ width:22px; background-position:-381px -63px;}
.xpress-editor .tool.off li.url button{ width:26px; background-position:-403px -63px;}
.xpress-editor .tool.off li.table button{ background-position:-429px -63px;}
.xpress-editor .tool.off li.character button{ background-position:-450px -63px;}
.xpress-editor .tool.off li.find button{ background-position:-471px -63px;}
.xpress-editor .tool.off li.extensions span{ background-position:0 -63px;}
.xpress-editor .tool.off li.extensions span button{ background-position:right -63px; color:#bcbcbc;}
.xpress-editor .tool.off li button{ cursor:default;}
.xpress-editor .tool.off ul.extra3 li button{ cursor:pointer;}
/* Content > Tool > Layer */
.xpress-editor .tool .layer{ display:none; position:absolute; left:0; top:20px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;}
.xpress-editor .tool .layer li{ float:none; left:0;}
.xpress-editor .tool .layer button{ margin:0 !important; width:auto; height:auto; background:none;}
.xpress-editor .tool .layer button span{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool .btn_area{ position:relative; clear:both; text-align:center !important; padding:7px 0 12px 0; width:100%; white-space:nowrap; *zoom:1;}
.xpress-editor .tool .btn_area *{ vertical-align:top;}
.xpress-editor .tool button.close{ position:absolute; top:4px; right:3px; width:21px; height:20px; background:url(../img/btn_layer_close.gif) no-repeat center center !important;}
.xpress-editor .tool button.close span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool .layer .btn_area button{ *margin:0 2px !important;}
.xpress-editor .tool .layer .btn_area button.confirm{ width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;}
.xpress-editor .tool .layer .btn_area button.cancel{ width:38px; height:21px; background:url(../img/btn_layer_cancel.gif) no-repeat;}
.xpress-editor .tool li.fcolor .layer{ width:218px !important; height:auto !important; background-image:none !important; overflow:hidden;}
.xpress-editor .tool .layer .palette{ width:210px; position:relative; left:7px; padding:8px 0 7px 0; margin:0;}
.xpress-editor .tool .layer .palette li{ float:left; margin:0 1px 1px 0; font-size:0; line-height:0;}
.xpress-editor .tool .layer .palette button{ position:relative; overflow:hidden; width:11px; height:11px;}
.xpress-editor .tool li.bcolor .layer { width:218px; overflow:hidden;}
.xpress-editor .tool .layer .background{ width:210px; position:relative; left:7px; margin:0 0 -2px 0; padding:8px 0 0 0; *padding-bottom:8px; _padding-bottom:4px;}
.xpress-editor .tool .layer .background li{ float:left; margin:0 5px 2px 0;}
.xpress-editor .tool .layer .background button{ position:relative; overflow:hidden; width:65px; height:19px; text-align:left; padding:4px;}
.xpress-editor .tool .layer .background button span{ position:relative; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto;}
.xpress-editor .tool li.style .layer{ padding:4px 2px; _overflow:hidden; filter:progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=135,strength=2);}
.xpress-editor .tool li.style .layer li{ position:relative; background:#fbfbfb;}
.xpress-editor .tool li.style .layer li img.component { width:13px; height:12px; }
.xpress-editor .tool li.style .layer li button{ display:block; width:134px; position:relative;}
.xpress-editor .tool li.style .layer li button span{ display:block; width:130px; text-align:left; letter-spacing:normal;}
.xpress-editor .tool li.style .layer li.h3 button span{ padding:3px 0 1px 4px; height:15px; _height /**/:19px; font-size:16px; font-weight:bold;}
.xpress-editor .tool li.style .layer li.h4 button span{ padding:3px 0 2px 4px; height:13px; _height /**/:18px; font-size:14px; font-weight:bold;}
.xpress-editor .tool li.style .layer li.h5 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; font-weight:bold;}
.xpress-editor .tool li.style .layer li.h6 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px;}
.xpress-editor .tool li.style .layer li.p button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; color:#5d5d5d;}
.xpress-editor .tool li.style .layer li button.hover{ background:#c1f471; *height:1%;}
.xpress-editor .tool li.blockquote .layer{ padding:6px 5px 6px 7px; left:0; width:288px;}
.xpress-editor .tool li.blockquote .layer ul{ *zoom:1; margin:0;}
.xpress-editor .tool li.blockquote .layer ul:after{ content:""; display:block; clear:both;}
.xpress-editor .tool li.blockquote .layer li{ position:relative; float:left; overflow:hidden; width:32px; height:34px; margin:0 2px 0 0; border:1px solid #cdcecc; background-image:url(../img/btn_qmark.gif); background-repeat:no-repeat;}
.xpress-editor .tool li.blockquote .layer li.q1{ background-position:0 0;}
.xpress-editor .tool li.blockquote .layer li.q2{ background-position:-32px 0;}
.xpress-editor .tool li.blockquote .layer li.q3{ background-position:-64px 0;}
.xpress-editor .tool li.blockquote .layer li.q4{ background-position:-96px 0;}
.xpress-editor .tool li.blockquote .layer li.q5{ background-position:-128px 0;}
.xpress-editor .tool li.blockquote .layer li.q6{ background-position:-160px 0;}
.xpress-editor .tool li.blockquote .layer li.q7{ background-position:-192px 0;}
.xpress-editor .tool li.blockquote .layer li.q8{ background-position:-224px 0;}
.xpress-editor .tool li.blockquote .layer li button{ width:32px; height:34px;}
.xpress-editor .tool li.url .layer{ width:231px; height:125px; background-image:url(../img/bx_url.gif); background-repeat:no-repeat; background-position:10px 14px;}
.xpress-editor .tool li.url .layer fieldset{ position:absolute; width:212px; left:10px; top:14px;}
.xpress-editor .tool li.url .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;}
.xpress-editor .tool li.url .layer fieldset input.link{ position:absolute; left:12px; top:19px; width:179px; padding:2px 0 1px 6px; *margin:-1px 0; font-size:11px; height:13px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.url .layer fieldset p{ position:absolute; left:12px; top:44px;}
.xpress-editor .tool li.url .layer fieldset p input{ width:13px; height:13px; vertical-align:middle; margin-right:3px;}
.xpress-editor .tool li.url .layer .btn_area{ position:absolute; bottom:12px; padding:0;}
.xpress-editor .tool li.table .layer{ width:242px; height:239px; background-image:url(../img/bx_table.gif); background-repeat:no-repeat; background-position:10px 14px;}
.xpress-editor .tool li.table .layer fieldset{ position:absolute; width:222px; left:10px;}
.xpress-editor .tool li.table .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;}
.xpress-editor .tool li.table .layer fieldset dl{ position:absolute; left:10px;}
.xpress-editor .tool li.table .layer fieldset dt{ float:left; padding:3px 0 0 0; height:20px; white-space:nowrap; letter-spacing:-1px;}
.xpress-editor .tool li.table .layer fieldset dd{ float:right; position:relative;}
.xpress-editor .tool li.table .layer fieldset dd button.add,
.xpress-editor .tool li.table .layer fieldset dd button.del{ position:absolute; left:27px; width:15px; height:8px; background:url(../img/btn_layer_cell_adjust.gif) no-repeat;}
.xpress-editor .tool li.table .layer fieldset dd button.add{ top:1px;}
.xpress-editor .tool li.table .layer fieldset dd button.del{ top:9px; background-position:0 -8px;}
.xpress-editor .tool li.table .layer fieldset dd .preview_palette{ display:block; float:left; margin:0 3px 0 0; padding:2px; position:relative; border:1px solid #c8c9c6; width:14px; height:14px; overflow:hidden;}
.xpress-editor .tool li.table .layer fieldset dd .preview_palette button{ width:14px; height:14px; font-size:500px; line-height:0;}
.xpress-editor .tool li.table .layer fieldset dd .find_palette{ width:21px; height:20px; background:url(../img/btn_search.gif) no-repeat;}
.xpress-editor .tool li.table .layer fieldset.num{ top:14px;}
.xpress-editor .tool li.table .layer fieldset.num dl{ top:18px; width:60px;}
.xpress-editor .tool li.table .layer fieldset.num dt{ height:20px;}
.xpress-editor .tool li.table .layer fieldset.num dd{ height:23px;}
.xpress-editor .tool li.table .layer fieldset.num dt label{ font-size:11px; color:#333;}
.xpress-editor .tool li.table .layer fieldset.num dd input{ padding:3px 0 0 6px; *margin:-1px 0; width:35px; height:13px; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.table .layer fieldset.color{ top:96px;}
.xpress-editor .tool li.table .layer fieldset.color dl{ top:18px; width:210px;}
.xpress-editor .tool li.table .layer fieldset.color dt{ height:23px;}
.xpress-editor .tool li.table .layer fieldset.color dd{ height:26px; width:146px;}
.xpress-editor .tool li.table .layer fieldset.color dt label{ font-size:11px; color:#333;}
.xpress-editor .tool li.table .layer fieldset.color dd input{ padding:3px 0 0 6px; *margin:-1px 0; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_width{ width:35px; height:13px;}
.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_color,
.xpress-editor .tool li.table .layer fieldset.color dd input#table_bg_color{ width:70px; height:15px; *margin-right:3px;}
.xpress-editor .tool li.table .layer table{ position:absolute; top:18px; left:75px; width:137px; height:40px; table-layout:fixed;}
.xpress-editor .tool li.table .layer table *{ font-size:0; line-height:0;}
.xpress-editor .tool li.table .layer table th,
.xpress-editor .tool li.table .layer table td{ text-align:center;}
.xpress-editor .tool li.table .layer .btn_area{ position:absolute; bottom:12px; padding:0; z-index:1;}
.xpress-editor .tool li.table .layer .palette{ display:none; position:absolute; z-index:2; left:11px; width:204px; padding:8px 7px 7px 7px; _padding-right:6px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;}
.xpress-editor .tool li.table .layer.p1 .palette{ display:block; top:163px;}
.xpress-editor .tool li.table .layer.p2 .palette{ display:block; top:189px;}
.xpress-editor .tool li.character .layer{ width:433px; height:242px; overflow:hidden;}
.xpress-editor .tool li.character .layer ul{ margin:0;}
.xpress-editor .tool li.character .layer h3{position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool li.character .layer .nav{ position:absolute; top:11px; left:-1px; overflow:hidden; white-space:nowrap;}
.xpress-editor .tool li.character .layer .nav li{ display:inline; margin:0 -4px 0 0; padding:0 8px; background:url(../img/vr_layer_character.gif) no-repeat 0 0;}
.xpress-editor .tool li.character .layer .nav li a{ color:#444; text-decoration:none; letter-spacing:-1px;}
.xpress-editor .tool li.character .layer .nav li a:hover,
.xpress-editor .tool li.character .layer .nav li a:active,
.xpress-editor .tool li.character .layer .nav li a:focus{ text-decoration:underline;}
.xpress-editor .tool li.character .layer .nav li a.on{ font-weight:bold; color:#004790; display:inline;}
.xpress-editor .tool li.character .layer .list{ position:absolute; left:7px; top:30px; width:421px; height:172px; background:url(../img/bx_character.gif) no-repeat;}
.xpress-editor .tool li.character .layer .list li{ position:relative; top:1px; left:1px; float:left; width:20px; height:18px; margin:0 1px 1px 0;}
.xpress-editor .tool li.character .layer .list li button{ width:20px; height:18px;}
.xpress-editor .tool li.character .layer .list li button.hover{ border:2px solid #27c11a;}
.xpress-editor .tool li.character .layer .list li button span{ overflow:visible; font-size:12px; width:auto; height:auto; position:relative; visibility:visible; line-height:normal;}
.xpress-editor .tool li.character .layer p{ position:absolute; top:212px; left:7px;}
.xpress-editor .tool li.character .layer p *{ vertical-align:top;}
.xpress-editor .tool li.character .layer p label{ position:relative; top:4px; margin:0 7px 0 0; color:#333; letter-spacing:-1px;}
.xpress-editor .tool li.character .layer p input{ padding:3px 0 0 4px; margin:0 4px 0 0; width:300px; _width /**/:306px; height:16px; _height /**/:20px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.character .layer p button{ position:relative; *top:1px; width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;}
.xpress-editor .tool li.character .layer p button span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool li.find .layer{ width:242px;}
.xpress-editor .tool li.find .layer h3{ background:#f2f2f2; color:#333; height:21px; margin:0 0 11px 0; padding:7px 0 0 5px;}
.xpress-editor .tool li.find .layer .menu_tab{ position:relative; z-index:20; width:100%; *zoom:1;}
.xpress-editor .tool li.find .layer .menu_tab:after{ content:""; display:block; clear:both;}
.xpress-editor .tool li.find .layer .layer_tab{ position:relative; left:10px; padding:0; margin:0; clear:both;}
.xpress-editor .tool li.find .layer .layer_tab li{ position:relative; z-index:1; float:left; margin-right:1px; background:url(../img/btn_layer_tab.gif) no-repeat 0 0;}
.xpress-editor .tool li.find .layer .layer_tab li a{ position:relative; display:block; float:left; left:2px; height:15px; padding:4px 9px 0 5px; color:#404040; text-decoration:none; background:url(../img/btn_layer_tab.gif) no-repeat right 0;}
.xpress-editor .tool li.find .layer.find .layer_tab li.tab1,
.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2{ top:-1px; margin-bottom:-1px;}
.xpress-editor .tool li.find .layer.find .layer_tab li.tab1 a,
.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2 a{ height:18px;}
.xpress-editor .tool li.find .layer .container{ position:relative; z-index:1; clear:both; top:-2px;}
.xpress-editor .tool li.find .layer .container .bx{ display:none; position:relative; width:222px; left:10px; clear:both; z-index:1; background:url(../img/bx_find.gif) no-repeat;}
.xpress-editor .tool li.find .layer.find .container #find,
.xpress-editor .tool li.find .layer.replace .container #replace{ display:block;}
.xpress-editor .tool li.find .layer .bx fieldset{ position:relative; padding:13px 0 17px 11px;}
.xpress-editor .tool li.find .layer .bx fieldset *{ vertical-align:top;}
.xpress-editor .tool li.find .layer .bx label{ position:relative; top:4px; margin:0 7px 0 0; font-size:11px; letter-spacing:-1px; color:#333;}
.xpress-editor .tool li.find .layer .bx input{ padding:3px 0 0 4px; width:144px; _width /**/:150px; height:14px; _height /**/:19px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.find .layer .bx .cap{ position:absolute; left:0; bottom:0; display:block; width:222px; height:2px; _margin:0 0 -1px 0; overflow:hidden; background:#fff url(../img/bx_find.gif) no-repeat left bottom; font-size:0; line-height:0;}
.xpress-editor .tool li.find .layer .bx#replace fieldset{ height:45px; _height /**/:75px;}
.xpress-editor .tool li.find .layer .bx#replace fieldset #keyword2{ margin-bottom:6px;}
.xpress-editor .tool li.find .layer .btn_area button{ display:none; *margin:0 2px !important;}
.xpress-editor .tool li.find .layer.find .btn_area .find_next{ display:inline; width:62px; height:21px; background:url(../img/btn_layer_find_next_strong.gif) no-repeat;}
.xpress-editor .tool li.find .layer.replace .btn_area .find_next{ display:inline; width:55px; height:21px; background:url(../img/btn_layer_find_next.gif) no-repeat;}
.xpress-editor .tool li.find .layer.replace .btn_area .replace{ display:inline; width:48px; height:21px; background:url(../img/btn_layer_replace.gif) no-repeat;}
.xpress-editor .tool li.find .layer.replace .btn_area .replace_all{ display:inline; width:69px; height:21px; background:url(../img/btn_layer_replace_all.gif) no-repeat;}
.xpress-editor .tool li.find .layer .btn_area .cancel{ display:inline;}
.xpress-editor .tool li.extensions .layer{ width:auto; white-space:nowrap; padding:5px 10px;}
.xpress-editor .tool li.extensions .layer li{ margin:2px 0;}
.xpress-editor .tool li.extensions .layer li a { color:#000; text-decoration:none; }
.xpress-editor .tool li.extensions .layer li a:hover { text-decoration:underline; }
/* File Uploader */
.xpress-editor .fileUploader{ clear:both; padding-top:5px; margin-bottom:20px;}
.xpress-editor .fileUploader:after{ content:""; display:block; clear:both;}
.xpress-editor .fileUploader .preview{ float:left; width:64px; height:64px; border:1px solid #ccc;; padding:2px; margin:0 10px 5px 10px;}
.xpress-editor .fileUploader .preview.black { background-color:#000; border:1px solid #666;}
.xpress-editor .fileUploader .preview img{ display:block; width:64px; height:64px;}
.xpress-editor .fileUploader .fileListArea{ float:left; width:260px; margin:0 10px 5px 0;}
.xpress-editor .fileUploader .fileListArea select{ width:100%; height:70px; overflow:auto;}
.xpress-editor .fileUploader .fileListArea select option{ font-size:11px;}
.xpress-editor .fileUploader .fileListArea.black select { background-color:#000; border:1px solid #666;}
.xpress-editor .fileUploader .fileListArea.black select option { color:#aaa; }
.xpress-editor .fileUploader .fileUploadControl{ clear:right;}
.xpress-editor .fileUploader .fileUploadControl .button{ margin-bottom:5px;}
.xpress-editor .fileUploader .file_attach_info{ clear:right; margin:5px 0;}
/* Auto Save */
.xpress-editor .autosave_message { display:none; background: #f6ffdb; padding:6px 10px; margin:0; line-height:1;}
.xpress-editor.black .autosave_message { display:none; background:#222; padding:6px 10px; margin:0; line-height:1; color:#fff; }
.xpress-editor .input_syntax.black { background:transparent; color:#fff; }
@charset "utf-8";
/* TextEditor */
.xeTextEditor {padding:10px; overflow:hidden; margin:0 0 10px 0;}
.xeTextEditor textarea { display:block; margin:0; padding:2px; }
.xeTextEditor.black textarea { color:#fff; background-color:#000;}
/* Type Selector */
.xpress-editor *{margin:0; padding:0; font-style:normal; font-size:12px; }
.xpress-editor img,
.xpress-editor fieldset,
.xpress-editor button{ border:0;}
.xpress-editor button{ background:none; background-repeat:no-repeat; cursor:pointer; _cursor /**/:hand;}
.xpress-editor button *{ visibility:hidden;}
.xpress-editor legend{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;}
.xpress-editor label{ cursor:pointer; _cursor /**/:hand;}
.xpress-editor hr{ display:none;}
.xpress-editor li{list-style:none;}
/* Layout Selector */
.xpress-editor{ position:relative; background:#fff;}
.xpress-editor #smart_content{ position:relative; clear:both; margin:0 0 10px 0; border:1px solid #c2c2c2; *zoom:1;}
.xpress-editor #smart_footer{ position:relative; text-align:center; padding:10px 0;}
/* Footer */
.xpress-editor #smart_footer *{ vertical-align:top;}
.xpress-editor #smart_footer button{ position:relative; width:67px; height:25px; margin:0 5px 0 0;}
.xpress-editor #smart_footer button.save_temp{ background:url(../img/btn_save_temp.gif) no-repeat;}
.xpress-editor #smart_footer button.preview{ background:url(../img/btn_preview.gif) no-repeat;}
.xpress-editor #smart_footer input{ margin:0;}
.xpress-editor #smart_footer input.reset{ width:67px; height:25px; border:0; background:url(../img/btn_cancel.gif) no-repeat; cursor:pointer; margin-left:5px;}
/* Content > Input Area */
.xpress-editor a.skip{ position:relative; display:block; top:0; right:0; width:0; height:0; overflow:hidden; clear:both; zoom:1}
.xpress-editor a.skip:hover,
.xpress-editor a.skip:active,
.xpress-editor a.skip:focus{ position:relative; display:block; padding:5px; right:0; z-index:60; width:auto; height:auto; text-align:right; white-space:nowrap; color:#000; text-decoration:none; letter-spacing:-1px; _zoom:1;}
.xpress-editor .input_area{ position:relative; margin:10px; z-index:30; *zoom:1; height:400px;}
.xpress-editor .input_area iframe,
.xpress-editor .input_area textarea{ display:block; width:100%; position:relative; height:100%; border:0; overflow:auto;}
.xpress-editor .input_area iframe{}
.xpress-editor .input_area textarea{ *margin:0 -10px; _margin-bottom:-2px;}
.xpress-editor .input_area textarea.blind{ display:none;}
.xpress-editor .input_control{ position:relative; display:block; width:100%; clear:both; text-align:center; background:#fbfbfb url(../img/btn_expand.gif) no-repeat center center; cursor:n-resize;}
.xpress-editor .input_control span{ display:block; height:10px; border-top:1px solid #dfdfdf; visibility:visible; font-size:0; line-height:200%; white-space:nowrap; color:#fff;}
.xpress-editor.black .input_control { background:#111 url(../img/btn_expand.black.gif) no-repeat center center;}
.xpress-editor.black .input_control span{ border-top:1px solid #333; color:#000;}
.xpress-editor .tool{ position:relative; overflow:visible; padding:5px 10px 6px 10px; *padding:5px 10px 8px 10px; z-index:40; clear:both; background:#f8f8f8 url(../img/bg_tool.gif) repeat-x left bottom; border:0; *zoom:1;}
.xpress-editor.black .tool{ background:#111 url(../img/bg_tool.black.gif) repeat-x left bottom; }
.xpress-editor .tool:after{ content:""; display:block; clear:both;}
.xpress-editor .tool ul{ position:relative; overflow:visible; float:left; margin:0 5px 2px 0; z-index:2;}
.xpress-editor .tool ul.action{ width:43px;}
.xpress-editor .tool ul.type{ width:auto; white-space:nowrap;}
.xpress-editor .tool ul.style{ width:169px; z-index:6;}
.xpress-editor .tool ul.paragraph{ width:169px; z-index:5;}
.xpress-editor .tool ul.extra1{ width:90px; z-index:4;}
.xpress-editor .tool ul.table{ width:85px; z-index:3;}
.xpress-editor .tool ul.extra2{ width:auto; z-index:2;}
.xpress-editor .tool ul.extra3{ float:right; width:auto; z-index:1; margin-right:1px;}
.xpress-editor .tool ul.extra3 li{ margin-right:4px;}
.xpress-editor .tool li{ position:relative; float:left;}
.xpress-editor .tool li button{ width:21px; height:21px; background:url(../img/btn_set.gif) no-repeat 0 0; vertical-align:top;}
.xpress-editor .tool li button span{ position:absolute; top:0; left:0; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool li.extensions span.exButton,
.xpress-editor .tool li.extensions span.exButton button{ float:left; position:relative; display:inline-block; width:auto; background:url(../img/btn_extension.gif) no-repeat left top;}
.xpress-editor .tool li.extensions span.exButton{ margin-right:18px;}
.xpress-editor .tool li.extensions span.exButton button{ left:18px; height:21px; background-position:right top; padding:0 4px 0 0; font:11px/21px Tahoma, Sans-serif; text-align:left;}
.xpress-editor.black .tool li.extensions span.exButton,
.xpress-editor.black .tool li.extensions span.exButton button{ background-image:url(../img/btn_extension.black.gif); }
.xpress-editor .tool li.html span,
.xpress-editor .tool li.html span button,
.xpress-editor .tool li.preview span,
.xpress-editor .tool li.preview span button{ float:left; position:relative; display:inline-block; width:auto; height:auto; visibility:visible; background:url(../img/btn_set_blank.gif) no-repeat 0 0; white-space:nowrap;}
.xpress-editor.black .tool li.html span,
.xpress-editor.black .tool li.html span button,
.xpress-editor.black .tool li.preview span,
.xpress-editor.black .tool li.preview span button{ background-image:url(../img/btn_set_blank.black.gif); }
.xpress-editor .tool li.html span,
.xpress-editor .tool li.preview span{ margin-right:2px; background-position:left top;}
.xpress-editor .tool li.html span button,
.xpress-editor .tool li.preview span button{ left:2px; height:21px; background-position:right top; font:11px/21px Tahoma, Sans-serif; padding:0 4px;}
.xpress-editor .tool ul.type li{ float:none; display:inline; *top:1px;}
.xpress-editor .tool ul.type li select{ height:21px; width:62px;}
.xpress-editor.black .tool ul.type li select{ color:#fff; background-color:#000; }
/* Content > Tool > Button Default */
.xpress-editor .tool li.undo button{ width:22px; background-position:0 0;}
.xpress-editor .tool li.redo button{ background-position:-22px 0;}
.xpress-editor .tool li.bold button{ width:22px; background-position:-43px 0;}
.xpress-editor .tool li.underline button{ background-position:-65px 0;}
.xpress-editor .tool li.italic button{ background-position:-86px 0;}
.xpress-editor .tool li.del button{ background-position:-107px 0;}
.xpress-editor .tool li.fcolor button{ background-position:-128px 0;}
.xpress-editor .tool li.bcolor button{ background-position:-149px 0;}
.xpress-editor .tool li.sup button{ background-position:-170px 0;}
.xpress-editor .tool li.sub button{ background-position:-191px 0;}
.xpress-editor .tool li.left button{ width:22px; background-position:-212px 0;}
.xpress-editor .tool li.center button{ background-position:-234px 0;}
.xpress-editor .tool li.right button{ background-position:-255px 0;}
.xpress-editor .tool li.justify button{ background-position:-276px 0;}
.xpress-editor .tool li.ol button{ background-position:-297px 0;}
.xpress-editor .tool li.ul button{ background-position:-318px 0;}
.xpress-editor .tool li.outdent button{ background-position:-339px 0;}
.xpress-editor .tool li.indent button{ background-position:-360px 0;}
.xpress-editor .tool li.blockquote button{ width:22px; background-position:-381px 0;}
.xpress-editor .tool li.url button{ width:26px; background-position:-403px 0;}
.xpress-editor .tool li.character button{ background-position:-429px 0;}
.xpress-editor .tool li.find button{ background-position:-450px 0;}
.xpress-editor .tool li.table button{ width:22px; background-position:-471px 0;}
.xpress-editor .tool li.merge button{ background-position:-493px 0;}
.xpress-editor .tool li.splitCol button{ background-position:-514px 0;}
.xpress-editor .tool li.splitRow button{ background-position:-535px 0;}
.xpress-editor .tool li.extensions span{ background-position:0 0;}
.xpress-editor .tool li.extensions span button{ background-position:right 0;}
.xpress-editor .tool li.html span{ background-position:0 0;}
.xpress-editor .tool li.html span button{ background-position:right 0;}
.xpress-editor .tool li.preview span{ background-position:0 0;}
.xpress-editor .tool li.preview span button{ background-position:right 0;}
/* Content > Tool > Button Hover */
.xpress-editor .tool li.undo button.hover{ width:22px; background-position:0 -21px;}
.xpress-editor .tool li.redo button.hover{ background-position:-22px -21px;}
.xpress-editor .tool li.bold button.hover{ width:22px; background-position:-43px -21px;}
.xpress-editor .tool li.underline button.hover{ background-position:-65px -21px;}
.xpress-editor .tool li.italic button.hover{ background-position:-86px -21px;}
.xpress-editor .tool li.del button.hover{ background-position:-107px -21px;}
.xpress-editor .tool li.fcolor button.hover{ background-position:-128px -21px;}
.xpress-editor .tool li.bcolor button.hover{ background-position:-149px -21px;}
.xpress-editor .tool li.sup button.hover{ background-position:-170px -21px;}
.xpress-editor .tool li.sub button.hover{ background-position:-191px -21px;}
.xpress-editor .tool li.left button.hover{ width:22px; background-position:-212px -21px;}
.xpress-editor .tool li.center button.hover{ background-position:-234px -21px;}
.xpress-editor .tool li.right button.hover{ background-position:-255px -21px;}
.xpress-editor .tool li.justify button.hover{ background-position:-276px -21px;}
.xpress-editor .tool li.ol button.hover{ background-position:-297px -21px;}
.xpress-editor .tool li.ul button.hover{ background-position:-318px -21px;}
.xpress-editor .tool li.outdent button.hover{ background-position:-339px -21px;}
.xpress-editor .tool li.indent button.hover{ background-position:-360px -21px;}
.xpress-editor .tool li.blockquote button.hover{ width:22px; background-position:-381px -21px;}
.xpress-editor .tool li.url button.hover{ width:26px; background-position:-403px -21px;}
.xpress-editor .tool li.character button.hover{ background-position:-429px -21px;}
.xpress-editor .tool li.find button.hover{ background-position:-450px -21px;}
.xpress-editor .tool li.table button.hover{ width:22px; background-position:-471px -21px;}
.xpress-editor .tool li.merge button.hover{ background-position:-493px -21px;}
.xpress-editor .tool li.splitCol button.hover{ background-position:-514px -21px;}
.xpress-editor .tool li.splitRow button.hover{ background-position:-535px -21px;}
.xpress-editor .tool li.extensions span.hover{ background-position:0 -21px;}
.xpress-editor .tool li.extensions span.hover button{ background-position:right -21px;}
.xpress-editor .tool li.html span.hover{ background-position:0 -21px;}
.xpress-editor .tool li.html span.hover button{ background-position:right -21px;}
.xpress-editor .tool li.preview span.hover{ background-position:0 -21px;}
.xpress-editor .tool li.preview span.hover button{ background-position:right -21px;}
/* Content > Tool > Button Active */
.xpress-editor .tool li.undo button.active{ width:22px; background-position:0 -42px;}
.xpress-editor .tool li.redo button.active{ background-position:-22px -42px;}
.xpress-editor .tool li.bold button.active{ width:22px; background-position:-43px -42px;}
.xpress-editor .tool li.underline button.active{ background-position:-65px -42px;}
.xpress-editor .tool li.italic button.active{ background-position:-86px -42px;}
.xpress-editor .tool li.del button.active{ background-position:-107px -42px;}
.xpress-editor .tool li.fcolor button.active{ background-position:-128px -42px;}
.xpress-editor .tool li.bcolor button.active{ background-position:-149px -42px;}
.xpress-editor .tool li.sup button.active{ background-position:-170px -42px;}
.xpress-editor .tool li.sub button.active{ background-position:-191px -42px;}
.xpress-editor .tool li.left button.active{ width:22px; background-position:-212px -42px;}
.xpress-editor .tool li.center button.active{ background-position:-234px -42px;}
.xpress-editor .tool li.right button.active{ background-position:-255px -42px;}
.xpress-editor .tool li.justify button.active{ background-position:-276px -42px;}
.xpress-editor .tool li.ol button.active{ background-position:-297px -42px;}
.xpress-editor .tool li.ul button.active{ background-position:-318px -42px;}
.xpress-editor .tool li.outdent button.active{ background-position:-339px -42px;}
.xpress-editor .tool li.indent button.active{ background-position:-360px -42px;}
.xpress-editor .tool li.blockquote button.active{ width:22px; background-position:-381px -42px;}
.xpress-editor .tool li.url button.active{ width:26px; background-position:-403px -42px;}
.xpress-editor .tool li.character button.active{ background-position:-429px -42px;}
.xpress-editor .tool li.find button.active{ background-position:-450px -42px;}
.xpress-editor .tool li.table button.active{ width:22px; background-position:-471px -42px;}
.xpress-editor .tool li.merge button.active{ background-position:-493px -42px;}
.xpress-editor .tool li.splitCol button.active{ background-position:-514px -42px;}
.xpress-editor .tool li.splitRow button.active{ background-position:-535px -42px;}
.xpress-editor .tool li.extensions span.active{ background-position:0 -42px;}
.xpress-editor .tool li.extensions span.active button{ background-position:right -42px;}
.xpress-editor .tool li.html span.active{ background-position:0 -42px;}
.xpress-editor .tool li.html span.active button{ background-position:right -42px;}
.xpress-editor .tool li.preview span.active{ background-position:0 -42px;}
.xpress-editor .tool li.preview span.active button{ background-position:right -42px;}
/* Content > Tool > Button Off */
.xpress-editor .tool.off li.undo button,
.xpress-editor .tool li.undo button.off{ width:22px; background-position:0 -63px;}
.xpress-editor .tool.off li.redo button,
.xpress-editor .tool li.redo button.off{ background-position:-22px -63px;}
.xpress-editor .tool.off li.bold button{ width:22px; background-position:-43px -63px;}
.xpress-editor .tool.off li.underline button{ background-position:-65px -63px;}
.xpress-editor .tool.off li.italic button{ background-position:-86px -63px;}
.xpress-editor .tool.off li.del button{ background-position:-107px -63px;}
.xpress-editor .tool.off li.fcolor button{ background-position:-128px -63px;}
.xpress-editor .tool.off li.bcolor button{ background-position:-149px -63px;}
.xpress-editor .tool.off li.sup button{ background-position:-170px -63px;}
.xpress-editor .tool.off li.sub button{ background-position:-191px -63px;}
.xpress-editor .tool.off li.left button{ width:22px; background-position:-212px -63px;}
.xpress-editor .tool.off li.center button{ background-position:-234px -63px;}
.xpress-editor .tool.off li.right button{ background-position:-255px -63px;}
.xpress-editor .tool.off li.justify button{ background-position:-276px -63px;}
.xpress-editor .tool.off li.ol button{ background-position:-297px -63px;}
.xpress-editor .tool.off li.ul button{ background-position:-318px -63px;}
.xpress-editor .tool.off li.outdent button{ background-position:-339px -63px;}
.xpress-editor .tool.off li.indent button{ background-position:-360px -63px;}
.xpress-editor .tool.off li.blockquote button{ width:22px; background-position:-381px -63px;}
.xpress-editor .tool.off li.url button{ width:26px; background-position:-403px -63px;}
.xpress-editor .tool.off li.character button{ background-position:-429px -63px;}
.xpress-editor .tool.off li.find button{ background-position:-450px -63px;}
.xpress-editor .tool.off li.table button{ width:22px; background-position:-471px -63px;}
.xpress-editor .tool.off li.merge button,
.xpress-editor .tool li.merge button.off{ background-position:-493px -63px;}
.xpress-editor .tool.off li.splitCol button,
.xpress-editor .tool li.splitCol button.off{ background-position:-514px -63px;}
.xpress-editor .tool.off li.splitRow button,
.xpress-editor .tool li.splitRow button.off{ background-position:-535px -63px;}
.xpress-editor .tool.off li.extensions span{ background-position:0 -63px;}
.xpress-editor .tool.off li.extensions span button{ background-position:right -63px; color:#bcbcbc;}
.xpress-editor .tool.off li button{ cursor:default;}
.xpress-editor .tool.off ul.extra3 li button{ cursor:pointer;}
/* Content > Tool > Layer */
.xpress-editor .tool .layer{ display:none; position:absolute; left:0; top:20px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;}
.xpress-editor .tool .layer li{ float:none; left:0;}
.xpress-editor .tool .layer button{ margin:0 !important; width:auto; height:auto; background:none;}
.xpress-editor .tool .layer button span{ position:absolute; width:0; height:0; font-size:0; line-height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool .btn_area{ position:relative; clear:both; text-align:center !important; padding:7px 0 12px 0; width:100%; white-space:nowrap; *zoom:1;}
.xpress-editor .tool .btn_area *{ vertical-align:top;}
.xpress-editor .tool button.close{ position:absolute; top:4px; right:3px; width:21px; height:20px; background:url(../img/btn_layer_close.gif) no-repeat center center !important;}
.xpress-editor .tool button.close span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool .layer .btn_area button{ *margin:0 2px !important;}
.xpress-editor .tool .layer .btn_area button.confirm{ width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;}
.xpress-editor .tool .layer .btn_area button.cancel{ width:38px; height:21px; background:url(../img/btn_layer_cancel.gif) no-repeat;}
.xpress-editor .tool li.fcolor .layer{ width:218px !important; height:auto !important; background-image:none !important; overflow:hidden;}
.xpress-editor .tool .layer .palette{ width:210px; position:relative; left:7px; padding:8px 0 7px 0; margin:0;}
.xpress-editor .tool .layer .palette li{ float:left; margin:0 1px 1px 0; font-size:0; line-height:0;}
.xpress-editor .tool .layer .palette button{ position:relative; overflow:hidden; width:11px; height:11px;}
.xpress-editor .tool li.bcolor .layer { width:218px; overflow:hidden;}
.xpress-editor .tool .layer .background{ width:210px; position:relative; left:7px; margin:0 0 -2px 0; padding:8px 0 0 0; *padding-bottom:8px; _padding-bottom:4px;}
.xpress-editor .tool .layer .background li{ float:left; margin:0 5px 2px 0;}
.xpress-editor .tool .layer .background button{ position:relative; overflow:hidden; width:65px; height:19px; text-align:left; padding:4px;}
.xpress-editor .tool .layer .background button span{ position:relative; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto;}
.xpress-editor .tool li.style .layer{ padding:4px 2px; _overflow:hidden; filter:progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=135,strength=2);}
.xpress-editor .tool li.style .layer li{ position:relative; background:#fbfbfb;}
.xpress-editor .tool li.style .layer li button{ display:block; width:134px; position:relative;}
.xpress-editor .tool li.style .layer li button span{ display:block; width:130px; text-align:left; letter-spacing:normal;}
.xpress-editor .tool li.style .layer li.h3 button span{ padding:3px 0 1px 4px; height:15px; _height /**/:19px; font-size:16px; font-weight:bold;}
.xpress-editor .tool li.style .layer li.h4 button span{ padding:3px 0 2px 4px; height:13px; _height /**/:18px; font-size:14px; font-weight:bold;}
.xpress-editor .tool li.style .layer li.h5 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; font-weight:bold;}
.xpress-editor .tool li.style .layer li.h6 button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px;}
.xpress-editor .tool li.style .layer li.p button span{ padding:3px 0 1px 4px; height:11px; _height /**/:15px; font-size:12px; color:#5d5d5d;}
.xpress-editor .tool li.style .layer li button.hover{ background:#c1f471; *height:1%;}
.xpress-editor .tool li.blockquote .layer{ padding:6px 5px 6px 7px; left:0; width:288px;}
.xpress-editor .tool li.blockquote .layer ul{ *zoom:1; margin:0;}
.xpress-editor .tool li.blockquote .layer ul:after{ content:""; display:block; clear:both;}
.xpress-editor .tool li.blockquote .layer li{ position:relative; float:left; overflow:hidden; width:32px; height:34px; margin:0 2px 0 0; border:1px solid #cdcecc; background-image:url(../img/btn_qmark.gif); background-repeat:no-repeat;}
.xpress-editor .tool li.blockquote .layer li.q1{ background-position:0 0;}
.xpress-editor .tool li.blockquote .layer li.q2{ background-position:-32px 0;}
.xpress-editor .tool li.blockquote .layer li.q3{ background-position:-64px 0;}
.xpress-editor .tool li.blockquote .layer li.q4{ background-position:-96px 0;}
.xpress-editor .tool li.blockquote .layer li.q5{ background-position:-128px 0;}
.xpress-editor .tool li.blockquote .layer li.q6{ background-position:-160px 0;}
.xpress-editor .tool li.blockquote .layer li.q7{ background-position:-192px 0;}
.xpress-editor .tool li.blockquote .layer li.q8{ background-position:-224px 0;}
.xpress-editor .tool li.blockquote .layer li button{ width:32px; height:34px;}
.xpress-editor .tool li.url .layer{ width:231px; height:125px; background-image:url(../img/bx_url.gif); background-repeat:no-repeat; background-position:10px 14px;}
.xpress-editor .tool li.url .layer fieldset{ position:absolute; width:212px; left:10px; top:14px;}
.xpress-editor .tool li.url .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;}
.xpress-editor .tool li.url .layer fieldset input.link{ position:absolute; left:12px; top:19px; width:179px; padding:2px 0 1px 6px; *margin:-1px 0; font-size:11px; height:13px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.url .layer fieldset p{ position:absolute; left:12px; top:44px;}
.xpress-editor .tool li.url .layer fieldset p input{ width:13px; height:13px; vertical-align:middle; margin-right:3px;}
.xpress-editor .tool li.url .layer .btn_area{ position:absolute; bottom:12px; padding:0;}
.xpress-editor .tool li.table .layer{ width:242px; height:239px; background-image:url(../img/bx_table.gif); background-repeat:no-repeat; background-position:10px 14px;}
.xpress-editor .tool li.table .layer fieldset{ position:absolute; width:222px; left:10px;}
.xpress-editor .tool li.table .layer fieldset h3{ position:absolute; top:-4px; left:15px; color:#404040; visibility:visible; font-size:12px; line-height:normal; width:auto; height:auto; background:none; margin:0; padding:0; font-weight:normal;}
.xpress-editor .tool li.table .layer fieldset dl{ position:absolute; left:10px;}
.xpress-editor .tool li.table .layer fieldset dt{ float:left; padding:3px 0 0 0; height:20px; white-space:nowrap; letter-spacing:-1px;}
.xpress-editor .tool li.table .layer fieldset dd{ float:right; position:relative;}
.xpress-editor .tool li.table .layer fieldset dd button.add,
.xpress-editor .tool li.table .layer fieldset dd button.del{ position:absolute; left:27px; width:15px; height:8px; background:url(../img/btn_layer_cell_adjust.gif) no-repeat;}
.xpress-editor .tool li.table .layer fieldset dd button.add{ top:1px;}
.xpress-editor .tool li.table .layer fieldset dd button.del{ top:9px; background-position:0 -8px;}
.xpress-editor .tool li.table .layer fieldset dd .preview_palette{ display:block; float:left; margin:0 3px 0 0; padding:2px; position:relative; border:1px solid #c8c9c6; width:14px; height:14px; overflow:hidden;}
.xpress-editor .tool li.table .layer fieldset dd .preview_palette button{ width:14px; height:14px; font-size:500px; line-height:0;}
.xpress-editor .tool li.table .layer fieldset dd .find_palette{ width:33px; height:20px; background:url(../img/btn_search.gif) no-repeat;}
.xpress-editor .tool li.table .layer fieldset.num{ top:14px;}
.xpress-editor .tool li.table .layer fieldset.num dl{ top:18px; width:60px;}
.xpress-editor .tool li.table .layer fieldset.num dt{ height:20px;}
.xpress-editor .tool li.table .layer fieldset.num dd{ height:23px;}
.xpress-editor .tool li.table .layer fieldset.num dt label{ font-size:11px; color:#333;}
.xpress-editor .tool li.table .layer fieldset.num dd input{ padding:3px 0 0 6px; *margin:-1px 0; width:35px; height:13px; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.table .layer fieldset.color{ top:96px;}
.xpress-editor .tool li.table .layer fieldset.color dl{ top:18px; width:210px;}
.xpress-editor .tool li.table .layer fieldset.color dt{ height:23px;}
.xpress-editor .tool li.table .layer fieldset.color dd{ height:26px; width:146px;}
.xpress-editor .tool li.table .layer fieldset.color dt label{ font-size:11px; color:#333;}
.xpress-editor .tool li.table .layer fieldset.color dd input{ padding:3px 0 0 6px; *margin:-1px 0; font-size:11px; border:1px solid #818181; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_width{ width:35px; height:13px;}
.xpress-editor .tool li.table .layer fieldset.color dd input#table_border_color,
.xpress-editor .tool li.table .layer fieldset.color dd input#table_bg_color{ width:70px; height:15px; *margin-right:3px;}
.xpress-editor .tool li.table .layer table{ position:absolute; top:18px; left:75px; width:137px; height:40px; table-layout:fixed;}
.xpress-editor .tool li.table .layer table *{ font-size:0; line-height:0;}
.xpress-editor .tool li.table .layer table th,
.xpress-editor .tool li.table .layer table td{ text-align:center;}
.xpress-editor .tool li.table .layer .btn_area{ position:absolute; bottom:12px; padding:0; z-index:1;}
.xpress-editor .tool li.table .layer .palette{ display:none; position:absolute; z-index:2; left:11px; width:204px; padding:8px 7px 7px 7px; _padding-right:6px; background-color:#fbfbfb; border:1px solid #c5c5c5; border-right:1px solid #9f9f9f; border-bottom:1px solid #9f9f9f;}
.xpress-editor .tool li.table .layer.p1 .palette{ display:block; top:163px;}
.xpress-editor .tool li.table .layer.p2 .palette{ display:block; top:189px;}
.xpress-editor .tool li.character .layer{ width:433px; height:242px; overflow:hidden;}
.xpress-editor .tool li.character .layer ul{ margin:0;}
.xpress-editor .tool li.character .layer h3{position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool li.character .layer .nav{ position:absolute; top:11px; left:-1px; overflow:hidden; white-space:nowrap;}
.xpress-editor .tool li.character .layer .nav li{ display:inline; margin:0 -4px 0 0; padding:0 8px; background:url(../img/vr_layer_character.gif) no-repeat 0 0;}
.xpress-editor .tool li.character .layer .nav li a{ color:#444; text-decoration:none; letter-spacing:-1px;}
.xpress-editor .tool li.character .layer .nav li a:hover,
.xpress-editor .tool li.character .layer .nav li a:active,
.xpress-editor .tool li.character .layer .nav li a:focus{ text-decoration:underline;}
.xpress-editor .tool li.character .layer .nav li a.on{ font-weight:bold; color:#004790; display:inline;}
.xpress-editor .tool li.character .layer .list{ position:absolute; left:7px; top:30px; width:421px; height:172px; background:url(../img/bx_character.gif) no-repeat;}
.xpress-editor .tool li.character .layer .list li{ position:relative; top:1px; left:1px; float:left; width:20px; height:18px; margin:0 1px 1px 0;}
.xpress-editor .tool li.character .layer .list li button{ width:20px; height:18px;}
.xpress-editor .tool li.character .layer .list li button.hover{ border:2px solid #27c11a;}
.xpress-editor .tool li.character .layer .list li button span{ overflow:visible; font-size:12px; width:auto; height:auto; position:relative; visibility:visible; line-height:normal;}
.xpress-editor .tool li.character .layer p{ position:absolute; top:212px; left:7px;}
.xpress-editor .tool li.character .layer p *{ vertical-align:top;}
.xpress-editor .tool li.character .layer p label{ position:relative; top:4px; margin:0 7px 0 0; color:#333; letter-spacing:-1px;}
.xpress-editor .tool li.character .layer p input{ padding:3px 0 0 4px; margin:0 4px 0 0; width:300px; _width /**/:306px; height:16px; _height /**/:20px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.character .layer p button{ position:relative; *top:1px; width:38px; height:21px; background:url(../img/btn_layer_confirm.gif) no-repeat;}
.xpress-editor .tool li.character .layer p button span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;}
.xpress-editor .tool li.find .layer{ width:242px;}
.xpress-editor .tool li.find .layer h3{ background:#f2f2f2; color:#333; height:21px; margin:0 0 11px 0; padding:7px 0 0 5px;}
.xpress-editor .tool li.find .layer .menu_tab{ position:relative; z-index:20; width:100%; *zoom:1;}
.xpress-editor .tool li.find .layer .menu_tab:after{ content:""; display:block; clear:both;}
.xpress-editor .tool li.find .layer .layer_tab{ position:relative; left:10px; padding:0; margin:0; clear:both;}
.xpress-editor .tool li.find .layer .layer_tab li{ position:relative; z-index:1; float:left; margin-right:1px; background:url(../img/btn_layer_tab.gif) no-repeat 0 0;}
.xpress-editor .tool li.find .layer .layer_tab li a{ position:relative; display:block; float:left; left:2px; height:15px; padding:4px 9px 0 5px; color:#404040; text-decoration:none; background:url(../img/btn_layer_tab.gif) no-repeat right 0;}
.xpress-editor .tool li.find .layer.find .layer_tab li.tab1,
.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2{ top:-1px; margin-bottom:-1px;}
.xpress-editor .tool li.find .layer.find .layer_tab li.tab1 a,
.xpress-editor .tool li.find .layer.replace .layer_tab li.tab2 a{ height:18px;}
.xpress-editor .tool li.find .layer .container{ position:relative; z-index:1; clear:both; top:-2px;}
.xpress-editor .tool li.find .layer .container .bx{ display:none; position:relative; width:222px; left:10px; clear:both; z-index:1; background:url(../img/bx_find.gif) no-repeat;}
.xpress-editor .tool li.find .layer.find .container #find,
.xpress-editor .tool li.find .layer.replace .container #replace{ display:block;}
.xpress-editor .tool li.find .layer .bx fieldset{ position:relative; padding:13px 0 17px 11px;}
.xpress-editor .tool li.find .layer .bx fieldset *{ vertical-align:top;}
.xpress-editor .tool li.find .layer .bx label{ position:relative; top:4px; margin:0 7px 0 0; font-size:11px; letter-spacing:-1px; color:#333;}
.xpress-editor .tool li.find .layer .bx input{ padding:3px 0 0 4px; width:144px; _width /**/:150px; height:14px; _height /**/:19px; border:1px solid #acacac; border-right:1px solid #dadada; border-bottom:1px solid #dadada;}
.xpress-editor .tool li.find .layer .bx .cap{ position:absolute; left:0; bottom:0; display:block; width:222px; height:2px; _margin:0 0 -1px 0; overflow:hidden; background:#fff url(../img/bx_find.gif) no-repeat left bottom; font-size:0; line-height:0;}
.xpress-editor .tool li.find .layer .bx#replace fieldset{ height:45px; _height /**/:75px;}
.xpress-editor .tool li.find .layer .bx#replace fieldset #keyword2{ margin-bottom:6px;}
.xpress-editor .tool li.find .layer .btn_area button{ display:none; *margin:0 2px !important;}
.xpress-editor .tool li.find .layer.find .btn_area .find_next{ display:inline; width:62px; height:21px; background:url(../img/btn_layer_find_next_strong.gif) no-repeat;}
.xpress-editor .tool li.find .layer.replace .btn_area .find_next{ display:inline; width:55px; height:21px; background:url(../img/btn_layer_find_next.gif) no-repeat;}
.xpress-editor .tool li.find .layer.replace .btn_area .replace{ display:inline; width:48px; height:21px; background:url(../img/btn_layer_replace.gif) no-repeat;}
.xpress-editor .tool li.find .layer.replace .btn_area .replace_all{ display:inline; width:69px; height:21px; background:url(../img/btn_layer_replace_all.gif) no-repeat;}
.xpress-editor .tool li.find .layer .btn_area .cancel{ display:inline;}
.xpress-editor .tool li.extensions .layer{ width:auto; white-space:nowrap; padding:5px 10px;}
.xpress-editor .tool li.extensions .layer li{ margin:2px 0;}
.xpress-editor .tool li.extensions .layer li a { color:#000; text-decoration:none; }
.xpress-editor .tool li.extensions .layer li a:hover { text-decoration:underline; }
/* File Uploader */
.xpress-editor .fileUploader{ clear:both; padding-top:5px; margin-bottom:20px;}
.xpress-editor .fileUploader:after{ content:""; display:block; clear:both;}
.xpress-editor .fileUploader .preview{ float:left; width:64px; height:64px; border:1px solid #ccc;; padding:2px; margin:0 10px 5px 10px;}
.xpress-editor .fileUploader .preview.black { background-color:#000; border:1px solid #666;}
.xpress-editor .fileUploader .preview img{ display:block; width:64px; height:64px;}
.xpress-editor .fileUploader .fileListArea{ float:left; width:260px; margin:0 10px 5px 0;}
.xpress-editor .fileUploader .fileListArea select{ width:100%; height:70px; overflow:auto;}
.xpress-editor .fileUploader .fileListArea select option{ font-size:11px;}
.xpress-editor .fileUploader .fileListArea.black select { background-color:#000; border:1px solid #666;}
.xpress-editor .fileUploader .fileListArea.black select option { color:#aaa; }
.xpress-editor .fileUploader .fileUploadControl{ clear:right;}
.xpress-editor .fileUploader .fileUploadControl .button{ margin-bottom:5px;}
.xpress-editor .fileUploader .file_attach_info{ clear:right; margin:5px 0;}
/* Auto Save */
.xpress-editor .autosave_message { display:none; background: #f6ffdb; padding:6px 10px; margin:0; line-height:1;}
.xpress-editor.black .autosave_message { display:none; background:#222; padding:6px 10px; margin:0; line-height:1; color:#fff; }
.xpress-editor .input_syntax.black { background:transparent; color:#fff; }

View file

@ -28,3 +28,5 @@ body{ height:100%; background-color:transparent;}
.xpressOutput sup{ font:10px Tahoma;}
.xpressOutput sub{ font:10px Tahoma;}
.xpressOutput table td{ padding:4px;}
.xpressOutput table .xe_selected_cell{ background-color: #d6e9ff}

View file

@ -26,455 +26,462 @@
<!--%import("js/xe_interface.js",optimized=false)-->
<!-- 자동저장용 폼 -->
<!--@if($enable_autosave)-->
<input type="hidden" name="_saved_doc_title" value="{htmlspecialchars($saved_doc->title)}" />
<input type="hidden" name="_saved_doc_content" value="{htmlspecialchars($saved_doc->content)}" />
<input type="hidden" name="_saved_doc_message" value="{$lang->msg_load_saved_doc}" />
<!--@end-->
<!-- 에디터 -->
<div class="xpress-editor {$colorset}">
<div id="smart_content"> <a href="#xe_iframe" class="skip">&raquo; {$lang->edit->jumptoedit}</a>
<!-- 편집 컴포넌트 -->
<div class="tool">
<!--@if($enable_default_component)-->
<!-- 기본 컴포넌트 출력 -->
<ul class="do item">
<li class="xpress_xeditor_ui_undo undo"><button type="button" title="Ctrl+Z:{$lang->edit->undo}"><span>{$lang->edit->undo}</span></button></li>
<li class="xpress_xeditor_ui_redo redo"><button type="button" title="Ctrl+Y:{$lang->edit->redo}"><span>{$lang->edit->redo}</span></button></li>
</ul>
<ul class="type">
<li class="xpress_xeditor_ui_format">
<select class="xpress_xeditor_ui_format_select">
<option value="">{$lang->edit->header}</option>
<!--@foreach($lang->edit->header_list as $key=>$obj)-->
<option value="{$key}">{$obj}</option>
<!--@end-->
</select>
</li>
<li class="xpress_xeditor_ui_fontName">
<select class="xpress_xeditor_ui_fontName_select">
<option value="">{$lang->edit->fontname}</option>
<!--@foreach($lang->edit->fontlist as $key=>$obj)-->
<option value="{$key}" style="font-family:{$key}">{$obj}</option>
<!--@end-->
</select>
</li>
<li class="xpress_xeditor_ui_fontSize">
<select class="xpress_xeditor_ui_fontSize_select">
<option value="">{$lang->edit->fontsize}</option>
<option value="9px" style="font-size:9px">9px</option>
<option value="10px" style="font-size:10px">10px</option>
<option value="11px" style="font-size:11px">11px</option>
<option value="12px" style="font-size:12px">12px</option>
<option value="13px" style="font-size:13px">13px</option>
<option value="14px" style="font-size:14px">14px</option>
<option value="16px" style="font-size:16px">16px</option>
<option value="18px" style="font-size:18px">18px</option>
<option value="24px" style="font-size:24px">24px</option>
<option value="32px" style="font-size:32px">32px</option>
</select>
</li>
<li class="xpress_xeditor_ui_lineHeight">
<select class="xpress_xeditor_ui_lineHeight_select">
<option value="">{$lang->edit->lineheight}</option>
<option value="1">100%</option>
<option value="1.2">120%</option>
<option value="1.4">140%</option>
<option value="1.6">160%</option>
<option value="1.8">180%</option>
<option value="2">200%</option>
</select>
</li>
</ul>
<ul class="style">
<li class="bold xpress_xeditor_ui_bold">
<button type="button" title="Ctrl+B:{$lang->edit->help_bold}"><span>{$lang->edit->bold}</span></button>
</li>
<li class="underline xpress_xeditor_ui_underline">
<button type="button" title="Ctrl+U:{$lang->edit->help_underline}"><span>{$lang->edit->underline}</span></button>
</li>
<li class="italic xpress_xeditor_ui_italic">
<button type="button" title="Ctrl+I:{$lang->edit->help_italic}"><span>{$lang->edit->italic}</span></button>
</li>
<li class="del xpress_xeditor_ui_lineThrough">
<button type="button" title="Ctrl+D:{$lang->edit->help_strike}"><span>{$lang->edit->strike}</span></button>
</li>
<li class="fcolor xpress_xeditor_ui_fontColor">
<button type="button" title="{$lang->edit->help_fontcolor}"><span>{$lang->edit->fontcolor}</span></button>
<!-- 팔레트 레이어 -->
<div class="layer xpress_xeditor_fontcolor_layer" style="display:none;">
<ul class="palette xpress_xeditor_color_palette">
<li><button type="button" title="#ff0000" style="background:#ff0000"><span>#ff0000</span></button></li>
<li><button type="button" title="#ff6c00" style="background:#ff6c00"><span>#ff6c00</span></button></li>
<li><button type="button" title="#ffaa00" style="background:#ffaa00"><span>#ffaa00</span></button></li>
<li><button type="button" title="#ffef00" style="background:#ffef00"><span>#ffef00</span></button></li>
<li><button type="button" title="#a6cf00" style="background:#a6cf00"><span>#a6cf00</span></button></li>
<li><button type="button" title="#009e25" style="background:#009e25"><span>#009e25</span></button></li>
<li><button type="button" title="#00b0a2" style="background:#00b0a2"><span>#00b0a2</span></button></li>
<li><button type="button" title="#0075c8" style="background:#0075c8"><span>#0075c8</span></button></li>
<li><button type="button" title="#3a32c3" style="background:#3a32c3"><span>#3a32c3</span></button></li>
<li><button type="button" title="#7820b9" style="background:#7820b9"><span>#7820b9</span></button></li>
<li><button type="button" title="#ef007c" style="background:#ef007c"><span>#ef007c</span></button></li>
<li><button type="button" title="#000000" style="background:#000000"><span>#000000</span></button></li>
<li><button type="button" title="#252525" style="background:#252525"><span>#252525</span></button></li>
<li><button type="button" title="#464646" style="background:#464646"><span>#464646</span></button></li>
<li><button type="button" title="#636363" style="background:#636363"><span>#636363</span></button></li>
<li><button type="button" title="#7d7d7d" style="background:#7d7d7d"><span>#7d7d7d</span></button></li>
<li><button type="button" title="#9a9a9a" style="background:#9a9a9a"><span>#9a9a9a</span></button></li>
<li><button type="button" title="#ffe8e8" style="background:#ffe8e8"><span>#ffe8e8</span></button></li>
<li><button type="button" title="#f7e2d2" style="background:#f7e2d2"><span>#f7e2d2</span></button></li>
<li><button type="button" title="#f5eddc" style="background:#f5eddc"><span>#f5eddc</span></button></li>
<li><button type="button" title="#f5f4e0" style="background:#f5f4e0"><span>#f5f4e0</span></button></li>
<li><button type="button" title="#edf2c2" style="background:#edf2c2"><span>#edf2c2</span></button></li>
<li><button type="button" title="#def7e5" style="background:#def7e5"><span>#def7e5</span></button></li>
<li><button type="button" title="#d9eeec" style="background:#d9eeec"><span>#d9eeec</span></button></li>
<li><button type="button" title="#c9e0f0" style="background:#c9e0f0"><span>#c9e0f0</span></button></li>
<li><button type="button" title="#d6d4eb" style="background:#d6d4eb"><span>#d6d4eb</span></button></li>
<li><button type="button" title="#e7dbed" style="background:#e7dbed"><span>#e7dbed</span></button></li>
<li><button type="button" title="#f1e2ea" style="background:#f1e2ea"><span>#f1e2ea</span></button></li>
<li><button type="button" title="#acacac" style="background:#acacac"><span>#acacac</span></button></li>
<li><button type="button" title="#c2c2c2" style="background:#c2c2c2"><span>#c2c2c2</span></button></li>
<li><button type="button" title="#cccccc" style="background:#cccccc"><span>#cccccc</span></button></li>
<li><button type="button" title="#e1e1e1" style="background:#e1e1e1"><span>#e1e1e1</span></button></li>
<li><button type="button" title="#ebebeb" style="background:#ebebeb"><span>#ebebeb</span></button></li>
<li><button type="button" title="#ffffff" style="background:#ffffff"><span>#ffffff</span></button></li>
<li><button type="button" title="#e97d81" style="background:#e97d81"><span>#e97d81</span></button></li>
<li><button type="button" title="#e19b73" style="background:#e19b73"><span>#e19b73</span></button></li>
<li><button type="button" title="#d1b274" style="background:#d1b274"><span>#d1b274</span></button></li>
<li><button type="button" title="#cfcca2" style="background:#cfcca2"><span>#cfcca2</span></button></li>
<li><button type="button" title="#cfcca2" style="background:#cfcca2"><span>#cfcca2</span></button></li>
<li><button type="button" title="#61b977" style="background:#61b977"><span>#61b977</span></button></li>
<li><button type="button" title="#53aea8" style="background:#53aea8"><span>#53aea8</span></button></li>
<li><button type="button" title="#518fbb" style="background:#518fbb"><span>#518fbb</span></button></li>
<li><button type="button" title="#6a65bb" style="background:#6a65bb"><span>#6a65bb</span></button></li>
<li><button type="button" title="#9a54ce" style="background:#9a54ce"><span>#9a54ce</span></button></li>
<li><button type="button" title="#e573ae" style="background:#e573ae"><span>#e573ae</span></button></li>
<li><button type="button" title="#5a504b" style="background:#5a504b"><span>#5a504b</span></button></li>
<li><button type="button" title="#767b86" style="background:#767b86"><span>#767b86</span></button></li>
<li><button type="button" title="#00ffff" style="background:#00ffff"><span>#00ffff</span></button></li>
<li><button type="button" title="#00ff00" style="background:#00ff00"><span>#00ff00</span></button></li>
<li><button type="button" title="#a0f000" style="background:#a0f000"><span>#a0f000</span></button></li>
<li><button type="button" title="#ffff00" style="background:#ffff00"><span>#ffff00</span></button></li>
<li><button type="button" title="#951015" style="background:#951015"><span>#951015</span></button></li>
<li><button type="button" title="#6e391a" style="background:#6e391a"><span>#6e391a</span></button></li>
<li><button type="button" title="#785c25" style="background:#785c25"><span>#785c25</span></button></li>
<li><button type="button" title="#5f5b25" style="background:#5f5b25"><span>#5f5b25</span></button></li>
<li><button type="button" title="#4c511f" style="background:#4c511f"><span>#4c511f</span></button></li>
<li><button type="button" title="#1c4827" style="background:#1c4827"><span>#1c4827</span></button></li>
<li><button type="button" title="#0d514c" style="background:#0d514c"><span>#0d514c</span></button></li>
<li><button type="button" title="#1b496a" style="background:#1b496a"><span>#1b496a</span></button></li>
<li><button type="button" title="#2b285f" style="background:#2b285f"><span>#2b285f</span></button></li>
<li><button type="button" title="#45245b" style="background:#45245b"><span>#45245b</span></button></li>
<li><button type="button" title="#721947" style="background:#721947"><span>#721947</span></button></li>
<li><button type="button" title="#352e2c" style="background:#352e2c"><span>#352e2c</span></button></li>
<li><button type="button" title="#3c3f45" style="background:#3c3f45"><span>#3c3f45</span></button></li>
<li><button type="button" title="#00aaff" style="background:#00aaff"><span>#00aaff</span></button></li>
<li><button type="button" title="#0000ff" style="background:#0000ff"><span>#0000ff</span></button></li>
<li><button type="button" title="#a800ff" style="background:#a800ff"><span>#a800ff</span></button></li>
<li><button type="button" title="#ff00ff" style="background:#ff00ff"><span>#ff00ff</span></button></li>
</ul>
</div>
<!-- /팔레트 레이어 -->
</li>
<li class="bcolor xpress_xeditor_ui_bgColor">
<button type="button" title="{$lang->edit->help_fontbgcolor}"><span>{$lang->edit->fontbgcolor}</span></button>
<!-- 배경색 + 팔레트 레이어 -->
<div class="layer xpress_xeditor_bgcolor_layer" style="display:none;">
<ul class="background">
<li><button type="button" title="#000000" style="background:#000000; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#9334d8" style="background:#9334d8; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ff0000" style="background:#ff0000; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#333333" style="background:#333333; color:#ffff00"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#0000ff" style="background:#0000ff; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ff6600" style="background:#ff6600; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#8e8e8e" style="background:#8e8e8e; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#009999" style="background:#009999; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ffa700" style="background:#ffa700; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ffdaed" style="background:#ffdaed; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#e4ff75" style="background:#e4ff75; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#cc9900" style="background:#cc9900; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#99dcff" style="background:#99dcff; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#a6ff4d" style="background:#a6ff4d; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ffffff" style="background:#ffffff; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
</ul>
</div>
<!-- /배경색 + 팔레트 레이어 -->
</li>
<li class="sup xpress_xeditor_ui_superscript">
<button type="button" title="{$lang->edit->help_sup}"><span>{$lang->edit->sup}</span></button>
</li>
<li class="sub xpress_xeditor_ui_subscript">
<button type="button" title="{$lang->edit->help_sub}"><span>{$lang->edit->sub}</span></button>
</li>
</ul>
<ul class="paragraph">
<li class="left xpress_xeditor_ui_justifyleft">
<button type="button" title="{$lang->edit->help_align_left}"><span>{$lang->edit->align_left}</span></button>
</li>
<li class="center xpress_xeditor_ui_justifycenter">
<button type="button" title="{$lang->edit->help_align_center}"><span>{$lang->edit->align_center}</span></button>
</li>
<li class="right xpress_xeditor_ui_justifyright">
<button type="button" title="{$lang->edit->help_align_right}"><span>{$lang->edit->align_right}</span></button>
</li>
<li class="justify xpress_xeditor_ui_justifyfull">
<button type="button" title="{$lang->edit->help_align_justify}"><span>{$lang->edit->align_justify}</span></button>
</li>
<li class="ol xpress_xeditor_ui_orderedlist">
<button type="button" title="{$lang->edit->help_list_number}"><span>{$lang->edit->list_number}</span></button>
</li>
<li class="ul xpress_xeditor_ui_unorderedlist">
<button type="button" title="{$lang->edit->help_list_bullet}"><span>{$lang->edit->list_bullet}</span></button>
</li>
<li class="outdent xpress_xeditor_ui_outdent">
<button type="button" title="Shift+Tab:{$lang->edit->help_remove_indent}"><span>{$lang->edit->help_remove_indent}</span></button>
</li>
<li class="indent xpress_xeditor_ui_indent">
<button type="button" title="Tab:{$lang->edit->help_add_indent}"><span>{$lang->edit->add_indent}</span></button>
</li>
</ul>
<ul class="extra1">
<li class="blockquote xpress_xeditor_ui_quote">
<button type="button" title="{$lang->edit->blockquote}"><span>{$lang->edit->blockquote}</span></button>
<!-- 인용 레이어 -->
<div class="layer xpress_xeditor_blockquote_layer" style="display:none">
<ul>
<li class="q1"><button type="button"><span>{$lang->edit->quotestyle1}</span></button></li>
<li class="q2"><button type="button"><span>{$lang->edit->quotestyle2}</span></button></li>
<li class="q3"><button type="button"><span>{$lang->edit->quotestyle3}</span></button></li>
<li class="q4"><button type="button"><span>{$lang->edit->quotestyle4}</span></button></li>
<li class="q5"><button type="button"><span>{$lang->edit->quotestyle5}</span></button></li>
<li class="q6"><button type="button"><span>{$lang->edit->quotestyle6}</span></button></li>
<li class="q7"><button type="button"><span>{$lang->edit->quotestyle7}</span></button></li>
<li class="q8"><button type="button"><span>{$lang->edit->quotestyle8}</span></button></li>
</ul>
</div>
<!-- /인용 레이어 -->
</li>
<li class="url xpress_xeditor_ui_hyperlink">
<button type="button" title="{$lang->edit->url}"><span>{$lang->edit->url}</span></button>
<!-- URL 레이어 -->
<div class="layer xpress_xeditor_hyperlink_layer" style="display:none;">
<fieldset>
<h3>{$lang->edit->hyperlink}</h3>
<input name="" class="link" type="text" value="http://" title="URL" />
<p><input name="" id="target" type="checkbox" value="" /><label for="target">{$lang->edit->target_blank}</label></p>
</fieldset>
<div class="btn_area">
<button type="button" class="confirm" title="{$lang->cmd_confirm}"><span>{$lang->cmd_confirm}</span></button>
<button type="button" class="cancel" title="{$lang->cmd_cancel}"><span>{$lang->cmd_cancel}</span></button>
</div>
</div>
<!-- /URL 레이어 -->
</li>
<li class="table xpress_xeditor_ui_table">
<button type="button" title="{$lang->edit->table}"><span>{$lang->edit->table}</span></button>
<!-- 표 레이어 -->
<div class="layer xpress_xeditor_table_layer" style="display:none;">
<fieldset class="num">
<h3>{$lang->edit->set_sel}</h3>
<dl>
<dt>
<label for="row">{$lang->edit->row}</label>
</dt>
<dd>
<input id="row" name="" type="text" maxlength="2" value="4" />
<button type="button" class="add"><span>{$lang->edit->add_one_row}</span></button>
<button type="button" class="del"><span>{$lang->edit->del_one_row}</span></button>
</dd>
<dt>
<label for="col">{$lang->edit->col}</label>
</dt>
<dd>
<input id="col" name="" type="text" maxlength="2" value="4" />
<button type="button" class="add"><span>{$lang->edit->add_one_col}</span></button>
<button type="button" class="del"><span>{$lang->edit->del_one_col}</span></button>
</dd>
</dl>
<table border="1">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</fieldset>
<fieldset class="color">
<h3>{$lang->edit->table_config}</h3>
<dl>
<dt>
<label for="table_border_width">{$lang->edit->border_width}</label>
</dt>
<dd>
<input id="table_border_width" name="" type="text" maxlength="2" value="1" />
<button type="button" class="add"><span>1px {$lang->edit->add}</span></button>
<button type="button" class="del"><span>1px {$lang->edit->del}</span></button>
</dd>
<dt>
<label for="table_border_color">{$lang->edit->border_color}</label>
</dt>
<dd>
<span class="preview_palette"><button type="button" style="background:#cccccc;">{$lang->edit->search_color}</button></span>
<input id="table_border_color" name="" type="text" maxlength="7" value="#CCCCCC" />
<button type="button" class="find_palette"><span>{$lang->edit->search_color}</span></button>
</dd>
<dt>
<label for="table_bg_color">{$lang->edit->table_backgroundcolor}</label>
</dt>
<dd>
<span class="preview_palette"><button type="button" style="background:#000000;">{$lang->edit->search_color}</button></span>
<input id="table_bg_color" name="" type="text" maxlength="7" value="#000000" />
<button type="button" class="find_palette"><span>{$lang->edit->search_color}</span></button>
</dd>
</dl>
</fieldset>
<div class="btn_area">
<button type="button" class="confirm" title="{$lang->confirm}"><span>{$lang->confirm}</span></button>
<button type="button" class="cancel" title="{$lang->cancel}"><span>{$lang->cancel}</span></button>
</div>
</div>
<!-- /표 레이어 -->
</li>
<li class="character xpress_xeditor_ui_sCharacter">
<button type="button" title="{$lang->edit->special_character}"><span>{$lang->edit->special_character}</span></button>
<!-- 특수문자 레이어 -->
<div class="layer xpress_xeditor_sCharacter_layer" style="display:none">
<h3>{$lang->edit->insert_special_character}</h3>
<button type="button" class="close" title="{$lang->edit->close_special_character}"><span>{$lang->edit->close_special_character}</span></button>
<ul class="nav">
<li><a href="#character1" class="on">{$lang->edit->symbol}</a></li>
<li><a href="#character2">{$lang->edit->number_unit}</a></li>
<li><a href="#character3">{$lang->edit->circle_bracket}</a></li>
<li><a href="#character4">{$lang->edit->korean}</a></li>
<li><a href="#character5">{$lang->edit->greece},{$lang->edit->Latin}</a></li>
<li><a href="#character6">{$lang->edit->japan}</a></li>
</ul>
<ul style="display: block;" id="character1" class="list"></ul>
<ul style="display: none;" id="character2" class="list"></ul>
<ul style="display: none;" id="character3" class="list"></ul>
<ul style="display: none;" id="character4" class="list"></ul>
<ul style="display: none;" id="character5" class="list"></ul>
<ul style="display: none;" id="character6" class="list"></ul>
<p>
<label for="preview">{$lang->edit->selected_symbol}</label>
<input id="preview" name="" type="text" />
<button type="button" title="{$lang->confirm}"><span>{$lang->confirm}</span></button>
</p>
<button type="button" class="close" title="{$lang->edit->close_special_character}"><span>{$lang->edit->close_special_character}</span></button>
</div>
<!-- /특수문자 레이어 -->
</li>
<li class="find xpress_xeditor_ui_findAndReplace">
<button type="button" title="{$lang->cmd_find}"><span>{$lang->cmd_find}</span></button>
<!-- 찾기 바꾸기 레이어 -->
<div class="layer find xpress_xeditor_findAndReplace_layer" style="display:none">
<!-- class="layer find" | class="layer replace"-->
<h3>{$lang->edit->search_replace}</h3>
<button type="button" class="close" title="{$lang->edit->close_search_replace}"><span>{$lang->edit->close_search_replace}</span></button>
<div class="menu_tab">
<ul class="layer_tab">
<li class="tab1"><a href="#find" onclick="return false">{$lang->cmd_find}</a></li>
<li class="tab2"><a href="#replace" onclick="return false">{$lang->cmd_replace}</a></li>
</ul>
</div>
<div class="container">
<div class="bx" id="find">
<fieldset>
<label for="keyword1">{$lang->edit->search_words}</label>
<input id="keyword1" name="" type="text" />
</fieldset>
<span class="cap"></span> </div>
<div class="bx" id="replace">
<fieldset>
<label for="keyword2">{$lang->edit->search_words}</label>
<input id="keyword2" name="" type="text" />
<br />
<label for="keyword3">{$lang->edit->replace_words}</label>
<input id="keyword3" name="" type="text" />
</fieldset>
</div>
</div>
<div class="btn_area">
<button type="button" class="find_next" title="{$lang->edit->next_search_words}"><span>{$lang->edit->next_search_words}</span></button>
<button type="button" class="replace" title="{$lang->cmd_replace}"><span>{$lang->cmd_replace}</span></button>
<button type="button" class="replace_all" title="{$lang->edit->replace_all}"><span>{$lang->edit->replace_all}</span></button>
</div>
<button type="button" class="close" title="{$lang->edit->close_search_replace}"><span>{$lang->edit->close_search_replace}</span></button>
</div>
<!-- /찾기 바꾸기 레이어 -->
</li>
</ul>
<!--@end-->
<!--@if($enable_component)-->
<ul class="extra2">
<!-- 확장 컴포넌트 출력 -->
<li class="extensions xpress_xeditor_ui_extension">
<span class="exButton"><button type="button" title="{$lang->edit->extension}">{$lang->edit->extension}</button></span>
<div class="layer extension2 xpress_xeditor_extension_layer" id="editorExtension_{$editor_sequence}">
<ul id="editor_component_{$editor_sequence}" class="editorComponent">
<!--@foreach($component_list as $component_name => $component)-->
<li><!--@if($component->component_icon)--><img src="../../components/{$component_name}/component_icon.gif" alt="" width="13" height="12"/> <!--@end--><a href="#" onclick="return false;" id="component_{$editor_sequence}_{$component_name}">{$component->title}</a></li>
<!--@end-->
</ul>
</div>
</li>
</ul>
<!--@end-->
<!--@if($html_mode)-->
<ul class="extra3">
<!-- HTML 모드 사용 -->
<li class="html"><span><button class="xpress_xeditor_mode_toggle_button" type="button" title="{$lang->edit->html_editor}">HTML</button></span></li>
<!--li class="preview"><span><button type="button" class="xpress_xeditor_preview_button" title="{$lang->cmd_preview}">{$lang->cmd_preview}</button></span></li-->
</ul>
<!--@end-->
</div>
<!-- 에디터 출력 -->
<div class="input_area xpress_xeditor_editing_area_container">
<textarea id="xpress-editor-{$editor_sequence}" cols="10" rows="10"></textarea>
</div>
<!--@if($enable_autosave)-->
<p class="editor_autosaved_message autosave_message" id="editor_autosaved_message_{$editor_sequence}">&nbsp;</p>
<!--@end-->
<!-- /입력 -->
<button type="button" class="input_control xpress_xeditor_editingArea_verticalResizer" title="{$lang->edit->edit_height_control}"><span>{$lang->edit->edit_height_control}</span></button>
</div>
<!--@if($allow_fileupload)-->
<!--%import("../../tpl/js/uploader.js",optimized=false)-->
<!--%import("../../tpl/js/swfupload.js",optimized=false)-->
<script type="text/javascript">//<![CDATA[
editorUploadInit(
{
<!--@if($enable_autosave)-->
<input type="hidden" name="_saved_doc_title" value="{htmlspecialchars($saved_doc->title)}" />
<input type="hidden" name="_saved_doc_content" value="{htmlspecialchars($saved_doc->content)}" />
<input type="hidden" name="_saved_doc_message" value="{$lang->msg_load_saved_doc}" />
<!--@end-->
<!-- 에디터 -->
<div class="xpress-editor">
<div id="smart_content"> <a href="#xe_iframe" class="skip">&raquo; {$lang->edit->jumptoedit}</a>
<!-- 편집 컴포넌트 -->
<div class="tool">
<!--@if($enable_default_component)-->
<!-- 기본 컴포넌트 출력 -->
<ul class="do item">
<li class="xpress_xeditor_ui_undo undo"><button type="button" title="Ctrl+Z:{$lang->edit->undo}"><span>{$lang->edit->undo}</span></button></li>
<li class="xpress_xeditor_ui_redo redo"><button type="button" title="Ctrl+Y:{$lang->edit->redo}"><span>{$lang->edit->redo}</span></button></li>
</ul>
<ul class="type">
<li class="xpress_xeditor_ui_format">
<select class="xpress_xeditor_ui_format_select">
<option value="">{$lang->edit->header}</option>
<!--@foreach($lang->edit->header_list as $key=>$obj)-->
<option value="{$key}">{$obj}</option>
<!--@end-->
</select>
</li>
<li class="xpress_xeditor_ui_fontName">
<select class="xpress_xeditor_ui_fontName_select">
<option value="">{$lang->edit->fontname}</option>
<!--@foreach($lang->edit->fontlist as $key=>$obj)-->
<option value="{$key}" style="font-family:{$key}">{$obj}</option>
<!--@end-->
</select>
</li>
<li class="xpress_xeditor_ui_fontSize">
<select class="xpress_xeditor_ui_fontSize_select">
<option value="">{$lang->edit->fontsize}</option>
<option value="9px" style="font-size:9px">9px</option>
<option value="10px" style="font-size:10px">10px</option>
<option value="11px" style="font-size:11px">11px</option>
<option value="12px" style="font-size:12px">12px</option>
<option value="13px" style="font-size:13px">13px</option>
<option value="14px" style="font-size:14px">14px</option>
<option value="16px" style="font-size:16px">16px</option>
<option value="18px" style="font-size:18px">18px</option>
<option value="24px" style="font-size:24px">24px</option>
<option value="32px" style="font-size:32px">32px</option>
</select>
</li>
<li class="xpress_xeditor_ui_lineHeight">
<select class="xpress_xeditor_ui_lineHeight_select">
<option value="">{$lang->edit->lineheight}</option>
<option value="1">100%</option>
<option value="1.2">120%</option>
<option value="1.4">140%</option>
<option value="1.6">160%</option>
<option value="1.8">180%</option>
<option value="2">200%</option>
</select>
</li>
</ul>
<ul class="style">
<li class="bold xpress_xeditor_ui_bold">
<button type="button" title="Ctrl+B:{$lang->edit->help_bold}"><span>{$lang->edit->bold}</span></button>
</li>
<li class="underline xpress_xeditor_ui_underline">
<button type="button" title="Ctrl+U:{$lang->edit->help_underline}"><span>{$lang->edit->underline}</span></button>
</li>
<li class="italic xpress_xeditor_ui_italic">
<button type="button" title="Ctrl+I:{$lang->edit->help_italic}"><span>{$lang->edit->italic}</span></button>
</li>
<li class="del xpress_xeditor_ui_lineThrough">
<button type="button" title="Ctrl+D:{$lang->edit->help_strike}"><span>{$lang->edit->strike}</span></button>
</li>
<li class="fcolor xpress_xeditor_ui_fontColor">
<button type="button" title="{$lang->edit->help_fontcolor}"><span>{$lang->edit->fontcolor}</span></button>
<!-- 팔레트 레이어 -->
<div class="layer xpress_xeditor_fontcolor_layer" style="display:none;">
<ul class="palette xpress_xeditor_color_palette">
<li><button type="button" title="#ff0000" style="background:#ff0000"><span>#ff0000</span></button></li>
<li><button type="button" title="#ff6c00" style="background:#ff6c00"><span>#ff6c00</span></button></li>
<li><button type="button" title="#ffaa00" style="background:#ffaa00"><span>#ffaa00</span></button></li>
<li><button type="button" title="#ffef00" style="background:#ffef00"><span>#ffef00</span></button></li>
<li><button type="button" title="#a6cf00" style="background:#a6cf00"><span>#a6cf00</span></button></li>
<li><button type="button" title="#009e25" style="background:#009e25"><span>#009e25</span></button></li>
<li><button type="button" title="#00b0a2" style="background:#00b0a2"><span>#00b0a2</span></button></li>
<li><button type="button" title="#0075c8" style="background:#0075c8"><span>#0075c8</span></button></li>
<li><button type="button" title="#3a32c3" style="background:#3a32c3"><span>#3a32c3</span></button></li>
<li><button type="button" title="#7820b9" style="background:#7820b9"><span>#7820b9</span></button></li>
<li><button type="button" title="#ef007c" style="background:#ef007c"><span>#ef007c</span></button></li>
<li><button type="button" title="#000000" style="background:#000000"><span>#000000</span></button></li>
<li><button type="button" title="#252525" style="background:#252525"><span>#252525</span></button></li>
<li><button type="button" title="#464646" style="background:#464646"><span>#464646</span></button></li>
<li><button type="button" title="#636363" style="background:#636363"><span>#636363</span></button></li>
<li><button type="button" title="#7d7d7d" style="background:#7d7d7d"><span>#7d7d7d</span></button></li>
<li><button type="button" title="#9a9a9a" style="background:#9a9a9a"><span>#9a9a9a</span></button></li>
<li><button type="button" title="#ffe8e8" style="background:#ffe8e8"><span>#ffe8e8</span></button></li>
<li><button type="button" title="#f7e2d2" style="background:#f7e2d2"><span>#f7e2d2</span></button></li>
<li><button type="button" title="#f5eddc" style="background:#f5eddc"><span>#f5eddc</span></button></li>
<li><button type="button" title="#f5f4e0" style="background:#f5f4e0"><span>#f5f4e0</span></button></li>
<li><button type="button" title="#edf2c2" style="background:#edf2c2"><span>#edf2c2</span></button></li>
<li><button type="button" title="#def7e5" style="background:#def7e5"><span>#def7e5</span></button></li>
<li><button type="button" title="#d9eeec" style="background:#d9eeec"><span>#d9eeec</span></button></li>
<li><button type="button" title="#c9e0f0" style="background:#c9e0f0"><span>#c9e0f0</span></button></li>
<li><button type="button" title="#d6d4eb" style="background:#d6d4eb"><span>#d6d4eb</span></button></li>
<li><button type="button" title="#e7dbed" style="background:#e7dbed"><span>#e7dbed</span></button></li>
<li><button type="button" title="#f1e2ea" style="background:#f1e2ea"><span>#f1e2ea</span></button></li>
<li><button type="button" title="#acacac" style="background:#acacac"><span>#acacac</span></button></li>
<li><button type="button" title="#c2c2c2" style="background:#c2c2c2"><span>#c2c2c2</span></button></li>
<li><button type="button" title="#cccccc" style="background:#cccccc"><span>#cccccc</span></button></li>
<li><button type="button" title="#e1e1e1" style="background:#e1e1e1"><span>#e1e1e1</span></button></li>
<li><button type="button" title="#ebebeb" style="background:#ebebeb"><span>#ebebeb</span></button></li>
<li><button type="button" title="#ffffff" style="background:#ffffff"><span>#ffffff</span></button></li>
<li><button type="button" title="#e97d81" style="background:#e97d81"><span>#e97d81</span></button></li>
<li><button type="button" title="#e19b73" style="background:#e19b73"><span>#e19b73</span></button></li>
<li><button type="button" title="#d1b274" style="background:#d1b274"><span>#d1b274</span></button></li>
<li><button type="button" title="#cfcca2" style="background:#cfcca2"><span>#cfcca2</span></button></li>
<li><button type="button" title="#cfcca2" style="background:#cfcca2"><span>#cfcca2</span></button></li>
<li><button type="button" title="#61b977" style="background:#61b977"><span>#61b977</span></button></li>
<li><button type="button" title="#53aea8" style="background:#53aea8"><span>#53aea8</span></button></li>
<li><button type="button" title="#518fbb" style="background:#518fbb"><span>#518fbb</span></button></li>
<li><button type="button" title="#6a65bb" style="background:#6a65bb"><span>#6a65bb</span></button></li>
<li><button type="button" title="#9a54ce" style="background:#9a54ce"><span>#9a54ce</span></button></li>
<li><button type="button" title="#e573ae" style="background:#e573ae"><span>#e573ae</span></button></li>
<li><button type="button" title="#5a504b" style="background:#5a504b"><span>#5a504b</span></button></li>
<li><button type="button" title="#767b86" style="background:#767b86"><span>#767b86</span></button></li>
<li><button type="button" title="#00ffff" style="background:#00ffff"><span>#00ffff</span></button></li>
<li><button type="button" title="#00ff00" style="background:#00ff00"><span>#00ff00</span></button></li>
<li><button type="button" title="#a0f000" style="background:#a0f000"><span>#a0f000</span></button></li>
<li><button type="button" title="#ffff00" style="background:#ffff00"><span>#ffff00</span></button></li>
<li><button type="button" title="#951015" style="background:#951015"><span>#951015</span></button></li>
<li><button type="button" title="#6e391a" style="background:#6e391a"><span>#6e391a</span></button></li>
<li><button type="button" title="#785c25" style="background:#785c25"><span>#785c25</span></button></li>
<li><button type="button" title="#5f5b25" style="background:#5f5b25"><span>#5f5b25</span></button></li>
<li><button type="button" title="#4c511f" style="background:#4c511f"><span>#4c511f</span></button></li>
<li><button type="button" title="#1c4827" style="background:#1c4827"><span>#1c4827</span></button></li>
<li><button type="button" title="#0d514c" style="background:#0d514c"><span>#0d514c</span></button></li>
<li><button type="button" title="#1b496a" style="background:#1b496a"><span>#1b496a</span></button></li>
<li><button type="button" title="#2b285f" style="background:#2b285f"><span>#2b285f</span></button></li>
<li><button type="button" title="#45245b" style="background:#45245b"><span>#45245b</span></button></li>
<li><button type="button" title="#721947" style="background:#721947"><span>#721947</span></button></li>
<li><button type="button" title="#352e2c" style="background:#352e2c"><span>#352e2c</span></button></li>
<li><button type="button" title="#3c3f45" style="background:#3c3f45"><span>#3c3f45</span></button></li>
<li><button type="button" title="#00aaff" style="background:#00aaff"><span>#00aaff</span></button></li>
<li><button type="button" title="#0000ff" style="background:#0000ff"><span>#0000ff</span></button></li>
<li><button type="button" title="#a800ff" style="background:#a800ff"><span>#a800ff</span></button></li>
<li><button type="button" title="#ff00ff" style="background:#ff00ff"><span>#ff00ff</span></button></li>
</ul>
</div>
<!-- /팔레트 레이어 -->
</li>
<li class="bcolor xpress_xeditor_ui_bgColor">
<button type="button" title="{$lang->edit->help_fontbgcolor}"><span>{$lang->edit->fontbgcolor}</span></button>
<!-- 배경색 + 팔레트 레이어 -->
<div class="layer xpress_xeditor_bgcolor_layer" style="display:none;">
<ul class="background">
<li><button type="button" title="#000000" style="background:#000000; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#9334d8" style="background:#9334d8; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ff0000" style="background:#ff0000; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#333333" style="background:#333333; color:#ffff00"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#0000ff" style="background:#0000ff; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ff6600" style="background:#ff6600; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#8e8e8e" style="background:#8e8e8e; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#009999" style="background:#009999; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ffa700" style="background:#ffa700; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ffdaed" style="background:#ffdaed; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#e4ff75" style="background:#e4ff75; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#cc9900" style="background:#cc9900; color:#ffffff"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#99dcff" style="background:#99dcff; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#a6ff4d" style="background:#a6ff4d; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
<li><button type="button" title="#ffffff" style="background:#ffffff; color:#000000"><span>{$lang->edit->fontbgsampletext}</span></button></li>
</ul>
</div>
<!-- /배경색 + 팔레트 레이어 -->
</li>
<li class="sup xpress_xeditor_ui_superscript">
<button type="button" title="{$lang->edit->help_sup}"><span>{$lang->edit->sup}</span></button>
</li>
<li class="sub xpress_xeditor_ui_subscript">
<button type="button" title="{$lang->edit->help_sub}"><span>{$lang->edit->sub}</span></button>
</li>
</ul>
<ul class="paragraph">
<li class="left xpress_xeditor_ui_justifyleft">
<button type="button" title="{$lang->edit->help_align_left}"><span>{$lang->edit->align_left}</span></button>
</li>
<li class="center xpress_xeditor_ui_justifycenter">
<button type="button" title="{$lang->edit->help_align_center}"><span>{$lang->edit->align_center}</span></button>
</li>
<li class="right xpress_xeditor_ui_justifyright">
<button type="button" title="{$lang->edit->help_align_right}"><span>{$lang->edit->align_right}</span></button>
</li>
<li class="justify xpress_xeditor_ui_justifyfull">
<button type="button" title="{$lang->edit->help_align_justify}"><span>{$lang->edit->align_justify}</span></button>
</li>
<li class="ol xpress_xeditor_ui_orderedlist">
<button type="button" title="{$lang->edit->help_list_number}"><span>{$lang->edit->list_number}</span></button>
</li>
<li class="ul xpress_xeditor_ui_unorderedlist">
<button type="button" title="{$lang->edit->help_list_bullet}"><span>{$lang->edit->list_bullet}</span></button>
</li>
<li class="outdent xpress_xeditor_ui_outdent">
<button type="button" title="Shift+Tab:{$lang->edit->help_remove_indent}"><span>{$lang->edit->help_remove_indent}</span></button>
</li>
<li class="indent xpress_xeditor_ui_indent">
<button type="button" title="Tab:{$lang->edit->help_add_indent}"><span>{$lang->edit->add_indent}</span></button>
</li>
</ul>
<ul class="extra1">
<li class="blockquote xpress_xeditor_ui_quote">
<button type="button" title="{$lang->edit->blockquote}"><span>{$lang->edit->blockquote}</span></button>
<!-- 인용 레이어 -->
<div class="layer xpress_xeditor_blockquote_layer" style="display:none">
<ul>
<li class="q1"><button type="button"><span>{$lang->edit->quotestyle1}</span></button></li>
<li class="q2"><button type="button"><span>{$lang->edit->quotestyle2}</span></button></li>
<li class="q3"><button type="button"><span>{$lang->edit->quotestyle3}</span></button></li>
<li class="q4"><button type="button"><span>{$lang->edit->quotestyle4}</span></button></li>
<li class="q5"><button type="button"><span>{$lang->edit->quotestyle5}</span></button></li>
<li class="q6"><button type="button"><span>{$lang->edit->quotestyle6}</span></button></li>
<li class="q7"><button type="button"><span>{$lang->edit->quotestyle7}</span></button></li>
<li class="q8"><button type="button"><span>{$lang->edit->quotestyle8}</span></button></li>
</ul>
</div>
<!-- /인용 레이어 -->
</li>
<li class="url xpress_xeditor_ui_hyperlink">
<button type="button" title="{$lang->edit->url}"><span>{$lang->edit->url}</span></button>
<!-- URL 레이어 -->
<div class="layer xpress_xeditor_hyperlink_layer" style="display:none;">
<fieldset>
<h3>{$lang->edit->hyperlink}</h3>
<input name="" class="link" type="text" value="http://" title="URL" />
<p><input name="" id="target" type="checkbox" value="" /><label for="target">{$lang->edit->target_blank}</label></p>
</fieldset>
<div class="btn_area">
<button type="button" class="confirm" title="{$lang->cmd_confirm}"><span>{$lang->cmd_confirm}</span></button>
<button type="button" class="cancel" title="{$lang->cmd_cancel}"><span>{$lang->cmd_cancel}</span></button>
</div>
</div>
<!-- /URL 레이어 -->
</li>
<li class="character xpress_xeditor_ui_sCharacter">
<button type="button" title="{$lang->edit->special_character}"><span>{$lang->edit->special_character}</span></button>
<!-- 특수문자 레이어 -->
<div class="layer xpress_xeditor_sCharacter_layer" style="display:none">
<h3>{$lang->edit->insert_special_character}</h3>
<button type="button" class="close" title="{$lang->edit->close_special_character}"><span>{$lang->edit->close_special_character}</span></button>
<ul class="nav">
<li><a href="#character1" class="on">{$lang->edit->symbol}</a></li>
<li><a href="#character2">{$lang->edit->number_unit}</a></li>
<li><a href="#character3">{$lang->edit->circle_bracket}</a></li>
<li><a href="#character4">{$lang->edit->korean}</a></li>
<li><a href="#character5">{$lang->edit->greece},{$lang->edit->Latin}</a></li>
<li><a href="#character6">{$lang->edit->japan}</a></li>
</ul>
<ul style="display: block;" id="character1" class="list"></ul>
<ul style="display: none;" id="character2" class="list"></ul>
<ul style="display: none;" id="character3" class="list"></ul>
<ul style="display: none;" id="character4" class="list"></ul>
<ul style="display: none;" id="character5" class="list"></ul>
<ul style="display: none;" id="character6" class="list"></ul>
<p>
<label for="preview">{$lang->edit->selected_symbol}</label>
<input id="preview" name="" type="text" />
<button type="button" title="{$lang->confirm}"><span>{$lang->confirm}</span></button>
</p>
<button type="button" class="close" title="{$lang->edit->close_special_character}"><span>{$lang->edit->close_special_character}</span></button>
</div>
<!-- /특수문자 레이어 -->
</li>
<li class="find xpress_xeditor_ui_findAndReplace">
<button type="button" title="{$lang->cmd_find}"><span>{$lang->cmd_find}</span></button>
<!-- 찾기 바꾸기 레이어 -->
<div class="layer find xpress_xeditor_findAndReplace_layer" style="display:none">
<!-- class="layer find" | class="layer replace"-->
<h3>{$lang->edit->search_replace}</h3>
<button type="button" class="close" title="{$lang->edit->close_search_replace}"><span>{$lang->edit->close_search_replace}</span></button>
<div class="menu_tab">
<ul class="layer_tab">
<li class="tab1"><a href="#find" onclick="return false">{$lang->cmd_find}</a></li>
<li class="tab2"><a href="#replace" onclick="return false">{$lang->cmd_replace}</a></li>
</ul>
</div>
<div class="container">
<div class="bx" id="find">
<fieldset>
<label for="keyword1">{$lang->edit->search_words}</label>
<input id="keyword1" name="" type="text" />
</fieldset>
<span class="cap"></span> </div>
<div class="bx" id="replace">
<fieldset>
<label for="keyword2">{$lang->edit->search_words}</label>
<input id="keyword2" name="" type="text" />
<br />
<label for="keyword3">{$lang->edit->replace_words}</label>
<input id="keyword3" name="" type="text" />
</fieldset>
</div>
</div>
<div class="btn_area">
<button type="button" class="find_next" title="{$lang->edit->next_search_words}"><span>{$lang->edit->next_search_words}</span></button>
<button type="button" class="replace" title="{$lang->cmd_replace}"><span>{$lang->cmd_replace}</span></button>
<button type="button" class="replace_all" title="{$lang->edit->replace_all}"><span>{$lang->edit->replace_all}</span></button>
</div>
<button type="button" class="close" title="{$lang->edit->close_search_replace}"><span>{$lang->edit->close_search_replace}</span></button>
</div>
<!-- /찾기 바꾸기 레이어 -->
</li>
</ul>
<!--@end-->
<ul class="table">
<li class="table xpress_xeditor_ui_table">
<button type="button" title="{$lang->edit->table}"><span>{$lang->edit->table}</span></button>
<!-- 표 레이어 -->
<div class="layer xpress_xeditor_table_layer" style="display:none;">
<fieldset class="num">
<h3>{$lang->edit->set_sel}</h3>
<dl>
<dt>
<label for="row">{$lang->edit->row}</label>
</dt>
<dd>
<input id="row" name="" type="text" maxlength="2" value="4" />
<button type="button" class="add"><span>{$lang->edit->add_one_row}</span></button>
<button type="button" class="del"><span>{$lang->edit->del_one_row}</span></button>
</dd>
<dt>
<label for="col">{$lang->edit->col}</label>
</dt>
<dd>
<input id="col" name="" type="text" maxlength="2" value="4" />
<button type="button" class="add"><span>{$lang->edit->add_one_col}</span></button>
<button type="button" class="del"><span>{$lang->edit->del_one_col}</span></button>
</dd>
</dl>
<table border="1">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</fieldset>
<fieldset class="color">
<h3>{$lang->edit->table_config}</h3>
<dl>
<dt>
<label for="table_border_width">{$lang->edit->border_width}</label>
</dt>
<dd>
<input id="table_border_width" name="" type="text" maxlength="2" value="1" />
<button type="button" class="add"><span>1px {$lang->edit->add}</span></button>
<button type="button" class="del"><span>1px {$lang->edit->del}</span></button>
</dd>
<dt>
<label for="table_border_color">{$lang->edit->border_color}</label>
</dt>
<dd>
<span class="preview_palette"><button type="button" style="background:#cccccc;">{$lang->edit->search_color}</button></span>
<input id="table_border_color" name="" type="text" maxlength="7" value="#CCCCCC" />
<button type="button" class="find_palette"><span>{$lang->edit->search_color}</span></button>
</dd>
<dt>
<label for="table_bg_color">{$lang->edit->table_backgroundcolor}</label>
</dt>
<dd>
<span class="preview_palette"><button type="button" style="background:#000000;">{$lang->edit->search_color}</button></span>
<input id="table_bg_color" name="" type="text" maxlength="7" value="#000000" />
<button type="button" class="find_palette"><span>{$lang->edit->search_color}</span></button>
</dd>
</dl>
</fieldset>
<div class="btn_area">
<button type="button" class="confirm" title="{$lang->confirm}"><span>{$lang->confirm}</span></button>
<button type="button" class="cancel" title="{$lang->cancel}"><span>{$lang->cancel}</span></button>
</div>
</div>
<!-- /표 레이어 -->
</li>
<li class="merge xpress_xeditor_ui_merge_cells"><button type="button" title="{$lang->edit->merge_cells}"><span>{$lang->edit->merge_cells}</span></button></li>
<li class="splitCol xpress_xeditor_ui_split_col"><button type="button" title="{$lang->edit->split_col}"><span>{$lang->edit->split_col}</span></button></li>
<li class="splitRow xpress_xeditor_ui_split_row"><button type="button" title="{$lang->edit->split_row}"><span>{$lang->edit->split_row}</span></button></li>
</ul>
<!--@if($enable_component)-->
<ul class="extra2">
<!-- 확장 컴포넌트 출력 -->
<li class="extensions xpress_xeditor_ui_extension">
<span class="exButton"><button type="button" title="{$lang->edit->extension}">{$lang->edit->extension}</button></span>
<div class="layer extension2 xpress_xeditor_extension_layer" id="editorExtension_{$editor_sequence}">
<ul id="editor_component_{$editor_sequence}" class="editorComponent">
<!--@foreach($component_list as $component_name => $component)-->
<li><a href="#" onclick="return false;" id="component_{$editor_sequence}_{$component_name}">{$component->title}</a></li>
<!--@end-->
</ul>
</div>
</li>
</ul>
<!--@end-->
<!--@if($html_mode)-->
<ul class="extra3">
<!-- HTML 모드 사용 -->
<li class="html"><span><button class="xpress_xeditor_mode_toggle_button" type="button" title="{$lang->edit->html_editor}">{$lang->edit->html_editor}</button></span></li>
<!--li class="preview"><span><button type="button" class="xpress_xeditor_preview_button" title="{$lang->cmd_preview}">{$lang->cmd_preview}</button></span></li-->
</ul>
<!--@end-->
</div>
<!-- 에디터 출력 -->
<div class="input_area xpress_xeditor_editing_area_container">
<textarea id="xpress-editor-{$editor_sequence}" cols="10" rows="10"></textarea>
</div>
<!--@if($enable_autosave)-->
<p class="editor_autosaved_message autosave_message" id="editor_autosaved_message_{$editor_sequence}">&nbsp;</p>
<!--@end-->
<!-- /입력 -->
<button type="button" class="input_control xpress_xeditor_editingArea_verticalResizer" title="{$lang->edit->edit_height_control}"><span>{$lang->edit->edit_height_control}</span></button>
</div>
<!--@if($allow_fileupload)-->
<!--%import("../../tpl/js/uploader.js",optimized=false)-->
<!--%import("../../tpl/js/swfupload.js",optimized=false)-->
<script type="text/javascript">//<![CDATA[
editorUploadInit(
{
"editorSequence" : {$editor_sequence},
"sessionName" : "{session_name()}",
"allowedFileSize" : "{$file_config->allowed_filesize}",
@ -486,29 +493,29 @@
"previewAreaID" : "preview_uploaded_{$editor_sequence}",
"uploaderStatusID" : "uploader_status_{$editor_sequence}"
}
);
//]]></script>
<!-- 파일 업로드 영역 -->
<div id="fileUploader_{$editor_sequence}" class="fileUploader">
<div class="preview {$editor_class}" id="preview_uploaded_{$editor_sequence}"></div>
<div class="fileListArea {$editor_class}">
<select id="uploaded_file_list_{$editor_sequence}" multiple="multiple" class="fileList" title="Attached File List"><option></option></select>
</div>
<div class="fileUploadControl">
<span class="button {$editor_class}" id="swfUploadButton{$editor_sequence}"><button type="button">{$lang->edit->upload_file}</button></span>
<span class="button {$editor_class}"><button type="button" onclick="removeUploadedFile('{$editor_sequence}');return false;">{$lang->edit->delete_selected}</button></span>
<span class="button {$editor_class}"><button type="button" onclick="insertUploadedFile('{$editor_sequence}');return false;">{$lang->edit->link_file}</button></span>
</div>
<div class="file_attach_info" id="uploader_status_{$editor_sequence}">{$upload_status}</div>
</div>
<!--@end-->
</div>
);
//]]></script>
<!-- 파일 업로드 영역 -->
<div id="fileUploader_{$editor_sequence}" class="fileUploader">
<div class="preview {$editor_class}" id="preview_uploaded_{$editor_sequence}"></div>
<div class="fileListArea {$editor_class}">
<select id="uploaded_file_list_{$editor_sequence}" multiple="multiple" class="fileList" title="Attached File List"><option></option></select>
</div>
<div class="fileUploadControl">
<span class="button {$editor_class}" id="swfUploadButton{$editor_sequence}"><button type="button">{$lang->edit->upload_file}</button></span>
<span class="button {$editor_class}"><button type="button" onclick="removeUploadedFile('{$editor_sequence}');return false;">{$lang->edit->delete_selected}</button></span>
<span class="button {$editor_class}"><button type="button" onclick="insertUploadedFile('{$editor_sequence}');return false;">{$lang->edit->link_file}</button></span>
</div>
<div class="file_attach_info" id="uploader_status_{$editor_sequence}">{$upload_status}</div>
</div>
<!--@end-->
</div>
<!-- 에디터 활성화 -->
<script type="text/javascript">//<![CDATA[
var editor_path = "{$editor_path}";
var auto_saved_msg = "{$lang->msg_auto_saved}";
var oEditor = editorStart_xe("{$editor_sequence}", "{$editor_primary_key_name}", "{$editor_content_key_name}", "{$editor_height}");
//]]></script>
<!-- 에디터 활성화 -->
<script type="text/javascript">//<![CDATA[
var editor_path = "{$editor_path}";
var auto_saved_msg = "{$lang->msg_auto_saved}";
var oEditor = editorStart_xe("{$editor_sequence}", "{$editor_primary_key_name}", "{$editor_content_key_name}", "{$editor_height}","{$colorset}");
//]]></script>
<!--@end-->
<!--@end-->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

View file

@ -2406,7 +2406,7 @@ xe.DialogLayerManager = jQuery.Class({
bModal = jQuery.$(bModal) || false;
if(!oLayer) return;
//if(jQuery.inArray(oLayer, this.aOpenedLayers)) return;
if(jQuery.inArray(oLayer, this.aOpenedLayers)) return;
this.oApp.exec("POSITION_DIALOG_LAYER", [oLayer]);
@ -4819,13 +4819,13 @@ xe.XE_FindReplacePlugin = jQuery.Class({
this.oReplaceInput_Replacement = oTmp[1];
this.oFindNextButton = jQuery("BUTTON.find_next", this.oUILayer).get(0);
//this.oCancelButton = jQuery("BUTTON.cancel", this.oUILayer).get(0);
this.oCancelButton = jQuery("BUTTON.cancel", this.oUILayer).get(0);
this.oReplaceButton = jQuery("BUTTON.replace", this.oUILayer).get(0);
this.oReplaceAllButton = jQuery("BUTTON.replace_all", this.oUILayer).get(0);
this.aCloseButtons = jQuery("BUTTON.close", this.oUILayer).get();
//this.aCloseButtons[this.aCloseButtons.length] = this.oCancelButton;
this.aCloseButtons[this.aCloseButtons.length] = this.oCancelButton;
},
$ON_MSG_APP_READY : function(){
@ -5424,7 +5424,9 @@ var
regex_style = /style\s*=\s*(?:\s*"(.*?)"|\s*'(.*?)'|([^\s>]+))/i,
regex_font_weight = /font-weight\s*:\s*([a-z]+);?/i,
regex_font_style = /font-style\s*:\s*italic;?/i,
regex_font_decoration = /text-decoration\s*:\s*([a-z -]+);?/i;
regex_font_decoration = /text-decoration\s*:\s*([a-z -]+);?/i,
regex_jquery = /jQuery\d+\s*=(\s*"\d+"|\d+)/g,
regex_quote_attr = /([\w-]+)=([\w-]+)/g;
var
allow_tags = 'a,abbr,acronym,address,area,blockquote,br,caption,center,cite,code,col,colgroup,dd,del,dfn,div,dl,dt,em,embed,h1,h2,h3,h4,h5,h6,hr,img,ins,kbd,li,map,object,ol,p,param,pre,q,samp,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,u,ul,var'.split(','),
@ -5469,6 +5471,14 @@ xe.XE_XHTMLFormatter = $.Class({
// remove all scripts
sContent = sContent.replace(regex_script, '');
if (jQuery.browser.msie) {
// remove jQuery attributes
sContent = sContent.replace(regex_jquery, '');
// quote all attrs
sContent = sContent.replace(regex_quote_attr, '$1="$2"');
}
// remove all useless tag and enclose tags
regex = /<(\/)?([:\w\/-]+)(.*?)>/ig;
@ -5828,7 +5838,7 @@ xe.XE_Table = jQuery.Class({
var rowspan = all_rows.index(end_tr.get(0)) - all_rows.index(start_tr.get(0)) + this._getSpan(cell.eq(cell.length-1), 'row');
// 첫번째 셀 colspan, rowspan 속성 지정
cell.eq(0).attr('colspan', colspan).attr('rowspan', rowspan);
cell.eq(0).attr('colSpan', colspan).attr('rowSpan', rowspan);
// 첫번째 셀을 제외한 다른 모든 셀 제거
cell.slice(1).remove();
@ -5865,14 +5875,15 @@ xe.XE_Table = jQuery.Class({
// rowspan > 1이면 현재 셀의 rowspan을 절반으로 분할한다.
if (rowspan > 1) {
topspan = Math.ceil(rowspan/2);
botspan = rowspan - topspan;
queue.push(function(){
(topspan > 1)?t.attr('rowspan', topspan):t.removeAttr('rowspan');
t.attr('rowSpan', topspan);
});
(botspan > 1)?clone.attr('rowspan', botspan):clone.removeAttr('rowspan');
clone.attr('rowSpan', botspan);
} else {
// rowspan이 없으면 현재 셀과 영역이 겹치는 모든 셀에 rowspan을 추가
cell.filter(function(){
@ -5891,14 +5902,17 @@ xe.XE_Table = jQuery.Class({
// rowspan 1 추가
queue.push(function(){
tt.attr('rowspan', sp);
tt.attr('rowSpan', sp);
});
});
// 새 줄을 추가한다.
row.after(row.clone().empty());
clone.removeAttr('rowspan');
if (jQuery.browser.msie) {
// Fix bug for IE
row.after(row.clone().empty().get(0).outerHTML);
} else {
row.after(row.clone().empty());
}
}
var rows = row.nextAll('tr');
@ -5911,18 +5925,28 @@ xe.XE_Table = jQuery.Class({
return ( self._getRect(jQuery(this)).left > rect.left );
});
next_sib.length?next_sib.eq(0).before(clone):rows.eq(topspan-1).append(clone);
if (jQuery.browser.msie) {
next_sib.length?
next_sib.eq(0).before(clone.get(0).outerHTML):
rows.eq(topspan-1).append(clone.get(0).outerHTML);
} else {
next_sib.length?
next_sib.slice(0,1).before(clone):
rows.slice(topspan-1,1).append(clone);
}
}
// 함수를 바로 실행하면 좌표가 틀어지므로, 큐에 넣은 후 실행
jQuery.each(queue, function(){ this(); });
});
},
$ON_CELL_SPLIT_BY_COL : function(many) {
var cell = jQuery('.xe_selected_cell', this.oApp.getWYSIWYGDocument()).filter('td,th');
var table = cell.parents('table').eq(0);
var self = this;
var cell = jQuery('.xe_selected_cell', this.oApp.getWYSIWYGDocument()).filter('td,th');
var table = cell.parents('table').slice(0,1);
var self = this;
var ie_bug = [], tmpId = (new Date).getTime(), tmpStr = '';
// 선택된 셀이 없으면 종료
if (!cell.length) return;
@ -5940,22 +5964,22 @@ xe.XE_Table = jQuery.Class({
var rect = self._getRect(jQuery(this));
return !(rect.right <= _left || rect.left >= _right);
})).filter('.xe_selected_cell').each(function(){
})).filter('.xe_selected_cell').each(function(idx){
var t = jQuery(this);
var colspan = self._getSpan(t, 'col');
var clone = t.clone().html('<br />');
// colspan > 1 이면 colspan을 절반으로 분할한다.
if (colspan > 1) {
var leftspan = Math.ceil(colspan/2);
var rightspan = colspan - leftspan;
(leftspan > 1)?t.attr('colspan', leftspan):t.removeAttr('colspan');
(rightspan > 1)?clone.attr('colspan', rightspan):clone.removeAttr('colspan');
t.attr('colSpan', leftspan);
clone.attr('colSpan', rightspan);
} else {
// colspan이 없으면 현재 셀과 영역이 겹치는 모든 셀에 colspan을 추가
var rect = self._getRect(t);
cell.filter(function(){
if (t.get(0) == this) return false;
@ -5970,13 +5994,18 @@ xe.XE_Table = jQuery.Class({
var tt = jQuery(this);
// colspan 1 추가
tt.attr('colspan', self._getSpan(tt, 'col')+1);
tt.attr('colSpan', self._getSpan(tt, 'col')+1);
});
clone.removeAttr('colspan');
clone.attr('colSpan', 1);
}
t.after(clone);
if (jQuery.browser.msie) {
// Fix for IE bug
t.after(clone.get(0).outerHTML);
} else {
t.after(clone);
}
});
},
@ -6123,4 +6152,4 @@ xe.XE_Table = jQuery.Class({
return isNaN(span)?1:span;
}
}).extend(xe.XE_Table);
}).extend(xe.XE_Table);

View file

@ -21,7 +21,7 @@ function editorStart_xe(editor_sequence, primary_key, content_key, editor_height
jQuery("#xpress-editor-"+editor_sequence).val(saved_content);
}
/*
/*
// remove procFilter
if(form.comment_srl){
form.onsubmit=function(){
@ -53,8 +53,8 @@ function editorStart_xe(editor_sequence, primary_key, content_key, editor_height
oEditor.getFrame = function(){ return oWYSIWYGIFrame;}
var content = form[content_key].value;
var srcPathRegx = /src=("|\'){1}(\.\/)?(files\/attach|files\/cache|files\/faceOff|files\/member_extra_info|modules|common|widgets|widgetstyle|layouts|addons)\/([^"\']+)\.(jpg|jpeg|png|gif)("|\'){1}/g;
var hrefPathRegx = /href=("|\'){1}(\.\/)?\?([^"\']+)("|\'){1}/g;
var srcPathRegx = /src=("|\'){1}(\.\/)?(files\/attach|files\/cache|files\/faceOff|files\/member_extra_info|modules|common|widgets|widgetstyle|layouts|addons)\/([^"\']+)\.(jpg|jpeg|png|gif)("|\'){1}/g; //'
var hrefPathRegx = /href=("|\'){1}(\.\/)?\?([^"\']+)("|\'){1}/g; //'
content = content.replace(srcPathRegx, 'src="'+request_uri+'$3/$4.$5"');
content = content.replace(hrefPathRegx, 'href="'+request_uri+'?$3"');
form[content_key].value = content;
@ -86,6 +86,7 @@ function editorStart_xe(editor_sequence, primary_key, content_key, editor_height
oEditor.registerPlugin(new xe.XE_WYSIWYGStyleGetter());
oEditor.registerPlugin(new xe.MessageManager(oMessageMap));
oEditor.registerPlugin(new xe.XE_Toolbar(elAppContainer));
oEditor.registerPlugin(new xe.XE_XHTMLFormatter);
oEditor.registerPlugin(new xe.XE_GET_WYSYWYG_MODE(editor_sequence));
oEditor.registerPlugin(new xe.XE_GET_WYSYWYG_CONTENT());
@ -165,11 +166,11 @@ function editorGetIframe(srl) {
function editorReplaceHTML(iframe_obj, text) {
// 이미지 경로 재지정 (rewrite mod)
var srcPathRegx = /src=("|\'){1}(\.\/)?(files\/attach|files\/cache|files\/faceOff|files\/member_extra_info|modules|common|widgets|widgetstyle|layouts|addons)\/([^"\']+)\.(jpg|jpeg|png|gif)("|\'){1}/g;
var srcPathRegx = /src=("|\'){1}(\.\/)?(files\/attach|files\/cache|files\/faceOff|files\/member_extra_info|modules|common|widgets|widgetstyle|layouts|addons)\/([^"\']+)\.(jpg|jpeg|png|gif)("|\'){1}/g;//'
text = text.replace(srcPathRegx, 'src="'+request_uri+'$3/$4.$5"');
// href 경로 재지정 (rewrite mod)
var hrefPathRegx = /href=("|\'){1}(\.\/)?\?([^"\']+)("|\'){1}/g;
var hrefPathRegx = /href=("|\'){1}(\.\/)?\?([^"\']+)("|\'){1}/g;//'
text = text.replace(hrefPathRegx, 'href="'+request_uri+'?$3"');
var srl = parseInt(iframe_obj.id.replace(/^.*_/,''),10);
@ -198,8 +199,8 @@ xe.XE_GET_WYSYWYG_CONTENT = jQuery.Class({
},
TO_WYSIWYG_SET : function(content) {
var srcPathRegx = /src=("|\'){1}(\.\/)?(files\/attach|files\/cache|files\/faceOff|files\/member_extra_info|modules|common|widgets|widgetstyle|layouts|addons)\/([^"\']+)\.(jpg|jpeg|png|gif)("|\'){1}/g;
var hrefPathRegx = /href=("|\'){1}(\.\/)?\?([^"\']+)("|\'){1}/g;
var srcPathRegx = /src=("|\'){1}(\.\/)?(files\/attach|files\/cache|files\/faceOff|files\/member_extra_info|modules|common|widgets|widgetstyle|layouts|addons)\/([^"\']+)\.(jpg|jpeg|png|gif)("|\'){1}/g;//'
var hrefPathRegx = /href=("|\'){1}(\.\/)?\?([^"\']+)("|\'){1}/g;//'
content = content.replace(srcPathRegx, 'src="'+request_uri+'$3/$4.$5"');
content = content.replace(hrefPathRegx, 'href="'+request_uri+'?$3"');
return content;
@ -226,4 +227,4 @@ xe.XE_Preview = jQuery.Class({
$ON_EVENT_PREVIEW : function() {
// TODO : 버튼이 눌렸을 때의 동작 정의
}
});
});