mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
2. 게시판 모듈(board)의 경우 기본 설정 - 추가 설정 - 권한 설정을 여러개의 게시판에 대해서 일괄 적용할 수 있도록 기능 추가 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3519 201d5d3c-b55e-5fd7-737f-ddc643e51545
90 lines
4.5 KiB
HTML
90 lines
4.5 KiB
HTML
<!-- 스킨 css 로드 -->
|
|
<!--%import("css/xq_ui.css")-->
|
|
<!--%import("css/default.css")-->
|
|
<script type="text/javascript">
|
|
var editor_path = "{$editor_path}";
|
|
</script>
|
|
|
|
<!-- 기본 js/언어파일 로드 -->
|
|
<!--%import("../../tpl/js/editor_common.js")-->
|
|
<!--%import("js/xquared-min.js")-->
|
|
<!--%import("js/xe_interface.js")-->
|
|
|
|
<!-- 에디터 활성화 -->
|
|
<script type="text/javascript">//<![CDATA[
|
|
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
|
var xed_{$editor_sequence};
|
|
xAddEventListener(window, 'load', function() {
|
|
if(document.getElementById("comment_{$editor_sequence}") == null || document.getElementById("comment_{$editor_sequence}").style.display != 'none'){
|
|
editorStart_xq(xed_{$editor_sequence}, document.getElementById("xqEditor_{$editor_sequence}"), {$editor_sequence}, "{$editor_content_key_name}", "{$editor_height}px", "{$editor_primary_key_name}");
|
|
}});
|
|
//]]></script>
|
|
|
|
<!-- 자동저장용 폼 -->
|
|
<!--@if($enable_autosave)-->
|
|
<input type="hidden" name="_saved_doc_title" value="{htmlspecialchars($saved_doc->title)}" />
|
|
<input type="hidden" name="_saved_doc_content" value="{htmlspecialchars($saved_doc->content)}" />
|
|
<input type="hidden" name="_saved_doc_message" value="{$lang->msg_load_saved_doc}" />
|
|
<!--@end-->
|
|
|
|
<!-- 에디터 -->
|
|
<div class="xeEditor" style="margin-top:5px; margin-bottom:5px;">
|
|
<!--@if($enable_component)-->
|
|
<!-- 확장 컴포넌트 출력 -->
|
|
<div class="optionDE">
|
|
<div class="optionE">
|
|
<div class="buttonGroup" id="editor_component_{$editor_sequence}">
|
|
<!--@foreach($component_list as $component_name => $component)-->
|
|
<!--@if(substr($component_name,0,11)!="colorpicker")-->
|
|
<img src="../../components/{$component_name}/icon.gif" alt="{$component->title}" title="{$component->title}" id="component_{$editor_sequence}_{$component_name}" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
|
<!--@end-->
|
|
<!--@end-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--@end-->
|
|
|
|
<!-- HTML 모드 사용 기능 및 자동저장 메세지 출력용 -->
|
|
<div class="editor_info">
|
|
<div class="editor_autosaved_message" id="editor_autosaved_message_{$editor_sequence}"> </div>
|
|
</div>
|
|
|
|
<!-- 에디터 출력 -->
|
|
<div id = "xqEditor_{$editor_sequence}"></div>
|
|
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>
|
|
|
|
<!-- 에디터 크기 조절 bar -->
|
|
<!--@if($enable_resizable)-->
|
|
<div class="textAreaDragIndicator"><div class="textAreaDragIndicatorBar" id="editor_drag_bar_{$editor_sequence}"></div></div>
|
|
<!--@end-->
|
|
|
|
<!--@if($allow_fileupload)-->
|
|
<!-- 첨부파일 영역 -->
|
|
<!--%import("../../tpl/js/uploader.js")-->
|
|
<script type="text/javascript">//<![CDATA[
|
|
var zbxe_session_name = "{session_name()}";
|
|
var uploader_setting = { "allowed_filesize" : "{$file_config->allowed_filesize}", "allowed_filetypes" : "{$file_config->allowed_filetypes}", "allowed_filetypes_description" : "{$file_config->allowed_filetypes}" }
|
|
<!--@if(!$editor_manual_start)-->
|
|
editor_upload_init("{$editor_sequence}", editorGetForm_xq(document.getElementById("xqEditor_{$editor_sequence}")));
|
|
<!--@end-->
|
|
//]]></script>
|
|
|
|
<div class="fileAttach">
|
|
<div class="preview" id="preview_uploaded_{$editor_sequence}"><img src="./images/blank.gif" alt="preview" width="100" height="100" /></div>
|
|
|
|
<!-- 파일 업로드 영역 -->
|
|
<div class="fileListArea">
|
|
<select id="uploaded_file_list_{$editor_sequence}" multiple="multiple" size="5" class="fileList" onclick="editor_preview(this, '{$editor_sequence}');"></select>
|
|
<span class="file_attach_info" id="uploader_status_{$editor_sequence}">{$upload_status}</span>
|
|
</div>
|
|
|
|
<div class="fileUploadControl"><a href="#" onclick="editor_upload_file('{$editor_sequence}');return false;" class="button"><span>{$lang->edit->upload_file}</span></a></div>
|
|
<div class="fileUploadControl"><a href="#" onclick="editor_remove_file('{$editor_sequence}');return false;" class="button"><span>{$lang->edit->delete_selected}</span></a></div>
|
|
<div class="fileUploadControl"><a href="#" onclick="editor_insert_file_xq('{$editor_sequence}');return false;" class="button"><span>{$lang->edit->link_file}</span></a></div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
<!--@end-->
|
|
</div>
|
|
|
|
|