ZB 1.1.0 Front-end Refactoring. ing.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4783 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2008-11-06 18:03:15 +00:00
parent 0c6422b669
commit 7eefe43491
39 changed files with 1755 additions and 1531 deletions

View file

@ -1,6 +1,12 @@
<!--// 스킨 css 로드 -->
<!--%import("css/editor.css")-->
<!--@if($module_info->colorset == "black")-->
<!--%import("css/black.css")-->
<!--@else-->
<!--%import("css/white.css")-->
<!--@end-->
<!--// 기본 js/언어파일 로드 -->
<!--%import("../../tpl/js/editor_common.js")-->
<!--%import("../../tpl/js/editor.js")-->
@ -12,6 +18,14 @@
<input type="hidden" name="_saved_doc_message" value="{$lang->msg_load_saved_doc}" />
<!--@end-->
<div class="editorTemporary">
<!--@if($is_logged)-->
<span class="button small"><input type="button" value="{$lang->cmd_temp_save}" onclick="doDocumentSave(this); return false;" /></span>
<span class="button small"><input type="button" value="{$lang->cmd_load}" onclick="doDocumentLoad(this); return false;" /></span>
<!--@end-->
</div>
<ul class="editorTypeSelector">
<li class="active" id="use_rich_{$editor_sequence}"><a href="#xeEditor" onclick="editorChangeMode('', '{$editor_sequence}')"><span>{$lang->edit->rich_editor}</span></a></li>
@ -21,6 +35,8 @@
<li id="use_html_{$editor_sequence}"><a href="#htmlEditor" onclick="editorChangeMode('html', '{$editor_sequence}')"><span>{$lang->edit->html_editor}</span></a></li>
<!--@end-->
<!--@end-->
<li><a href="#" onclick="doDocumentPreview(this); return false;"><span>{$lang->cmd_preview}</span></a></li>
</ul>
<!-- 에디터 -->
@ -117,25 +133,27 @@
<div class="editorHelp" id="editorHelp_{$editor_sequence}">
<button type="button" class="helpButton" title="{$lang->edit->help}" onclick="showEditorHelp(event,{$editor_sequence})"><span>{$lang->edit->help}</span></button>
<ul id="helpList_{$editor_sequence}" class="helpList">
<!--@if(!$_COOKIE['EditorInfo'])-->
<!-- 에디터 안내 출력 -->
<li>{$lang->about_dblclick_in_editor}</li>
<li>{$lang->edit->help_use_paragrapth}</li>
<!--@end-->
<li>{$lang->edit->help_command}
<ul>
<li>Un Do : Ctrl+Z</li>
<li>Re Do : Ctrl+Y</li>
<li>Bold : Ctrl+B</li>
<li>Underline : Ctrl+U</li>
<li>Italic : Ctrl+I</li>
<li>Style Remover : Ctrl+D</li>
<li>URL : Ctrl+L</li>
</ul>
</li>
</ul>
</div>
<ul id="helpList_{$editor_sequence}" class="helpList">
<!--@if(!$_COOKIE['EditorInfo'])-->
<!-- 에디터 안내 출력 -->
<li>{$lang->about_dblclick_in_editor}</li>
<li>{$lang->edit->help_use_paragrapth}</li>
<!--@end-->
<li>{$lang->edit->help_command}
<ul>
<li>Un Do : Ctrl+Z</li>
<li>Re Do : Ctrl+Y</li>
<li>Bold : Ctrl+B</li>
<li>Underline : Ctrl+U</li>
<li>Italic : Ctrl+I</li>
<li>Style Remover : Ctrl+D</li>
<li>URL : Ctrl+L</li>
</ul>
</li>
</ul>
</div>
<!--@if($enable_autosave)-->
@ -143,15 +161,18 @@
<!--@end-->
<!-- 에디터 출력 -->
<iframe id="editor_iframe_{$editor_sequence}" class="richEditor" frameborder="0" height="{$editor_height}"></iframe>
<textarea id="editor_textarea_{$editor_sequence}" class="htmlEditor" style="height:{$editor_height}" rows="5" cols="20"></textarea>
<div class="editorBox">
<div class="editorMargin">
<iframe id="editor_iframe_{$editor_sequence}" class="richEditor" frameborder="0" height="{$editor_height}" title="Rich Text Editor"></iframe>
<textarea id="editor_textarea_{$editor_sequence}" class="htmlEditor" style="height:{$editor_height}" rows="5" cols="20" title="HTML Editor"></textarea>
</div>
</div>
<div class="mask" id="xeEditorMask_{$editor_sequence}"></div>
<!-- 에디터 크기 조절 bar -->
<!--@if($enable_resizable)-->
<div class="textAreaDragIndicator"><button type="button" id="editor_drag_bar_{$editor_sequence}"></button></div>
<div class="textAreaDragIndicator"><button type="button" id="editor_drag_bar_{$editor_sequence}" title="Text Area Resizer"></button></div>
<!--@end-->
<!--@if($allow_fileupload)-->
@ -178,7 +199,7 @@
<div class="fileUploader">
<div class="preview" id="preview_uploaded_{$editor_sequence}"></div>
<div class="fileListArea">
<select id="uploaded_file_list_{$editor_sequence}" multiple="multiple" class="fileList"></select>
<select id="uploaded_file_list_{$editor_sequence}" multiple="multiple" class="fileList"><option></option></select>
</div>
<div class="fileUploadControl">
<span class="button" id="swfUploadButton{$editor_sequence}"><button type="button">{$lang->edit->upload_file}</button></span>