default 에디터 제거

xpresseditor에 default 에디터의 컬러셋 모두 적용후 default 에디터를 대체하도록 함
xpresseidtor의 텍스트등에서 한글 제외 (바꾸기 부분은 아직 미 적용)


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6104 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-14 11:19:24 +00:00
parent 32c3e86b1b
commit 38ea8b89ae
33 changed files with 646 additions and 1164 deletions

View file

@ -46,8 +46,8 @@
if(!$editor_config->comment_editor_height) $editor_config->comment_editor_height = 120;
if($editor_config->enable_autosave!='N') $editor_config->enable_autosave = "Y";
if(!$editor_config->editor_skin) $editor_config->editor_skin = 'default';
if(!$editor_config->comment_editor_skin) $editor_config->comment_editor_skin = 'default';
if(!$editor_config->editor_skin) $editor_config->editor_skin = 'xpresseditor';
if(!$editor_config->comment_editor_skin) $editor_config->comment_editor_skin = 'xpresseditor';
return $editor_config;
}
@ -87,7 +87,7 @@
// 스킨 설정
$skin = $option->skin;
if(!$skin) $skin = 'default';
if(!$skin) $skin = 'xpresseditor';
$colorset = $option->colorset;
Context::set('colorset', $colorset);
@ -189,10 +189,8 @@
$tpl_path = sprintf('%sskins/%s/', $this->module_path, $skin);
$tpl_file = 'editor.html';
if(!file_exists($tpl_path.$tpl_file)) {
$skin = 'default';
$skin = 'xpresseditor';
$tpl_path = sprintf('%sskins/%s/', $this->module_path, $skin);
}
Context::set('editor_path', $tpl_path);