Removing XEED

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9291 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-09-23 02:37:02 +00:00
parent 8952aaf023
commit 611ba925a2
8 changed files with 0 additions and 6086 deletions

View file

@ -1,367 +0,0 @@
<!--// 스킨 css 로드 -->
<!--%import("xd.css")-->
<!--// 기본 JS 로드 -->
<!--%import("../../tpl/js/editor_common.js")-->
<!--// 기본 js/언어파일 로드 -->
<!--%import("js/xeed.js")-->
<!--%import("js/xe_interface.js")-->
<!--@if($enable_autosave)-->
<!-- Auto-saving fields -->
<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-->
<!-- {{{ Editor HTML -->
<!-- XEED -->
<textarea id="xeed-{$editor_sequence}" name="{$editor_content_key_name}" cols="80" rows="10"></textarea>
<div class="xd">
<!-- tool -->
<div class="tool">
<a href="#edit" class="skip">{$lang->edit->jumptoedit}</a>
<div class="t1" cond="$allow_fileupload || $enable_component">
<button type="button" class="mo"><span>{$lang->edit->toolbar_moreless}</span></button>
<ul class="u1" cond="$allow_fileupload">
<li class="ti al">
<a href="#xdal" class="tb">
<span class="all">{$lang->edit->upload_list}</span>
<span class="img"><span>{$lang->edit->image}</span><strong>0</strong></span>
<span class="media"><span>{$lang->edit->multimedia}</span><strong>0</strong></span>
<span class="file"><span>{$lang->edit->file}</span><strong>0</strong></span>
</a>
</li>
</ul>
<!-- editor components -->
<block cond="$enable_component">
<!--@foreach($component_list as $component_name => $component)-->
<ul class="u2">
<li class="ti"><a href="{getUrl('module','editor','act','dispEditorPopup','editor_sequence', $editor_sequence, 'component', $component_name)}" target="_blank" class="tb" id="component_{$editor_sequence}_{$component_name}" title="{$component->title}">{$component->title}</a></li>
</ul>
<!--@end-->
</block>
<!-- //editor components -->
</div>
<div class="t2">
<button type="button" class="mo"><span>{$lang->edit->toolbar_moreless}</span></button>
<ul class="u1">
<li class="ti ud disable"><button type="button" class="tb ud"><span>{$lang->edit->undo} Ctrl+Z</span></button></li>
<li class="ti rd disable"><button type="button" class="tb rd da"><span>{$lang->edit->redo} Ctrl+Y</span></button></li>
</ul>
<ul class="u2">
<li class="ti hx"><button type="button" class="tb">{$lang->edit->header}</button>
<ul class="lr">
<!--@foreach($lang->edit->header_list as $key=>$obj)-->
<li class="{$key}"><button type="button" title="Ctrl+1">{$obj}</button></li>
<!--@end-->
<li class="h7"><button type="button" title="Ctrl+7">{$lang->edit->paragraph}</button></li>
</ul>
</li>
<li class="ti ff"><button type="button" class="tb">{$lang->edit->fontname}</button>
<ul class="lr">
<!--@foreach($lang->edit->fontlist as $key=>$obj)-->
<li><button type="button" style="font-family:{$key}">{$obj}</button></li>
<!--@end-->
</ul>
</li>
<li class="ti fs"><button type="button" class="tb">{$lang->edit->fontsize}</button>
<ul class="lr">
<li><button type="button">9px;10px;11px;12px;13px;14px;16px;18px;24px;32px</button></li>
</ul>
</li>
<li class="ti lh"><button type="button" class="tb">{$lang->edit->lineheight}</button>
<ul class="lr">
<li><button type="button">100%;120%;140%;160%;180%;200%</button></li>
</ul>
</li>
</ul>
<ul class="u3">
<li class="ti bd"><button type="button" class="tb bd" title="{$lang->edit->bold} (Ctrl+B)"><span>{$lang->edit->bold} Ctrl+B</span></button></li>
<li class="ti ue"><button type="button" class="tb ue" title="{$lang->edit->underline} (Ctrl+U)"><span>{$lang->edit->underline} Ctrl+U</span></button></li>
<li class="ti ic"><button type="button" class="tb ic" title="{$lang->edit->italic} (Ctrl+I)"><span>{$lang->edit->italic} Ctrl+I</span></button></li>
<li class="ti se"><button type="button" class="tb se" title="{$lang->edit->strike} (Ctrl+D)"><span>{$lang->edit->strike} Ctrl+D</span></button></li>
<li class="ti cr fc">
<button type="button" class="tb cr fc" title="{$lang->edit->fontcolor_apply}" style="background-color:#74c600"><span>{$lang->edit->fontcolor_apply}</span></button><button type="button" class="tb more" title="{$lang->edit->fontcolor_more}"><span>{$lang->edit->fontcolor_more}</span></button>
<div class="lr">
<fieldset>
<legend>{$lang->edit->fontcolor}</legend>
<ul class="ct">
<li><button type="button"><span>ff0000;ff6c00;ffaa00;ffef00;a6cf00;009e25;00b0a2;0075c8;3a32c3;7820b9;ef007c;000000;252525;464646;636363;7d7d7d;9a9a9a;ffe8e8;f7e2d2;f5eddc;f5f4e0;edf2c2;def7e5;d9eeec;c9e0f0;d6d4eb;e7dbed;f1e2ea;acacac;c2c2c2;cccccc;e1e1e1;ebebeb;ffffff;e97d81;e19b73;d1b274;cfcca2;cfcca2;61b977;53aea8;518fbb;6a65bb;9a54ce;e573ae;5a504b;767b86;00ffff;00ff00;a0f000;ffff00;951015;6e391a;785c25;5f5b25;4c511f;1c4827;0d514c;1b496a;2b285f;45245b;721947;352e2c;3c3f45;00aaff;0000ff;a800ff;ff00ff</span></button></li>
</ul>
</fieldset>
</div>
</li>
<li class="ti cr bc">
<button type="button" class="tb cr bc" title="{$lang->edit->fontbgcolor_apply}" style="background-color:#74c600"><span>{$lang->edit->fontbgcolor_apply}</span></button><button type="button" class="tb more" title="{$lang->edit->fontbgcolor_more}"><span>{$lang->edit->fontbgcolor_more}</span></button>
<div class="lr">
<fieldset>
<legend>{$lang->edit->fontbgcolor}</legend>
<ul class="cx">
<li><button type="button">000000:fff;333333:fff;666666:fff;B82200:fff;FF3000:fff;FF6947:fff;457700:fff;61A500:fff;74C600:fff;006CA7:fff;0092E0:fff;33BAFF:fff;005147:fff;006F61:fff;51A59A:fff;A1005A:fff;E60081:fff;FF2DA4:fff;DDDDDD:000;EEEEEE:000;FFFFFF:000</button></li>
</ul>
<ul class="ct">
<li><button type="button"><span>ff0000;ff6c00;ffaa00;ffef00;a6cf00;009e25;00b0a2;0075c8;3a32c3;7820b9;ef007c;000000;252525;464646;636363;7d7d7d;9a9a9a;ffe8e8;f7e2d2;f5eddc;f5f4e0;edf2c2;def7e5;d9eeec;c9e0f0;d6d4eb;e7dbed;f1e2ea;acacac;c2c2c2;cccccc;e1e1e1;ebebeb;ffffff;e97d81;e19b73;d1b274;cfcca2;cfcca2;61b977;53aea8;518fbb;6a65bb;9a54ce;e573ae;5a504b;767b86;00ffff;00ff00;a0f000;ffff00;951015;6e391a;785c25;5f5b25;4c511f;1c4827;0d514c;1b496a;2b285f;45245b;721947;352e2c;3c3f45;00aaff;0000ff;a800ff;ff00ff</span></button></li>
</ul>
</fieldset>
</div>
</li>
<li class="ti sp"><button type="button" class="tb sp" title="{$lang->edit->sup}"><span>{$lang->edit->sup}</span></button></li>
<li class="ti sb"><button type="button" class="tb sb" title="{$lang->edit->sub}"><span>{$lang->edit->sub}</span></button></li>
</ul>
<ul class="u4">
<li class="ti al"><button type="button" class="tb al" title="{$lang->edit->align_left}"><span>{$lang->edit->align_left}</span></button></li>
<li class="ti ac"><button type="button" class="tb ac" title="{$lang->edit->align_center}"><span>{$lang->edit->align_center}</span></button></li>
<li class="ti ar"><button type="button" class="tb ar" title="{$lang->edit->align_right}"><span>{$lang->edit->align_right}</span></button></li>
<li class="ti aj"><button type="button" class="tb aj" title="{$lang->edit->align_justify}"><span>{$lang->edit->align_justify}</span></button></li>
<li class="ti ol"><button type="button" class="tb ol" title="{$lang->edit->list_number}"><span>{$lang->edit->list_number}</span></button></li>
<li class="ti ul"><button type="button" class="tb ul" title="{$lang->edit->list_bullet}"><span>{$lang->edit->list_bullet}</span></button></li>
<li class="ti od disable"><button type="button" class="tb od" title="{$lang->edit->remove_indent} Ctrl+(Left Arrow Key)"><span>{$lang->edit->remove_indent} Ctrl+(Left Arrow Key)</span></button></li>
<li class="ti id"><button type="button" class="tb id" title="{$lang->edit->add_indent} Ctrl+(Right Arrow Key)"><span>{$lang->edit->add_indent} Ctrl+(Right Arrow Key)</span></button></li>
<li class="ti qm"><button type="button" class="tb qm" title="{$lang->edit->blockquote}"><span>{$lang->edit->blockquote}</span></button></li>
<li class="ti bx"><button type="button" class="tb bx" title="{$lang->edit->fieldset}"><span>{$lang->edit->fieldset}</span></button></li>
</ul>
<ul class="u5">
<li class="ti er"><button type="button" class="tb er" title="{$lang->edit->remove_format}"><span>{$lang->edit->remove_format}</span></button></li>
</ul>
<ul class="u6">
<li class="ti ur"><button type="button" class="tb ur" title="{$lang->edit->url}"><span>{$lang->edit->url}</span></button>
<div class="lr">
<fieldset>
<input name="" type="text" class="itx" title="input URL" value="http://" />
<span class="nw">
<input name="" type="checkbox" value="" class="icx" id="nw" />
<label for="nw">{$lang->edit->target_blank}</label>
</span>
<span class="btnArea">
<button type="button" class="btn strong">{$lang->cmd_apply}</button>
<button type="button" class="btn">{$lang->cmd_cancel}</button>
</span>
</fieldset>
</div>
</li>
<li class="ti te"><button type="button" class="tb te" title="{$lang->edit->table}"><span>{$lang->edit->table}</span></button>
<div class="lr">
<fieldset class="pv">
<legend>{$lang->cmd_preview}</legend>
<div class="xdcs">
<table border="1" cellpadding="1" cellspacing="0" class="ts" style="caption-side:top; width:100%;">
<caption style="text-align:left">Caption</caption>
<tr>
<td>TD</td>
<td>TD</td>
<td>TD</td>
</tr>
<tr>
<td>TD</td>
<td>TD</td>
<td>TD</td>
</tr>
<tr>
<td>TD</td>
<td>TD</td>
<td>TD</td>
</tr>
</table>
</div>
</fieldset>
<fieldset class="cn">
<legend>{$lang->edit->table_caption_position}</legend>
<div class="liow">
<label for="cn">{$lang->edit->table_caption}</label>
<input name="" type="text" id="cn" class="itx" />
<ul>
<li class="tl selected"><button type="button" title="{$lang->edit->upper_left}"><span>{$lang->edit->upper_left}</span></button></li>
<li class="tc"><button type="button" title="{$lang->edit->upper_center}"><span>{$lang->edit->upper_center}</span></button></li>
<li class="tr"><button type="button" title="{$lang->edit->upper_right}"><span>{$lang->edit->upper_right}</span></button></li>
<li class="bl"><button type="button" title="{$lang->edit->bottom_left}"><span>{$lang->edit->bottom_left}</span></button></li>
<li class="bc"><button type="button" title="{$lang->edit->bottom_center}"><span>{$lang->edit->bottom_center}</span></button></li>
<li class="br"><button type="button" title="{$lang->edit->bottom_right}"><span>{$lang->edit->bottom_right}</span></button></li>
</ul>
</div>
</fieldset>
<fieldset class="th">
<legend>{$lang->edit->table_header}</legend>
<ul>
<li class="no selected"><button type="button" title="{$lang->edit->table_header_none}"><span>{$lang->edit->table_header_none}</span></button></li>
<li class="lt"><button type="button" title="{$lang->edit->table_header_left}"><span>{$lang->edit->table_header_left}</span></button></li>
<li class="tp"><button type="button" title="{$lang->edit->table_header_top}"><span>{$lang->edit->table_header_top}</span></button></li>
<li class="bh"><button type="button" title="{$lang->edit->table_header_both}"><span>{$lang->edit->table_header_both}</span></button></li>
</ul>
</fieldset>
<fieldset class="wh">
<legend>{$lang->edit->table_size}</legend>
<table>
<tr>
<th scope="row"><label for="xdtCol">{$lang->edit->row}</label></th>
<td><input name="" type="text" id="xdtCol" class="itx" value="3" /></td>
</tr>
<tr>
<th scope="row"><label for="xdtRow">{$lang->edit->col}</label></th>
<td><input name="" type="text" id="xdtRow" class="itx" value="3" /></td>
</tr>
<tr>
<th><label for="xdtWidth">{$lang->edit->table_width}</label></th>
<td><input name="" type="text" id="xdtWidth" class="itx" value="100" /> <button type="button" class="selected">%</button> <button type="button">px</button></td>
</tr>
</table>
</fieldset>
<div class="btnArea">
<button type="button" class="btn strong" title="{$lang->cmd_apply}">{$lang->cmd_apply}</button>
<button type="button" class="btn" title="{$lang->cmd_cancel}">{$lang->cmd_cancel}</button>
</div>
</div>
</li>
<!--
<li class="ti cm disable"><button type="button" class="tb tn cm"><span>셀 합치기</span></button></li>
<li class="ti cs disable"><button type="button" class="tb tn cs"><span>열 나누기</span></button></li>
<li class="ti rs disable"><button type="button" class="tb tn rs"><span>행 나누기</span></button></li>
<li class="ti tc disable"><button type="button" class="tb tn tc"><span>목차 넣기</span></button></li>
<li class="ti fr"><button type="button" class="tb ty fr"><span>찾기/바꾸기</span></button>
<div class="lr">
<fieldset class="find">
<legend>찾기</legend>
<div class="liow">
<label for="find">찾을단어</label>
<input name="" type="text" class="itx" id="find" />
<button type="button" class="btn">찾기</button>
</div>
</fieldset>
<fieldset class="replace">
<legend>찾아 바꾸기</legend>
<div class="liow">
<label for="findAnd">찾을단어</label>
<input name="" type="text" class="itx" id="findAnd" />
<button type="button" class="btn">찾기</button>
</div>
<div class="liow">
<label for="replace">바꿀단어</label>
<input name="" type="text" class="itx" id="replace" />
<button type="button" class="btn strong">바꾸기</button>
</div>
<button type="button" class="btn strong frAll">모두 찾아 바꾸기</button>
</fieldset>
</div>
</li>
-->
</ul>
</div>
</div>
<!-- /tool -->
<!-- edit -->
<div class="edit">
<div class="xdcs" title="{$lang->edit->break_or_paragraph}"></div>
</div>
<!-- /edit -->
<!-- Time -->
<div class="time">
<p>글을 쓰기 시작한지 <strong>1시간</strong>이 지났습니다. 마지막 저장 시간은 <strong>10분 전</strong> 입니다.</p>
</div>
<!-- /Time -->
<!-- mode -->
<div class="mode">
<button type="button" class="resize" title="{$lang->edit->edit_height_control}"><span>{$lang->edit->edit_height_control}</span></button>
<div class="autoResize">
<input name="" type="checkbox" value="" class="icx" id="autoResize" />
<label for="autoResize">Auto Resize</label>
</div>
<ul>
<li class="wysiwyg active"><button type="button" class="wysiwyg" title="{$lang->edit->rich_editor}">{$lang->edit->rich_editor}</button></li>
<li class="html"><button type="button" class="html" title="{$lang->edit->html_editor}">{$lang->edit->html_editor}</button></li>
</ul>
</div>
<!-- /mode -->
</div>
<!-- /XEED -->
<!-- XD Layer Window -->
<div class="xdlw">
<!-- Attach List -->
<!--@if($allow_fileupload)-->
<!--%load_js_plugin("uploader")-->
<div class="xdal" id="xdal">
<div class="iHead">
<h2>{$lang->edit->upload_list} <em>[<strong>0</strong>]</em></h2>
<div class="btnArea fr">
<button type="button" class="btn at strong" title="{$lang->edit->upload_file}">{$lang->edit->upload_file}</button>
<button type="button" class="btn cs" title="{$lang->cmd_close}">{$lang->cmd_close}</button>
</div>
</div>
<div class="iBody">
<div class="sn img none">
<h3 class="label">{$lang->edit->image}</h3>
<p class="nofile">{$lang->edit->no_image}</p>
<ul>
<li>
<button type="button" class="ob"><img src="../../../../../../common/img/blank.gif" alt="" /></button>
<button type="button" class="ctr ins" title="{$lang->edit->link_file}"><span>{$lang->edit->link_file}</span></button>
<button type="button" class="ctr del" title="{$lang->cmd_delete}"><span>{$lang->cmd_delete}</span></button> <br />
<input name="" type="checkbox" value="" class="icx" id="img1" /> <label for="img1">@exThumbH.jpg</label>
</li>
</ul>
<p class="task">
<button type="button" class="all">{$lang->cmd_select_all}</button>
<button type="button" class="insert">{$lang->edit->insert_selected}</button>
<button type="button" class="delete">{$lang->edit->delete_selected}</button>
</p>
</div>
<div class="sn media none">
<h3 class="label">{$lang->edit->multimedia}</h3>
<p class="nofile">{$lang->edit->no_multimedia}</p>
<ul></ul>
<p class="task">
<button type="button" class="all" title="{$lang->cmd_select_all}">{$lang->cmd_select_all}</button>
<button type="button" class="insert" title="{$lang->edit->insert_selected}">{$lang->edit->insert_selected}</button>
<button type="button" class="delete">{$lang->edit->delete_selected}</button>
</p>
</div>
<div class="sn file none">
<h3 class="label">{$lang->edit->file}</h3>
<p class="nofile">{$lang->edit->no_attachment}</p>
<ul></ul>
<p class="task">
<button type="button" class="all" title="{$lang->cmd_select_all}">{$lang->cmd_select_all}</button>
<button type="button" class="insert" title="{$lang->edit->insert_selected}">{$lang->edit->insert_selected}</button>
<button type="button" class="delete">{$lang->edit->delete_selected}</button>
</p>
</div>
</div>
<div class="iFoot">
<p class="info">{$upload_status}</p>
<div class="btnArea fr">
<button type="button" class="btn at strong" title="{$lang->edit->upload_file}">{$lang->edit->upload_file}</button>
<button type="button" class="btn cs" title="{$lang->cmd_close}">{$lang->cmd_close}</button>
</div>
</div>
</div>
<!--@end-->
<!-- /Attach List -->
</div>
<!-- /XD Layer Window -->
<!-- }}} Editor HTML -->
<!-- Activate Editor -->
<script type="text/javascript">//<![CDATA[
var editor_path = '{$editor_path}';
var xeed_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}', '{$content_style}', '{$content_font}', '{$content_font_size}');
// upload settings
try {
oEditor.setOption('allowed_filesize', '{$file_config->allowed_filesize}');
oEditor.setOption('allowed_filetypes', '{$file_config->allowed_filetypes}');
} catch(e){}
window.lang = jQuery.extend(window.lang||{}, {
<!--@foreach($lang->edit as $key=>$val)-->
<!--@if(strpos($key,'autosave')===0)-->'{$key}':'{$val}',<!--@end-->
<!--@end-->
'upload_not_enough_quota':'{$lang->edit->upload_not_enough_quota}'
});
//]]></script>
<!-- // Activate Editor -->

