mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +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
|
|
@ -156,14 +156,8 @@
|
||||||
|
|
||||||
$editor_config->comment_editor_height = (int)Context::get('comment_editor_height');
|
$editor_config->comment_editor_height = (int)Context::get('comment_editor_height');
|
||||||
|
|
||||||
$editor_config->enable_height_resizable = Context::get('enable_height_resizable');
|
|
||||||
|
|
||||||
$editor_config->enable_comment_height_resizable = Context::get('enable_comment_height_resizable');
|
|
||||||
|
|
||||||
$editor_config->enable_autosave = Context::get('enable_autosave');
|
$editor_config->enable_autosave = Context::get('enable_autosave');
|
||||||
|
|
||||||
if($editor_config->enable_height_resizable != 'Y') $editor_config->enable_height_resizable = 'N';
|
|
||||||
if($editor_config->enable_comment_height_resizable != 'Y') $editor_config->enable_comment_height_resizable = 'N';
|
|
||||||
if($editor_config->enable_autosave != 'Y') $editor_config->enable_autosave = 'N';
|
if($editor_config->enable_autosave != 'Y') $editor_config->enable_autosave = 'N';
|
||||||
|
|
||||||
$oModuleController = &getController('module');
|
$oModuleController = &getController('module');
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,6 @@
|
||||||
|
|
||||||
if(!$editor_config->editor_height) $editor_config->editor_height = 500;
|
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->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->enable_autosave!='N') $editor_config->enable_autosave = "Y";
|
||||||
|
|
||||||
if(!$editor_config->editor_skin) $editor_config->editor_skin = 'default';
|
if(!$editor_config->editor_skin) $editor_config->editor_skin = 'default';
|
||||||
|
|
@ -83,10 +81,6 @@
|
||||||
if($option->disable_html) $html_mode = false;
|
if($option->disable_html) $html_mode = false;
|
||||||
else $html_mode = true;
|
else $html_mode = true;
|
||||||
|
|
||||||
// 크기 조절 옵션 설정
|
|
||||||
if(!$option->resizable) $resizable = false;
|
|
||||||
else $resizable = true;
|
|
||||||
|
|
||||||
// 높이 설정
|
// 높이 설정
|
||||||
if(!$option->height) $editor_height = 400;
|
if(!$option->height) $editor_height = 400;
|
||||||
else $editor_height = $option->height;
|
else $editor_height = $option->height;
|
||||||
|
|
@ -178,11 +172,6 @@
|
||||||
**/
|
**/
|
||||||
Context::set('html_mode', $html_mode);
|
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_component_grant = $editor_config->enable_component_grant;
|
||||||
$config->enable_html_grant = $editor_config->enable_html_grant;
|
$config->enable_html_grant = $editor_config->enable_html_grant;
|
||||||
$config->editor_height = $editor_config->editor_height;
|
$config->editor_height = $editor_config->editor_height;
|
||||||
$config->enable_height_resizable = $editor_config->enable_height_resizable;
|
|
||||||
$config->enable_autosave = $editor_config->enable_autosave;
|
$config->enable_autosave = $editor_config->enable_autosave;
|
||||||
} else {
|
} else {
|
||||||
$config->editor_skin = $editor_config->comment_editor_skin;
|
$config->editor_skin = $editor_config->comment_editor_skin;
|
||||||
|
|
@ -238,7 +226,6 @@
|
||||||
$config->enable_component_grant = $editor_config->enable_comment_component_grant;
|
$config->enable_component_grant = $editor_config->enable_comment_component_grant;
|
||||||
$config->enable_html_grant = $editor_config->enable_comment_html_grant;
|
$config->enable_html_grant = $editor_config->enable_comment_html_grant;
|
||||||
$config->editor_height = $editor_config->comment_editor_height;
|
$config->editor_height = $editor_config->comment_editor_height;
|
||||||
$config->enable_height_resizable = $editor_config->enable_comment_height_resizable;
|
|
||||||
$config->enable_autosave = 'N';
|
$config->enable_autosave = 'N';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -304,9 +291,6 @@
|
||||||
// 높이 설정
|
// 높이 설정
|
||||||
$option->height = $config->editor_height;
|
$option->height = $config->editor_height;
|
||||||
|
|
||||||
// 높이 조절 옵션 설정
|
|
||||||
$option->resizable = $config->enable_height_resizable=='Y'?true:false;
|
|
||||||
|
|
||||||
// 자동 저장 유무 옵션 설정
|
// 자동 저장 유무 옵션 설정
|
||||||
$option->enable_autosave = $config->enable_autosave=='Y'?true:false;
|
$option->enable_autosave = $config->enable_autosave=='Y'?true:false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -186,9 +186,7 @@
|
||||||
<div class="mask" id="xeEditorMask_{$editor_sequence}"></div>
|
<div class="mask" id="xeEditorMask_{$editor_sequence}"></div>
|
||||||
|
|
||||||
<!-- 에디터 크기 조절 bar -->
|
<!-- 에디터 크기 조절 bar -->
|
||||||
<!--@if($enable_resizable)-->
|
|
||||||
<div class="textAreaDragIndicator"><button type="button" id="editor_drag_bar_{$editor_sequence}" title="Text Area Resizer"></button></div>
|
<div class="textAreaDragIndicator"><button type="button" id="editor_drag_bar_{$editor_sequence}" title="Text Area Resizer"></button></div>
|
||||||
<!--@end-->
|
|
||||||
|
|
||||||
<!--@if($allow_fileupload)-->
|
<!--@if($allow_fileupload)-->
|
||||||
<!-- 첨부파일 영역 -->
|
<!-- 첨부파일 영역 -->
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,7 @@
|
||||||
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>
|
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>
|
||||||
|
|
||||||
<!-- 에디터 크기 조절 bar -->
|
<!-- 에디터 크기 조절 bar -->
|
||||||
<!--@if($enable_resizable)-->
|
|
||||||
<div class="textAreaDragIndicator"><div class="textAreaDragIndicatorBar" id="editor_drag_bar_{$editor_sequence}"></div></div>
|
<div class="textAreaDragIndicator"><div class="textAreaDragIndicatorBar" id="editor_drag_bar_{$editor_sequence}"></div></div>
|
||||||
<!--@end-->
|
|
||||||
|
|
||||||
<!--@if($allow_fileupload)-->
|
<!--@if($allow_fileupload)-->
|
||||||
<!--%import("../../tpl/js/uploader.js",optimized=false)-->
|
<!--%import("../../tpl/js/uploader.js",optimized=false)-->
|
||||||
|
|
|
||||||
|
|
@ -120,18 +120,6 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><p>{$lang->about_editor_height}</p></td>
|
<td colspan="2"><p>{$lang->about_editor_height}</p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="row2">
|
|
||||||
<th rowspan="2"><div>{$lang->height_resizable}</div></th>
|
|
||||||
<td>
|
|
||||||
<input type="checkbox" value="Y" name="enable_height_resizable" <!--@if($editor_config->enable_height_resizable=='Y')-->checked="checked"<!--@end-->/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<input type="checkbox" value="Y" name="enable_comment_height_resizable" <!--@if($editor_config->enable_comment_height_resizable=='Y')-->checked="checked"<!--@end-->/>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="2"><p>{$lang->about_editor_height_resizable}</p></td>
|
|
||||||
</tr>
|
|
||||||
<tr class="row2">
|
<tr class="row2">
|
||||||
<th rowspan="2"><div>{$lang->enable_autosave}</div></th>
|
<th rowspan="2"><div>{$lang->enable_autosave}</div></th>
|
||||||
<td colspan="2"><input type="checkbox" value="Y" name="enable_autosave" <!--@if($editor_config->enable_autosave=='Y')-->checked="checked"<!--@end-->/></td>
|
<td colspan="2"><input type="checkbox" value="Y" name="enable_autosave" <!--@if($editor_config->enable_autosave=='Y')-->checked="checked"<!--@end-->/></td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue