editor colorset 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4792 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2008-11-07 10:47:24 +00:00
parent b36a63192b
commit fbd6020d07
13 changed files with 147 additions and 80 deletions

View file

@ -91,7 +91,9 @@
// 스킨 설정
$skin = $option->skin;
if(!$skin) $skin = 'default';
$colorset = $option->colorset;
Context::set('colorset', $colorset);
Context::set('skin', $skin);
/**
* 자동백업 기능 체크 ( 수정일 경우는 사용하지 않음)
**/
@ -212,6 +214,7 @@
// type에 따른 설정 정리
if($type == 'document') {
$config->editor_skin = $editor_config->editor_skin;
$config->sel_editor_colorset = $editor_config->sel_editor_colorset;
$config->upload_file_grant = $editor_config->upload_file_grant;
$config->enable_default_component_grant = $editor_config->enable_default_component_grant;
$config->enable_component_grant = $editor_config->enable_component_grant;
@ -221,6 +224,7 @@
$config->enable_autosave = $editor_config->enable_autosave;
} else {
$config->editor_skin = $editor_config->comment_editor_skin;
$config->sel_editor_colorset = $editor_config->sel_comment_editor_colorset;
$config->upload_file_grant = $editor_config->comment_upload_file_grant;
$config->enable_default_component_grant = $editor_config->enable_comment_default_component_grant;
$config->enable_component_grant = $editor_config->enable_comment_component_grant;
@ -240,6 +244,7 @@
// 에디터 옵션 변수를 미리 설정
$option->skin = $config->editor_skin;
$option->colorset = $config->sel_editor_colorset;
// 파일 업로드 권한 체크
$option->allow_fileupload = false;