View file

@ -1,145 +0,0 @@
(function($){
if (!window.xe) xe = {};
if (!xe.Editors) xe.Editors = [];
function editorStart_xe(editor_seq, primary_key, content_key, editor_height, colorset, content_style, content_font, content_font_size) {
var $textarea, $form, $input, saved_str, xeed, opt = {};
if(typeof(colorset)=='undefined') colorset = 'white';
if(typeof(content_style)=='undefined') content_style = 'xeStyle';
if(typeof(content_font)=='undefined') content_font= '';
if(typeof(content_font_size)=='undefined') content_font_size= '';
$textarea = $('#xeed-'+editor_seq);
$form = $($textarea[0].form).attr('editor_sequence', editor_seq);
$input = $form.find('input[name='+content_key+']');
if($input[0]) $textarea.val($input.remove().val()).attr('name', content_key);
$textarea.attr('name', content_key);
// Use auto save feature?
opt.use_autosave = !!$form[0].elements['_saved_doc_title'];
// min height
if (editor_height) opt.height = parseInt(editor_height) || 200;
// create an editor
xe.Editors[editor_seq] = xeed = new xe.Xeed($textarea, opt);
xe.registerApp(xeed);
// filters
xeed.cast('REGISTER_FILTER', ['r2t', plz_standard]);
xeed.cast('REGISTER_FILTER', ['r2t', remove_baseurl]);
xeed.cast('REGISTER_FILTER', ['r2t', unwrap_single_para]);
xeed.cast('REGISTER_FILTER', ['in', inline_styled['in']]);
xeed.cast('REGISTER_FILTER', ['out', inline_styled['out']]);
xeed.cast('REGISTER_FILTER', ['r2t', auto_br.br2ln]);
xeed.cast('REGISTER_FILTER', ['in', auto_br.br2ln]);
xeed.cast('REGISTER_FILTER', ['t2r', auto_br.ln2br]);
xeed.cast('REGISTER_FILTER', ['out', auto_br.ln2br]);
// Set standard API
editorRelKeys[editor_seq] = {
primary : $form[0][primary_key],
content : $form[0][content_key],
editor : xeed,
func : function(){ return xeed.cast('GET_CONTENT'); },
pasteHTML : function(text){ xeed.cast('PASTE_HTML', [text]); }
};
// Auto save
if (opt.use_autosave) xeed.registerPlugin(new xe.Xeed.AutoSave());
return xeed;
}
// standard filters
function plz_standard(code) {
var single_tags = 'area br col hr img input param'.split(' '), replaces = {b:'strong',i:'em'};
code = code.replace(/<(\/)?([A-Za-z0-9:]+)(.*?)(\s*\/?)>/g, function(m0,is_close,tag,attrs,closing){
tag = tag.toLowerCase();
if (replaces[tag]) tag = replaces[tag];
attrs = attrs.replace(/([\w:-]\s*)=(?:([^"' \t\r\n]+)|\s*("[^"]*")|\s*('[^']*'))/g, function(m0,name,m2,m3,m4){
var val = m2||m3||m4;
if (m3||m4) val = val.substr(1,val.length-2);
return $.trim(name.toLowerCase())+'='+'"'+val+'"';
});
if (attrs=$.trim(attrs)) attrs = ' '+attrs;
closing = $.trim(closing);
if (!is_close && !closing && $.inArray(tag, single_tags) != -1) closing = ' /';
return '<'+(is_close||'')+tag+attrs+closing+'>';
});
return code;
}
// remove base url
function remove_baseurl(code) {
var reg = new RegExp(' (href|src)\s*=\s*(["\'])?'+request_uri.replace('\\', '\\\\'), 'ig');
return code.replace(reg, function(m0,m1,m2){ return ' '+m1+'='+m2; });
}
// unwrap single paragraph
function unwrap_single_para(code) {
var match = $.trim(code).match(/<p[\s>]/g);
if (match && match.length == 1) {
code = code.replace(/<\/?p(?:\s[^>]+)?>/g, '');
}
return code;
};
// inline styled box
var inline_styled = {
'in' : function(code) {
return code.replace(/<(div|blockquote)(?:[^>]*) class="(bx|bq)"(?:[^>]*)>/ig, '<$1 class="$2">');
},
'out' : function(code) {
return code.replace(/<(div|blockquote)(?:[^>]*) class="(bx|bq)"(?:[^>]*)>/ig, function(a,tag,cls){
if (tag == 'div' && cls == 'bx') {
return '<'+tag+' class="'+cls+'" style="background:#fafafa;border:1px dotted #999;margin:1em 0;padding:0 2em">';
} else if (tag == 'blockquote' && cls == 'bq') {
return '<'+tag+' class="'+cls+'" style="border-left:3px solid #ccc;margin:1em 0;padding-left:1em">';
}
return a;
});
}
};
// auto_br
var auto_br = {
'br2ln' : function(code) {
return code.replace(/<br ?\/?>/ig, '\n');
},
'ln2br' : function(code) {
return code.replace(/(>)?[ \t]*((?:\r?\n[ \t]*)+)[ \t]*(<)?/g, function(m0,m1,m2,m3){
if ( !m1 || !m3 ) m2 = m2.replace(/\r?\n/g, '<br />');
return (m1||'')+m2+(m3||'');
});
}
};
window.editorStart_xe = editorStart_xe;
})(jQuery);
function editorGetAutoSavedDoc(form) {
var param = new Array();
param['mid'] = current_mid;
param['editor_sequence'] = form.getAttribute('editor_sequence')
setTimeout(function() {
var response_tags = new Array("error","message","editor_sequence","title","content","document_srl");
exec_xml('editor',"procEditorLoadSavedDocument", param, function(a,b,c) { editorRelKeys[param['editor_sequence']]['primary'].value = a['document_srl']; if(typeof(uploadSettingObj[param['editor_sequence']]) == 'object') editorUploadInit(uploadSettingObj[param['editor_sequence']], true); }, response_tags);
}, 0);
}

View file

@ -1,41 +0,0 @@
function editorStartTextarea(editor_sequence, content_key, primary_key) {
var obj = xGetElementById('editor_'+editor_sequence);
var use_html = xGetElementById('htm_'+editor_sequence).value;
obj.form.setAttribute('editor_sequence', editor_sequence);
obj.style.width = '99%';
editorRelKeys[editor_sequence] = new Array();
editorRelKeys[editor_sequence]["primary"] = obj.form[primary_key];
editorRelKeys[editor_sequence]["content"] = obj.form[content_key];
editorRelKeys[editor_sequence]["func"] = editorGetContentTextarea;
var content = obj.form[content_key].value;
if(use_html) {
content = content.replace(/<br([^>]*)>/ig,"\n");
if(use_html!='br') {
content = content.replace(/&lt;/g, "<");
content = content.replace(/&gt;/g, ">");
content = content.replace(/&quot;/g, '"');
content = content.replace(/&amp;/g, "&");
}
}
obj.value = content;
}
function editorGetContentTextarea(editor_sequence) {
var obj = xGetElementById('editor_'+editor_sequence);
var use_html = xGetElementById('htm_'+editor_sequence).value;
var content = obj.value.trim();
if(use_html) {
if(use_html!='br') {
content = content.replace(/&/g, "&amp;");
content = content.replace(/</g, "&lt;");
content = content.replace(/>/g, "&gt;");
content = content.replace(/\"/g, "&quot;");
}
content = content.replace(/(\r\n|\n)/g, "<br />");
}
return content;
}

File diff suppressed because it is too large Load diff

View file

@ -1,85 +0,0 @@
(function($){
var ver = '0.9.0';
$.fn.xeed = function(options) {
var $this = this.eq(0), $head = $('head'), templates = {}, DEFAULT = 'default', isCSSLoaded, isScriptLoaded;
var opts = $.extend({
ui : DEFAULT
}, options);
// Load Editor UI
function loadUI(ui, fnError){
if (templates[ui]) {
// load CSS
if (!isCSSLoaded) {
$head
.append('<link rel="stylesheet" type="text/css" href="'+xeed_path+'tpl/xd.css" />')
.append('<link rel="stylesheet" type="text/css" href="'+xeed_path+'tpl/xdcs.css" />');
loadCSS = true;
}
// insert HTML
$this.before(templates[ui]).hide();
// load script
setTimeout(loadScript, 0);
return;
}
$.ajax({
url : xeed_path + 'template.php?ui=' + ui,
dataType : 'text',
cache : false,
success : function(data){
var html = processTemplate(data);
templates[ui] = html;
loadUI(ui);
}
});
};
// Load Xeed core script
function loadScript(){
function callback() {
var xeed = new xe.Xeed($this, opts);
$this.data('xeed', xeed);
xe.registerApp(xeed);
isScriptLoaded = true;
}
if (!xe.Xeed) xe.Xeed = {};
if (!xe.Xeed.callbacks) xe.Xeed.callbacks = [];
xe.Xeed.version = ver;
if (isScriptLoaded) callback();
else xe.Xeed.callbacks.push(callback);
setTimeout(function(){
var scr = document.createElement('script');
scr.src = xeed_path+'xeed.js?ver='+ver+'&_cache='+Math.round(Math.random()*1000); // XXX : cache_code
scr.type = 'text/javascript';
$head[0].appendChild(scr);
}, 0);
};
// TODO : Process a template
function processTemplate(data) {
return data;
};
if (!this.data('xeed')) {
this.data('xeed', 1);
loadUI(opts.ui);
}
return this;
};
})(jQuery);

View file

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<skin version="0.2">
<title xml:lang="ko">XEED Skin</title>
<title xml:lang="en">XEED Skin</title>
<title xml:lang="zh-TW">XEED 面板</title>
<title xml:lang="tr">XEED Dış Görünümü</title>
<description xml:lang="ko">
XpressEditor based on SmartEditor Basic by NHN
</description>
<description xml:lang="tr">
XpressEditor, NHN tarafından, SmartEditor Basic'ten temel alınarak yapılmıştır
</description>
<description xml:lang="en">
XpressEditor based on SmartEditor Basic by NHN
</description>
<description xml:lang="zh-TW">
XpressEditor 是 NHN 基於 SmartEditor 開發而成。
</description>
<version>0.5.0</version>
<date>2010-11-05</date>
<author email_address="developers@xpressengine.com" link="http://www.xpressengine.com">
<name xml:lang="ko">NHN</name>
<name xml:lang="en">NHN</name>
<name xml:lang="tr">NHN</name>
<name xml:lang="zh-TW">NHN</name>
</author>
</skin>

View file

@ -1,416 +0,0 @@
@charset "utf-8";
/* XEED - NHN (developers@xpressengine.com) */
/* Reset */
.xd{display:none;position:relative;margin:1em 0;border:1px solid #e0dedf;z-index:1;*zoom:1;color:#000}
.xd legend{visibility:visible}
.xd fieldset{*zoom:1}
.xd .tool ul,
.xd .mode ul{margin:0;padding:0;list-style:none}
.xd .tool button,
.xd .mode button,
.xdlw button{position:relative;border:0;margin:0;padding:0;background-color:transparent;overflow:visible;cursor:pointer}
.xd .tool em{font-style:normal}
.xd .tool img{border:0}
.xd .tool .itx{border:1px solid #c7c7c7;background:transparent;padding:2px 4px;_margin:-1px 0;height:15px;font-size:12px;vertical-align:top}
.xd .tool .itx.hover,
.xd .tool .itx.focus{border-color:#999;box-shadow:0 0 2px #bbb;-moz-box-shadow:0 0 2px #bbb;-webkit-box-shadow:0 0 2px #bbb}
.xd .tool .icx,
.xd .mode .icx,
.xdlw .icx{width:13px;height:13px;vertical-align:middle;margin:0 2px 0 0;padding:0}
.xd .tool .btn,
.xdlw .btn{border:1px solid #b5b5b5;font-size:12px;padding:0 4px;height:21px;_height:20px;vertical-align:top;cursor:pointer}
.xd .tool fieldset{border:0;margin:0;padding:0}
.xd .tool label,
.xd .mode label,
.xdlw label{cursor:pointer}
.xd .tool .strong,
.xdlw .strong{font-weight:bold}
/* Background */
.xd .tool,
.xd .mo,
.xd .mode,
.xd .resize,
.xd .t1 .u1,
.xd .t1 .u1 .tb .img,
.xd .t1 .u1 .tb .media,
.xd .t1 .u1 .tb .file,
.xd .t1 .u2,
.xd .t2 .tb,
.xd .t2 .btn,
.xd .t2 .u3 .lr li.active button,
.xd .t2 .u3 .lr li.hover button,
.xd .t2 .u6 .sc .lr .li ul,
.xd .t2 .u6 .te .lr .cn li button,
.xd .t2 .u6 .te .lr .th li button,
.xdlw .iHead,
.xdlw .iFoot,
.xdlw .iHead h2,
.xdlw .btn,
.xdal .label,
.xdal .media .ob,
.xdal .file .ob,
.xdal .sn .task .all,
.xdal .sn .ctr{background-image:url(xd.gif);background-repeat:no-repeat}
/* Font Family */
.xd .tool .t1 .tb,
.xd .tool .t2 .hx .lr button,
.xd .tool .t2 .u6 .sc .lr .tab,
.xd .edit,
.xdal .sn .ctr,
.xdal .sn .task button,
.xdal .iFoot .info{font-family:, Dotum, Tahoma, Geneva, sans-serif}
.xd .tool .itx,
.xd .tool .t2 .u3 .cr .lr .cx li button,
.xd .tool .t2 .u6 .te .lr .cn li button,
.xd .tool .t2 .u6 .te .lr .wh td button,
.xd .mode ul button,
.xd .mode .autoResize label,
.xdlw .iHead h2 em,
.xdlw label{font-family:Tahoma, Geneva, sans-serif}
/* Hidden Text */
.xd .tool .mo span,
.xd .t1 .tb .img span,
.xd .t1 .tb .media span,
.xd .t1 .tb .file span,
.xd .t2 .tb span,
.xd .t2 .u3 .cr .lr li button span,
.xd .t2 .u6 .te .lr .cn button span,
.xd .mode .resize span,
.xdal .sn .ctr span{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;font-size:0;line-height:0;z-index:-1}
/* Label Input OverWrap */
.xd .tool legend{_color:#000 !important}
.xd .tool .liow{position:relative;background:#fff;margin:0 0 8px 0}
.xd .tool .liow label{position:absolute;top:4px;left:6px;white-space:nowrap}
.xd .tool .liow .itx{position:relative;z-index:2;background:transparent}
/* Time */
.xd .time{font-size:12px;background:#fcfcfc;border-top:1px solid #ddd;display:none}
.xd .time p{margin:0;padding:6px 10px;color:#666;text-align:center}
/* Mode */
.xd .mode{position:relative;z-index:1;background-position:0 -1140px;background-repeat:repeat-x;border-top:1px solid #b5b5b5;*zoom:1}
.xd .mode .resize{width:100%;height:20px;cursor:n-resize;background-position:center -1105px;font-size:0;line-height:0}
.xd .mode .autoResize{position:absolute;top:0;left:8px;font-size:11px;line-height:20px}
.xd .mode .autoResize label{display:inline-block;height:20px}
.xd .mode ul{position:absolute;top:-1px;right:10px;line-height:15px}
.xd .mode li{position:relative;float:left;margin:0 -1px 0 0;border:1px solid #b5b5b5;background:#f4f4f4;vertical-align:top}
.xd .mode li.active{border-top-color:#fcfcfc;background:#fcfcfc;z-index:2}
.xd .mode ul button{padding:0 10px;font-size:11px}
/* Tool - Common */
.xd .tool{background-position:0 -1140px;background-repeat:repeat-x;background-color:#f4f4f4;position:relative;z-index:3}
.xd .tool .mo{display:none;position:absolute;top:0;right:0;height:25px;width:16px;background-position:-450px -250px}
.xd .tool .mo.mopen{background-position:-466px -250px}
.xd .skip{position:absolute;display:block;top:0;left:0;width:1px;height:1px;overflow:hidden;color:#333;text-indent:1em;text-decoration:none;font-size:12px}
.xd .skip:hover,
.xd .skip:active,
.xd .skip:focus{position:relative;width:100%;height:auto;padding:5px 0}
/* Tool - 1 */
.xd .t1{position:relative;z-index:2;padding:0 15px 0 0;border-bottom:1px solid #e0dedf;*zoom:1}
.xd .t1:after{content:"";display:block;clear:both}
.xd .t1 .mo{top:0}
.xd .t1 .u1,
.xd .t1 .u2{margin:0 0 -1px 0;_margin-top:-1px;background-repeat:repeat-x;background-position:0 -1140px;float:left;_float:none;display:inline;*zoom:1}
.xd .t1 .ti{float:left;display:inline;border:1px solid #e0dedf;margin:-1px 0 0 -1px;_margin-top:0;_margin-bottom:-1px;*zoom:1}
.xd .t1 .ti.active{background-color:#e8e8e8;border:1px solid #e0dedf;border-top:0;border-bottom:0;margin:0 -1px}
.xd .t1 .tb{display:inline-block;white-space:nowrap;padding:0 8px;height:26px;line-height:26px;font-size:11px;text-decoration:none;vertical-align:top;color:#000;letter-spacing:-1px}
.xd .t1 .tb span{display:block;float:left;cursor:pointer}
.xd .t1 .u1 .tb strong{color:#f60}
.xd .t1 .u1 .al .tb span{padding:0 0 0 22px}
.xd .t1 .u1 .al .tb .all{padding:0}
.xd .t1 .u1 .al .img{background-position:5px -282px}
.xd .t1 .u1 .al .media{background-position:6px -312px}
.xd .t1 .u1 .al .file{background-position:6px -342px}
/* Tool - 2 */
.xd .t2{position:relative;z-index:2;border-top:1px solid #e0dedf;border-bottom:1px solid #b5b5b5;padding:5px 10px 0 5px;margin:-1px 0 0 0;*zoom:1}
.xd .t2:after{content:"";display:block;clear:both}
.xd .t2 .mo{top:3px}
.xd .t2 .u1,
.xd .t2 .u2,
.xd .t2 .u3,
.xd .t2 .u4,
.xd .t2 .u5,
.xd .t2 .u6{float:left;_float:none;display:inline;position:relative;margin:0 5px 0 0;padding:0 0 5px 0;*zoom:1}
.xd .t2 .ti{float:left;border:1px solid #b5b5b5;margin:0 -1px 0 0;font-size:0;position:relative}
.xd .t2 .ti.hover{border-color:#666;z-index:100;box-shadow:0 0 2px #bbb;-moz-box-shadow:0 0 2px #bbb;-webkit-box-shadow:0 0 2px #bbb}
.xd .t2 .ti.active{border-color:#333;z-index:100}
.xd .t2 .tb{width:20px;height:19px;line-height:19px;overflow:visible;_overflow-y:hidden;vertical-align:top;background-position:0 -60px;letter-spacing:-1px}
.xd .t2 .tb.more{width:10px;background-position:-140px -40px !important;border-left:1px solid #ddd}
.xd .t2 .u2 .tb{width:auto;height:19px;line-height:19px;font-size:12px;padding:0 12px 0 4px;background-position:right 0;text-shadow:1px 1px 0 #eee}
.xd .t2 .u2 .active .tb{background-position:right -20px}
.xd .t2 .disable{opacity:.3;filter:alpha(opacity=30);-ms-filter:"alpha(opacity=30)";border-color:#b5b5b5 !important;box-shadow:none !important;-moz-box-shadow:none !important;-webkit-box-shadow:none !important}
.xd .t2 .disable .tb{cursor:default;-ms-filter:inherit}
.xd .t2 .ud .tb{background-position:0 -40px}
.xd .t2 .rd .tb{background-position:-20px -40px}
.xd .t2 .bd .tb{background-position:-40px -40px}
.xd .t2 .ue .tb{background-position:-60px -40px}
.xd .t2 .ic .tb{background-position:-80px -40px}
.xd .t2 .se .tb{background-position:-100px -40px}
.xd .t2 .cr.fc .tb{background-position:-120px -40px}
.xd .t2 .cr.bc .tb{background-position:-150px -40px}
.xd .t2 .sp .tb{background-position:-180px -40px}
.xd .t2 .sb .tb{background-position:-200px -40px}
.xd .t2 .al .tb{background-position:-220px -40px}
.xd .t2 .ac .tb{background-position:-240px -40px}
.xd .t2 .ar .tb{background-position:-260px -40px}
.xd .t2 .aj .tb{background-position:-280px -40px}
.xd .t2 .ol .tb{background-position:-300px -40px}
.xd .t2 .ul .tb{background-position:-320px -40px}
.xd .t2 .od .tb{background-position:-340px -40px}
.xd .t2 .id .tb{background-position:-360px -40px}
.xd .t2 .qm .tb{background-position:-380px -40px}
.xd .t2 .bx .tb{background-position:-400px -40px}
.xd .t2 .er .tb{background-position:-420px -40px}
.xd .t2 .ur .tb{background-position:-440px -40px}
.xd .t2 .sc .tb{background-position:-460px -40px}
.xd .t2 .te .tb{background-position:-480px -40px}
.xd .t2 .cm .tb{background-position:-500px -40px}
.xd .t2 .cs .tb{background-position:-520px -40px}
.xd .t2 .rs .tb{background-position:-540px -40px}
.xd .t2 .tc .tb{background-position:-560px -40px}
.xd .t2 .fr .tb{background-position:-580px -40px}
.xd .t2 .active .tb.ud{background-position:0 -60px}
.xd .t2 .active .tb.rd{background-position:-20px -60px}
.xd .t2 .active .tb.bd{background-position:-40px -60px}
.xd .t2 .active .tb.ue{background-position:-60px -60px}
.xd .t2 .active .tb.ic{background-position:-80px -60px}
.xd .t2 .active .tb.se{background-position:-100px -60px}
.xd .t2 .active .tb.more{background-position:-140px -60px !important}
.xd .t2 .active .tb.sp{background-position:-180px -60px}
.xd .t2 .active .tb.sb{background-position:-200px -60px}
.xd .t2 .active .tb.al{background-position:-220px -60px}
.xd .t2 .active .tb.ac{background-position:-240px -60px}
.xd .t2 .active .tb.ar{background-position:-260px -60px}
.xd .t2 .active .tb.aj{background-position:-280px -60px}
.xd .t2 .active .tb.ol{background-position:-300px -60px}
.xd .t2 .active .tb.ul{background-position:-320px -60px}
.xd .t2 .active .tb.od{background-position:-340px -60px}
.xd .t2 .active .tb.id{background-position:-360px -60px}
.xd .t2 .active .tb.qm{background-position:-380px -60px}
.xd .t2 .active .tb.bx{background-position:-400px -60px}
.xd .t2 .active .tb.er{background-position:-420px -60px}
.xd .t2 .active .tb.ur{background-position:-440px -60px}
.xd .t2 .active .tb.sc{background-position:-460px -60px}
.xd .t2 .active .tb.te{background-position:-480px -60px}
.xd .t2 .active .tb.cm{background-position:-500px -60px}
.xd .t2 .active .tb.cs{background-position:-520px -60px}
.xd .t2 .active .tb.rs{background-position:-540px -60px}
.xd .t2 .active .tb.tc{background-position:-560px -60px}
.xd .t2 .active .tb.fr{background-position:-580px -60px}
/* Layer */
.xd .t2 .lr{display:none;position:absolute;left:-1px;top:19px;padding:10px;font-size:12px;border:1px solid #bbb;background-color:#fafafa;*zoom:1;box-shadow:0 0 2px #bbb;-moz-box-shadow:0 0 2px #bbb;-webkit-box-shadow:0 0 2px #bbb}
.xd .t2 .lr:after{content:"";display:block;clear:both}
.xd .t2 .lr.open{display:block}
/* Layer - u2 (hx, ff, fs, lh) */
.xd .t2 .u2 .lr{padding:2px}
.xd .t2 .u2 .lr li{margin:0 !important;padding:0 !important;border:0 !important}
.xd .t2 .u2 .lr li.hover{background:#ebebeb}
.xd .t2 .u2 .lr button{display:block;white-space:nowrap;text-align:left;font-size:12px;padding:2px 10px}
.xd .t2 .u2 .hx .lr button{font-weight:bold}
.xd .t2 .u2 .lr .h1 button{font-size:24px}
.xd .t2 .u2 .lr .h2 button{font-size:20px}
.xd .t2 .u2 .lr .h3 button{font-size:18px}
.xd .t2 .u2 .lr .h4 button{font-size:16px}
.xd .t2 .u2 .lr .h5 button{font-size:14px}
.xd .t2 .u2 .lr .h6 button{font-size:12px}
/* Layer - u3 (cr) */
.xd .t2 .u3 .cr .lr fieldset{position:relative;_float:left}
.xd .t2 .u3 .cr .lr legend{font-size:12px;font-weight:bold;margin:0;padding:0;display:inline;line-height:normal;width:auto;height:auto;position:static}
.xd .t2 .u3 .cr .lr .ct,
.xd .t2 .u3 .cr .lr .cx{width:204px;position:relative;*zoom:1;overflow:hidden}
.xd .t2 .u3 .cr .lr .ct:after,
.xd .t2 .u3 .cr .lr .cx:after{content:"";display:block;clear:both}
.xd .t2 .u3 .cr .lr .ct li,
.xd .t2 .u3 .cr .lr .cx li{position:relative;float:left;margin:0 1px 1px 0;font-size:0;line-height:0}
.xd .t2 .u3 .cr .lr .ct li button{display:block;position:relative;overflow:hidden;width:11px;height:11px;vertical-align:top}
.xd .t2 .u3 .cr .lr .ct li.active button,
.xd .t2 .u3 .cr .lr .ct li.hover button{background-position:-330px -260px}
.xd .t2 .u3 .cr .lr .cx li button{display:block;position:relative;overflow:hidden;width:67px;height:18px;font-size:11px;line-height:18px;text-align:left;*padding:0 4px}
/* Layers - u6 */
.xd .t2 .u6 .lr{left:auto;right:-1px;}
.xd .t2 .u6 .lr.right{left:-1px;right:auto;}
/* Layer - u6 (ur) */
.xd .t2 .u6 .ur .lr{width:260px}
.xd .t2 .u6 .ur .lr fieldset:after{content:"";display:block;clear:both}
.xd .t2 .u6 .ur .lr .itx{display:block;width:250px;margin:0 0 4px 0;background:#fff}
.xd .t2 .u6 .ur .lr .nw{float:left;line-height:21px;white-space:nowrap}
.xd .t2 .u6 .ur .lr .btnArea{float:right;white-space:nowrap}
.xd .t2 .u6 .ur .lr .btn{*margin:0 0 0 4px}
/* Layer - u6 (sc) */
.xd .t2 .u6 .sc .lr{width:402px;height:222px}
.xd .t2 .u6 .sc .lr .li{float:left;margin:0 -1px 0 0}
.xd .t2 .u6 .sc .lr .tab{position:relative;font-size:11px;height:23px;_line-height:18px;padding:0 4px;border:1px solid #d0d0d0;background:#f5f5f5;z-index:10}
.xd .t2 .u6 .sc .lr .active .tab{border-bottom-color:#fff;background:#fff}
.xd .t2 .u6 .sc .lr .li ul{display:none;position:absolute;left:10px;top:32px;width:400px;height:171px;border:1px solid #d0d0d0;background-position:0 -80px;z-index:1;*zoom:1}
.xd .t2 .u6 .sc .lr .li ul:after{content:"";display:block;clear:both}
.xd .t2 .u6 .sc .lr .active ul{display:block}
.xd .t2 .u6 .sc .lr .li li{position:relative;top:-1px;float:left;margin:0 -1px -1px 0}
.xd .t2 .u6 .sc .lr .li li button{width:21px;height:20px;overflow:hidden}
.xd .t2 .u6 .sc .lr .li li:hover button{border:1px solid #666}
.xd .t2 .u6 .sc .lr fieldset{position:absolute;top:212px;left:10px}
.xd .t2 .u6 .sc .lr .itx{width:296px;padding-right:100px;background:#fff;_margin:-1px 0}
.xd .t2 .u6 .sc .lr .btnArea{position:absolute;top:0;right:0}
.xd .t2 .u6 .sc .lr .btn{float:left;margin:0 0 0 -1px;display:inline}
/* Layer - u6 (te) */
.xd .t2 .u6 .te .lr{width:280px}
.xd .t2 .u6 .te .lr fieldset{position:relative;padding:0 0 10px 0}
.xd .t2 .u6 .te .lr legend{font-size:12px;font-weight:bold;margin:0;padding:10px 0 0 0;display:inline;line-height:normal;width:auto;height:auto;position:static}
.xd .t2 .u6 .te .lr .pv{border-bottom:1px solid #ddd}
.xd .t2 .u6 .te .lr .pv legend{padding:0}
.xd .t2 .u6 .te .lr .pv .xdcs{background:#fff;line-height:1.5;margin:0 -10px;padding:1px 10px;box-shadow:inset 0 0 3px #999;-moz-box-shadow:inset 0 0 3px #999;-webkit-box-shadow:inset 0 0 3px #999}
.xd .t2 .u6 .te .lr .cn{border-bottom:1px solid #ddd}
.xd .t2 .u6 .te .lr .cn .liow label{top:7px}
.xd .t2 .u6 .te .lr .cn .itx{width:215px;padding:5px 60px 5px 4px}
.xd .t2 .u6 .te .lr .cn ul{position:absolute;z-index:2;width:51px;top:2px;right:2px;*right:1px;font-size:0;*zoom:1}
.xd .t2 .u6 .te .lr .cn ul:after{content:"";display:block;clear:both}
.xd .t2 .u6 .te .lr .cn li{float:left;margin:0 0 1px 1px;display:inline}
.xd .t2 .u6 .te .lr .cn li button{width:16px;height:11px;overflow:hidden;text-align:center;background-color:#eee}
.xd .t2 .u6 .te .lr .cn li.selected button{background-color:#ccc}
.xd .t2 .u6 .te .lr .cn li.tl button{background-position:-360px -255px}
.xd .t2 .u6 .te .lr .cn li.tc button{background-position:-382px -255px}
.xd .t2 .u6 .te .lr .cn li.tr button{background-position:-404px -255px}
.xd .t2 .u6 .te .lr .cn li.bl button{background-position:-360px -264px}
.xd .t2 .u6 .te .lr .cn li.bc button{background-position:-382px -264px}
.xd .t2 .u6 .te .lr .cn li.br button{background-position:-404px -264px}
.xd .t2 .u6 .te .lr .th{border-bottom:1px solid #ddd}
.xd .t2 .u6 .te .lr .th ul{*zoom:1}
.xd .t2 .u6 .te .lr .th ul:after{content:"";display:block;clear:both}
.xd .t2 .u6 .te .lr .th li{float:left}
.xd .t2 .u6 .te .lr .th li button{font-size:12px;width:70px;height:55px}
.xd .t2 .u6 .te .lr .th li.selected{background-color:#ddd}
.xd .t2 .u6 .te .lr .th li.no button{background-position:-283px -275px}
.xd .t2 .u6 .te .lr .th li.lt button{background-position:-433px -275px}
.xd .t2 .u6 .te .lr .th li.tp button{background-position:-283px -335px}
.xd .t2 .u6 .te .lr .th li.bh button{background-position:-433px -335px}
.xd .t2 .u6 .te .lr .th li span{display:inline-block;padding-top:26px}
.xd .t2 .u6 .te .lr .wh{border-bottom:1px solid #ddd}
.xd .t2 .u6 .te .lr .wh table{border:0;width:100%}
.xd .t2 .u6 .te .lr .wh th{border:0;text-align:right;padding:0;white-space:nowrap;font-weight:normal}
.xd .t2 .u6 .te .lr .wh td{border:0;padding:0 0 0 10px;border-spacing:0}
.xd .t2 .u6 .te .lr .wh td button{font-size:12px;width:23px;height:21px;color:#666}
.xd .t2 .u6 .te .lr .wh td button.selected{border:1px solid #ccc;background-color:#767676;color:#fff;font-weight:bold}
.xd .t2 .u6 .te .lr .wh .itx{width:60px;*margin-right:4px;background-color:#fff}
.xd .t2 .u6 .te .lr .btnArea{position:relative;text-align:right;white-space:nowrap;padding:10px 0 0 0}
.xd .t2 .u6 .te .lr .btnArea .btn{*margin-left:4px}
/* Layer - u6 (fr) */
.xd .t2 .u6 .fr .lr fieldset{position:relative}
.xd .t2 .u6 .fr .lr legend{font-size:12px;font-weight:bold;margin:0;display:inline;line-height:normal;width:auto;height:auto;position:static}
.xd .t2 .u6 .fr .lr .itx{width:120px;padding-right:70px}
.xd .t2 .u6 .fr .lr .find{border-bottom:1px solid #ddd;padding:0 0 10px 0}
.xd .t2 .u6 .fr .lr .find .btn{position:absolute;top:0;right:0;z-index:3}
.xd .t2 .u6 .fr .lr .replace legend{padding:10px 0 0 0}
.xd .t2 .u6 .fr .lr .replace .liow{margin:0 0 2px 0}
.xd .t2 .u6 .fr .lr .replace .liow .btn{position:absolute;top:0;right:0;z-index:3}
.xd .t2 .u6 .fr .lr .frAll{width:196px;margin:5px 0 0 0}
/* Edit */
.xd .edit{height:400px;overflow:auto;position:relative;z-index:2;*zoom:1;background:#fff;box-shadow:inset 0 0 3px #999;-moz-box-shadow:inset 0 0 3px #999;-webkit-box-shadow:inset 0 0 3px #999}
.xd .edit .xdcs{position:relative;overflow:hidden !important;padding:10px;cursor:text;outline:none}
.xd .edit .xdsc{border:0;padding:20px 25px;overflow:auto;background:transparent;font:12px "Courier New", Courier, monospace}
/* XD Layer Window */
.xdlw{display:none;position:absolute;top:0;left:0;z-index:1000;color:#000;overflow:visible;width:100%;height:1px}
.xdlw img{border:0}
.xdlw .iHead{background-position:0 -1140px;background-repeat:repeat-x;border-bottom:1px solid #ccc;font-size:12px;padding:10px 0;*zoom:1;cursor:move;overflow:hidden}
.xdlw .iHead:after{content:"";display:block;clear:both}
.xdlw .iHead h2{float:left;_display:inline;margin:0 0 0 20px;padding:0 0 0 20px;background-position:0 -257px;font-size:12px;height:16px;line-height:16px}
.xdlw .iHead h2 em{font-weight:normal;font-style:normal;color:#ccc}
.xdlw .iHead h2 strong{color:#f60}
.xdlw .iHead .btnArea{margin:0 20px;*zoom:1}
.xdlw .iHead .btnArea.fr{float:right}
.xdlw .iBody{position:relative;*zoom:1}
.xdlw .iBody:after{content:"";display:block;clear:both}
.xdlw .iFoot{padding:10px 0;border-top:1px solid #ccc;background-position:0 -1140px;background-repeat:repeat-x;cursor:move}
.xdlw .iFoot:after{content:"";display:block;clear:both}
.xdlw .iFoot .btnArea{margin:0 20px;*zoom:1}
.xdlw .iFoot .btnArea:after{content:"";display:block;clear:both}
.xdlw .iFoot .btnArea.fl{float:left}
.xdlw .iFoot .btnArea.fr{float:right}
/* XD Layer Window - AL(Attached List) */
.xdal{display:none;width:780px;margin:0 auto;background:#fff;border:3px solid #666;box-shadow:0 0 10px #999;-moz-box-shadow:0 0 10px #999;-webkit-box-shadow:0 0 10px #999}
.xdal .iFoot .info{margin:0;float:left;font-size:11px;line-height:normal;padding:0 0 0 20px;color:#666}
.xdal .label{line-height:30px;font-weight:bold;margin:0;padding:0 0 0 24px;font-size:12px}
.xdal .img .label{background-position:0 -280px}
.xdal .media .label{background-position:0 -310px}
.xdal .file .label{background-position:0 -340px}
.xdal .sn{position:relative;padding:10px 20px 15px 20px;width:219px;float:left;border-left:1px solid #ddd}
.xdal .sn .nofile{display:none;padding:1em 0;margin:0;color:#767676;border-top:1px dotted #ccc}
.xdal .sn ul{height:290px;margin:0;padding:0;*zoom:1;overflow:auto;overflow-x:hidden;border-top:1px dotted #ccc}
.xdal .sn ul:after{content:"";display:block;clear:both}
.xdal .sn li{position:relative;top:-1px;list-style:none;vertical-align:top;margin:0;padding:8px 0;border-top:1px dotted #ccc;color:#666}
.xdal .sn .ob{position:relative;text-decoration:none;white-space:nowrap;font-size:0;width:60px;height:60px;overflow:hidden;margin:0 0 5px 0;border:1px solid #ddd;text-align:center;vertical-align:top;line-height:58px;background-color:#fff}
.xdal .sn .ob img{vertical-align:middle}
.xdal .sn .ctr{position:absolute;top:8px;width:30px;height:30px;font-size:11px;white-space:nowrap;color:#666}
.xdal .sn .ins{right:35px;background-position:-510px -250px}
.xdal .sn .del{right:5px;background-position:-540px -250px}
.xdal .sn .task{margin:0 10px 0 0;padding:8px 0 0 0;border-top:1px dotted #ccc}
.xdal .sn .task button{padding:0 3px;margin:0 0 2px 0;height:21px;font-size:11px;border:1px solid #b5b5b5}
.xdal .sn .task .all{padding-left:15px;background-position:-583px -257px}
.xdal .sn .progress{display:none;width:40px;background:#ddd}
.xdal .sn .progress .bar{display:block;background:#23cb24;height:6px}
.xdal .sn .uploading .progress{display:inline-block}
.xdal .none .task{display:none}
.xdal .none .nofile{display:block}
.xdal .file .ob,
.xdal .media .ob{text-indent:-900px}
.xdal .file .uploading .ob{text-indent:0;background-image:none}
.xdal .file .pdf{background-position:-20px -420px}
.xdal .file .doc,
.xdal .file .docx{background-position:-120px -420px}
.xdal .file .hwp{background-position:-220px -420px}
.xdal .file .ppt,
.xdal .file .pptx{background-position:-320px -420px}
.xdal .file .pps{background-position:-420px -420px}
.xdal .file .txt{background-position:-520px -420px}
.xdal .file .rtf{background-position:-20px -520px}
.xdal .file .xls,
.xdal .file .csv,
.xdal .file .xlsx{background-position:-120px -520px}
.xdal .file .png{background-position:-220px -520px}
.xdal .file .jpg{background-position:-320px -520px}
.xdal .file .gif{background-position:-420px -520px}
.xdal .file .bmp{background-position:-520px -520px}
.xdal .file .tif{background-position:-20px -620px}
.xdal .file .raw{background-position:-120px -620px}
.xdal .media .avi{background-position:-220px -620px}
.xdal .media .wmv{background-position:-320px -620px}
.xdal .media .mov{background-position:-420px -620px}
.xdal .media .mpg{background-position:-520px -620px}
.xdal .media .flv{background-position:-20px -720px}
.xdal .media .divx{background-position:-120px -720px}
.xdal .file .mp3{background-position:-220px -720px}
.xdal .file .wma{background-position:-320px -720px}
.xdal .file .wav{background-position:-420px -720px}
.xdal .file .aac{background-position:-520px -720px}
.xdal .file .flac{background-position:-20px -820px}
.xdal .file .psd{background-position:-120px -820px}
.xdal .file .ai{background-position:-220px -820px}
.xdal .file .svg{background-position:-320px -820px}
.xdal .file .xml{background-position:-420px -820px}
.xdal .file .html{background-position:-520px -820px}
.xdal .file .css{background-position:-20px -920px}
.xdal .file .js{background-position:-120px -920px}
.xdal .file .iso{background-position:-220px -920px}
.xdal .file .zip,
.xdal .file .tar,
.xdal .file .gz,
.xdal .file .alz,
.xdal .file .rar{background-position:-320px -920px}
.xdal .file .etc{background-position:-420px -920px}
/* XDCS = Xpress eDitor Content Style */
.xdcs{font-size:12px;line-height:1.5;overflow:hidden !important;*zoom:1}
.xdcs .h1{font-size:24px;margin:1em 0}
.xdcs .h2{font-size:20px;margin:1em 0}
.xdcs .h3{font-size:18px;margin:1em 0}
.xdcs .h4{font-size:16px;margin:1em 0}
.xdcs .h5{font-size:14px;margin:1em 0}
.xdcs .h6{font-size:12px;margin:1em 0}
.xdcs .bq{border-left:3px solid #ccc;padding-left:1em;margin:1em 0}
.xdcs .bx{border:1px dotted #999;margin:1em 0;padding:0 2em;background:#fafafa}
.xdcs .ts,
.xdcs .ts th,
.xdcs .ts td{border:1px solid #bbb}
.xdcs .ts caption{font-weight:bold}
.xdcs .ts th,
.xdcs .ts td{padding:2px 5px}
.xdcs .ts{border-collapse:collapse;margin:1em 0}
.xdcs .ts th{text-align:left;background-color:#fafafa}
.xdcs .ts td{text-align:left}
.xdcs .toc{margin:1em 0;border:1px solid #ddd;background:#fafafa}
.xdcs .toc ul ul{padding-left:1em;margin:0}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB