mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
에디터 설정시 높이 조절 옵션을 불필요하다고 판단하여 제거. 무조건 높이 조절 옵션이 기본으로 나타남
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5088 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a97a50f2fd
commit
5a247e0125
5 changed files with 0 additions and 38 deletions
|
|
@ -44,8 +44,6 @@
|
|||
|
||||
if(!$editor_config->editor_height) $editor_config->editor_height = 500;
|
||||
if(!$editor_config->comment_editor_height) $editor_config->comment_editor_height = 120;
|
||||
if($editor_config->enable_height_resizable!='N') $editor_config->enable_height_resizable= "Y";
|
||||
if($editor_config->enable_comment_height_resizable!='Y') $editor_config->enable_comment_height_resizable= "N";
|
||||
if($editor_config->enable_autosave!='N') $editor_config->enable_autosave = "Y";
|
||||
|
||||
if(!$editor_config->editor_skin) $editor_config->editor_skin = 'default';
|
||||
|
|
@ -83,10 +81,6 @@
|
|||
if($option->disable_html) $html_mode = false;
|
||||
else $html_mode = true;
|
||||
|
||||
// 크기 조절 옵션 설정
|
||||
if(!$option->resizable) $resizable = false;
|
||||
else $resizable = true;
|
||||
|
||||
// 높이 설정
|
||||
if(!$option->height) $editor_height = 400;
|
||||
else $editor_height = $option->height;
|
||||
|
|
@ -178,11 +172,6 @@
|
|||
**/
|
||||
Context::set('html_mode', $html_mode);
|
||||
|
||||
/**
|
||||
* resizable 가능한지 변수 설정
|
||||
**/
|
||||
Context::set('enable_resizable', $resizable);
|
||||
|
||||
/**
|
||||
* 에디터 세로 크기 설정
|
||||
**/
|
||||
|
|
@ -228,7 +217,6 @@
|
|||
$config->enable_component_grant = $editor_config->enable_component_grant;
|
||||
$config->enable_html_grant = $editor_config->enable_html_grant;
|
||||
$config->editor_height = $editor_config->editor_height;
|
||||
$config->enable_height_resizable = $editor_config->enable_height_resizable;
|
||||
$config->enable_autosave = $editor_config->enable_autosave;
|
||||
} else {
|
||||
$config->editor_skin = $editor_config->comment_editor_skin;
|
||||
|
|
@ -238,7 +226,6 @@
|
|||
$config->enable_component_grant = $editor_config->enable_comment_component_grant;
|
||||
$config->enable_html_grant = $editor_config->enable_comment_html_grant;
|
||||
$config->editor_height = $editor_config->comment_editor_height;
|
||||
$config->enable_height_resizable = $editor_config->enable_comment_height_resizable;
|
||||
$config->enable_autosave = 'N';
|
||||
}
|
||||
|
||||
|
|
@ -304,9 +291,6 @@
|
|||
// 높이 설정
|
||||
$option->height = $config->editor_height;
|
||||
|
||||
// 높이 조절 옵션 설정
|
||||
$option->resizable = $config->enable_height_resizable=='Y'?true:false;
|
||||
|
||||
// 자동 저장 유무 옵션 설정
|
||||
$option->enable_autosave = $config->enable_autosave=='Y'?true:false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue