#119 파이어폭스에서 에디터에 포커스가 이동되어도 커서가 나타나지 않던 문제 해결.
#117 위지윅 에디터의 스킨화를 위한 분리 및 검사 완료. 단 모듈에서 에디터 스킨을 선택하는 부분에 대한 기획 필요. 에디터 tpl내의 언어파일을 에디터 모듈의 공통 언어로 합쳐서 수정. 에디터 iframe을 window.onload후 객체 생성을 하지 않고 바로 html태그로 출력하여 브라우저의 버벅거림을 살짝 줄임. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2406 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
|
@ -201,7 +201,7 @@
|
|||
$option->enable_default_component = true;
|
||||
$option->enable_component = true;
|
||||
$option->resizable = true;
|
||||
$option->height = 600;
|
||||
$option->height = 400;
|
||||
$editor = $oEditorModel->getEditor($document_srl, $option);
|
||||
Context::set('editor', $editor);
|
||||
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@
|
|||
$option->enable_default_component = true;
|
||||
$option->enable_component = true;
|
||||
$option->resizable = true;
|
||||
$option->height = 600;
|
||||
$option->height = 400;
|
||||
$editor = $oEditorModel->getEditor($document_srl, $option);
|
||||
Context::set('editor', $editor);
|
||||
|
||||
|
|
@ -279,7 +279,7 @@
|
|||
Context::set('comment', $comment);
|
||||
|
||||
// 댓글 에디터 세팅
|
||||
$this->setCommentEditor($comment_srl, 400);
|
||||
$this->setCommentEditor($comment_srl, 300);
|
||||
|
||||
$this->setTemplateFile('comment_form');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,25 +13,34 @@
|
|||
* @brief 에디터를 return
|
||||
**/
|
||||
function getEditor($upload_target_srl, $option = null) {
|
||||
// 옵션 설정
|
||||
// 파일 업로드 유무 옵션 설정
|
||||
if(!$option->allow_fileupload) $allow_fileupload = false;
|
||||
else $allow_fileupload = true;
|
||||
|
||||
// 자동 저장 유무 옵션 설정
|
||||
if(!$option->enable_autosave) $enable_autosave = false;
|
||||
else $enable_autosave = true;
|
||||
|
||||
// 기본 에디터 컴포넌트 사용 설정
|
||||
if(!$option->enable_default_component) $enable_default_component = false;
|
||||
else $enable_default_component = true;
|
||||
|
||||
// 확장 컴포넌트 사용 설정
|
||||
if(!$option->enable_component) $enable_component = false;
|
||||
else $enable_component = true;
|
||||
|
||||
// 크기 조절 옵션 설정
|
||||
if(!$option->resizable) $resizable = 'false';
|
||||
else $resizable = 'true';
|
||||
|
||||
// 높이 설정
|
||||
if(!$option->height) $editor_height = 400;
|
||||
else $editor_height = $option->height;
|
||||
|
||||
// 스킨 설정
|
||||
if(!$option->skin) $skin = 'default';
|
||||
else $skin = $option->skin;
|
||||
|
||||
// 대상 문서 번호 설정
|
||||
Context::set('upload_target_srl', $upload_target_srl);
|
||||
|
||||
|
|
@ -77,7 +86,7 @@
|
|||
Context::set('editor_height', $editor_height);
|
||||
|
||||
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
|
||||
$tpl_path = $this->module_path.'tpl';
|
||||
$tpl_path = sprintf('%sskins/%s/', $this->module_path, $skin);
|
||||
$tpl_file = 'editor.html';
|
||||
|
||||
// editor_path를 지정
|
||||
|
|
|
|||
|
|
@ -27,4 +27,59 @@
|
|||
|
||||
$lang->cmd_disable = "Inactive";
|
||||
$lang->cmd_enable = "Active";
|
||||
|
||||
$lang->edit->fontname = 'Font';
|
||||
$lang->edit->fontsize = 'Size';
|
||||
$lang->edit->use_paragraph = 'Paragraph Function';
|
||||
$lang->edit->fontlist = array(
|
||||
"Gulim",
|
||||
"Dodum",
|
||||
"Batang",
|
||||
"Goongseo",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "Style";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "Subject 1",
|
||||
"h2" => "Subject 2",
|
||||
"h3" => "Subject 3",
|
||||
"h4" => "Subject 4",
|
||||
"h5" => "Subject 5",
|
||||
"h6" => "Subject 6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = 'Submit';
|
||||
|
||||
$lang->edit->help_fontcolor = "Select font color";
|
||||
$lang->edit->help_fontbgcolor = "Select background color of font";
|
||||
$lang->edit->help_bold = "Make font bold";
|
||||
$lang->edit->help_italic = "Make italic font";
|
||||
$lang->edit->help_underline = "Underline font";
|
||||
$lang->edit->help_strike = "Strike font";
|
||||
$lang->edit->help_redo = "Redo";
|
||||
$lang->edit->help_undo = "Undo";
|
||||
$lang->edit->help_align_left = "Align left";
|
||||
$lang->edit->help_align_center = "Align center";
|
||||
$lang->edit->help_align_right = "Align right";
|
||||
$lang->edit->help_add_indent = "Add indent";
|
||||
$lang->edit->help_remove_indent = "Remove indent";
|
||||
$lang->edit->help_list_number = "Apply number list";
|
||||
$lang->edit->help_list_bullet = "Apply bullet list";
|
||||
$lang->edit->help_use_paragrapth = "Press Ctrl+Enter to use paragraph. (Press Alt+S to save)";
|
||||
|
||||
$lang->edit->upload = 'Attachment';
|
||||
$lang->edit->upload_file = 'Attach';
|
||||
$lang->edit->link_file = 'Insert to Content';
|
||||
$lang->edit->delete_selected = 'Delete Selected';
|
||||
|
||||
$lang->edit->icon_align_article = 'Occupy a paragraph';
|
||||
$lang->edit->icon_align_left = 'Align Left';
|
||||
$lang->edit->icon_align_middle = 'Align Center';
|
||||
$lang->edit->icon_align_right = 'Align Right';
|
||||
|
||||
$lang->about_dblclick_in_editor = 'You are able to set detail component configure by double-clicking on background, text, images, or quotations';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -27,4 +27,59 @@
|
|||
|
||||
$lang->cmd_disable = "Activado";
|
||||
$lang->cmd_enable = "Desactivado";
|
||||
|
||||
$lang->edit->fontname = 'Font';
|
||||
$lang->edit->fontsize = 'Size';
|
||||
$lang->edit->use_paragraph = 'Paragraph Function';
|
||||
$lang->edit->fontlist = array(
|
||||
"Gulim",
|
||||
"Dodum",
|
||||
"Batang",
|
||||
"Goongseo",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "Style";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "Subject 1",
|
||||
"h2" => "Subject 2",
|
||||
"h3" => "Subject 3",
|
||||
"h4" => "Subject 4",
|
||||
"h5" => "Subject 5",
|
||||
"h6" => "Subject 6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = 'Submit';
|
||||
|
||||
$lang->edit->help_fontcolor = "Select font color";
|
||||
$lang->edit->help_fontbgcolor = "Select background color of font";
|
||||
$lang->edit->help_bold = "Make font bold";
|
||||
$lang->edit->help_italic = "Make italic font";
|
||||
$lang->edit->help_underline = "Underline font";
|
||||
$lang->edit->help_strike = "Strike font";
|
||||
$lang->edit->help_redo = "Redo";
|
||||
$lang->edit->help_undo = "Undo";
|
||||
$lang->edit->help_align_left = "Align left";
|
||||
$lang->edit->help_align_center = "Align center";
|
||||
$lang->edit->help_align_right = "Align right";
|
||||
$lang->edit->help_add_indent = "Add indent";
|
||||
$lang->edit->help_remove_indent = "Remove indent";
|
||||
$lang->edit->help_list_number = "Apply number list";
|
||||
$lang->edit->help_list_bullet = "Apply bullet list";
|
||||
$lang->edit->help_use_paragrapth = "Press Ctrl+Enter to use paragraph. (Press Alt+S to save)";
|
||||
|
||||
$lang->edit->upload = 'Attachment';
|
||||
$lang->edit->upload_file = 'Attach';
|
||||
$lang->edit->link_file = 'Insert to Content';
|
||||
$lang->edit->delete_selected = 'Delete Selected';
|
||||
|
||||
$lang->edit->icon_align_article = 'Occupy a paragraph';
|
||||
$lang->edit->icon_align_left = 'Align Left';
|
||||
$lang->edit->icon_align_middle = 'Align Center';
|
||||
$lang->edit->icon_align_right = 'Align Right';
|
||||
|
||||
$lang->about_dblclick_in_editor = 'You are able to set detail component configure by double-clicking on background, text, images, or quotations';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -27,4 +27,59 @@
|
|||
|
||||
$lang->cmd_disable = "未使用";
|
||||
$lang->cmd_enable = "使用";
|
||||
|
||||
$lang->edit->fontname = 'フォント';
|
||||
$lang->edit->fontsize = 'サイズ';
|
||||
$lang->edit->use_paragraph = '段落機能';
|
||||
$lang->edit->fontlist = array(
|
||||
"MS Pゴシック",
|
||||
"MS P明朝",
|
||||
"Osaka-等幅",
|
||||
"ヒラギノ角ゴ Pro W3",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "見出し";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "見出し1",
|
||||
"h2" => "見出し2",
|
||||
"h3" => "見出し3",
|
||||
"h4" => "見出し4",
|
||||
"h5" => "見出し5",
|
||||
"h6" => "見出し6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = '送信';
|
||||
|
||||
$lang->edit->help_fontcolor = "テキストの色を指定します。";
|
||||
$lang->edit->help_fontbgcolor = "テキストの背景色を指定します。";
|
||||
$lang->edit->help_bold = "テキストを太字に指定します。";
|
||||
$lang->edit->help_italic = "テキストを斜体にします。";
|
||||
$lang->edit->help_underline = "テキストに下線(アンダーライン)を引きます。";
|
||||
$lang->edit->help_strike = "打ち消し線を引きます。";
|
||||
$lang->edit->help_redo = "直前に取り消した処理をもう一度繰り返して実行します。";
|
||||
$lang->edit->help_undo = "直前に行った操作や処理を取り消し元に戻します。";
|
||||
$lang->edit->help_align_left = "テキストを左揃えで表示します。";
|
||||
$lang->edit->help_align_center = "テキストを中央揃えで表示します。";
|
||||
$lang->edit->help_align_right = "テキストを右揃えで表示します。";
|
||||
$lang->edit->help_add_indent = "テキストの行頭の位置を右に寄せます。";
|
||||
$lang->edit->help_remove_indent = "インデント(字下げ)を除去します。";
|
||||
$lang->edit->help_list_number = "リスト項目に数字で順序を付けます。";
|
||||
$lang->edit->help_list_bullet = "記号でリスト項目を記述します。";
|
||||
$lang->edit->help_use_paragrapth = "段落機能を使用する場合は、「Ctrl+Enter」を押します(書き終わった後、「Alt+S」を押すと保存されます)。";
|
||||
|
||||
$lang->edit->upload = '添付';
|
||||
$lang->edit->upload_file = 'ファイル添付';
|
||||
$lang->edit->link_file = 'テキスト挿入';
|
||||
$lang->edit->delete_selected = '選択リスト削除';
|
||||
|
||||
$lang->edit->icon_align_article = '一段落';
|
||||
$lang->edit->icon_align_left = '左揃え';
|
||||
$lang->edit->icon_align_middle = '中央揃え';
|
||||
$lang->edit->icon_align_right = '右揃え';
|
||||
|
||||
$lang->about_dblclick_in_editor = '背景、文字、イメージ、引用文の上にカーソルを合わせ,ダブルクリックすると詳細設定できるコンポーネントを表示します。';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -27,4 +27,59 @@
|
|||
|
||||
$lang->cmd_disable = "비활성";
|
||||
$lang->cmd_enable = "활성";
|
||||
|
||||
$lang->edit->fontname = '글꼴';
|
||||
$lang->edit->fontsize = '크기';
|
||||
$lang->edit->use_paragraph = '문단기능';
|
||||
$lang->edit->fontlist = array(
|
||||
"굴림",
|
||||
"돋움",
|
||||
"바탕",
|
||||
"궁서",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "형식";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "제목 1",
|
||||
"h2" => "제목 2",
|
||||
"h3" => "제목 3",
|
||||
"h4" => "제목 4",
|
||||
"h5" => "제목 5",
|
||||
"h6" => "제목 6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = '확인';
|
||||
|
||||
$lang->edit->help_fontcolor = "글자의 색상을 지정합니다";
|
||||
$lang->edit->help_fontbgcolor = "글자의 배경색상을 지정합니다";
|
||||
$lang->edit->help_bold = "글자를 진하게 합니다";
|
||||
$lang->edit->help_italic = "글자를 기울이게 합니다";
|
||||
$lang->edit->help_underline = "밑줄을 긋습니다";
|
||||
$lang->edit->help_strike = "취소선을 긋습니다";
|
||||
$lang->edit->help_redo = "다음 동작으로 돌아갑니다";
|
||||
$lang->edit->help_undo = "이전 동작으로 돌아갑니다";
|
||||
$lang->edit->help_align_left = "왼쪽 정렬을 합니다";
|
||||
$lang->edit->help_align_center = "가운데 정렬을 합니다";
|
||||
$lang->edit->help_align_right = "오른쪽 정렬을 합니다";
|
||||
$lang->edit->help_add_indent = "들여쓰기를 합니다";
|
||||
$lang->edit->help_remove_indent = "들여쓰기를 제거합니다";
|
||||
$lang->edit->help_list_number = "숫자로된 목록을 적용합니다";
|
||||
$lang->edit->help_list_bullet = "기호로된 목록을 적용합니다";
|
||||
$lang->edit->help_use_paragrapth = "문단 나누기를 하시려면 ctrl-엔터를 누르시면 됩니다. (글 작성완료후 alt-S를 누르면 저장이 됩니다)";
|
||||
|
||||
$lang->edit->upload = '첨부';
|
||||
$lang->edit->upload_file = '파일 첨부';
|
||||
$lang->edit->link_file = '본문 삽입';
|
||||
$lang->edit->delete_selected = '선택 삭제';
|
||||
|
||||
$lang->edit->icon_align_article = '한 문단을 차지';
|
||||
$lang->edit->icon_align_left = '글의 왼쪽으로';
|
||||
$lang->edit->icon_align_middle = '가운데 정렬';
|
||||
$lang->edit->icon_align_right = '글의 우측으로';
|
||||
|
||||
$lang->about_dblclick_in_editor = '배경, 글자, 이미지, 인용문등에서 더블클릭을 하시면 상세한 컴포넌트 설정이 가능합니다';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -27,4 +27,59 @@
|
|||
|
||||
$lang->cmd_disable = "非激活";
|
||||
$lang->cmd_enable = "激活";
|
||||
|
||||
$lang->edit->fontname = '字体';
|
||||
$lang->edit->fontsize = '大小';
|
||||
$lang->edit->use_paragraph = '段落功能';
|
||||
$lang->edit->fontlist = array(
|
||||
"仿宋_GB2312",
|
||||
"黑体",
|
||||
"楷体_GB2312",
|
||||
"宋体",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "样式";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "标题 1",
|
||||
"h2" => "标题 2",
|
||||
"h3" => "标题 3",
|
||||
"h4" => "标题 4",
|
||||
"h5" => "标题 5",
|
||||
"h6" => "标题 6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = '确认';
|
||||
|
||||
$lang->edit->help_fontcolor = "文本颜色";
|
||||
$lang->edit->help_fontbgcolor = "背景颜色";
|
||||
$lang->edit->help_bold = "粗体";
|
||||
$lang->edit->help_italic = "斜体";
|
||||
$lang->edit->help_underline = "下划线";
|
||||
$lang->edit->help_strike = "取消线";
|
||||
$lang->edit->help_redo = "重新操作";
|
||||
$lang->edit->help_undo = "返回操作";
|
||||
$lang->edit->help_align_left = "左对齐";
|
||||
$lang->edit->help_align_center = "居中对齐";
|
||||
$lang->edit->help_align_right = "右对齐";
|
||||
$lang->edit->help_add_indent = "缩进";
|
||||
$lang->edit->help_remove_indent = "清除缩进";
|
||||
$lang->edit->help_list_number = "有序列表";
|
||||
$lang->edit->help_list_bullet = "无序列表";
|
||||
$lang->edit->help_use_paragrapth = "分段请按 ctrl+回车. (发表主题快捷键:alt+S)";
|
||||
|
||||
$lang->edit->upload = '上传';
|
||||
$lang->edit->upload_file = '上传附件';
|
||||
$lang->edit->link_file = '插入内容';
|
||||
$lang->edit->delete_selected = '删除所选';
|
||||
|
||||
$lang->edit->icon_align_article = '占一个段落';
|
||||
$lang->edit->icon_align_left = '文本左侧';
|
||||
$lang->edit->icon_align_middle = '居中对齐';
|
||||
$lang->edit->icon_align_right = '文本右侧';
|
||||
|
||||
$lang->about_dblclick_in_editor = '双击背景, 文本, 图片, 引用即可对其相关组件进行详细设置。';
|
||||
?>
|
||||
|
|
|
|||
50
modules/editor/skins/default/css/editor.css
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
@charset "utf-8";
|
||||
|
||||
.xeEditor { }
|
||||
.xeEditor .optionABC { clear:both; width:100%; border-bottom:1px solid #c2c2c2; overflow:hidden; background:#ffffff url(../images/bgBoardEditorOption.gif) no-repeat -3px bottom;}
|
||||
.xeEditor .optionABC .selectGroup { white-space:nowrap; display:block; height:21px; margin:0 .5em 0 0; padding-left:1em; float:left;}
|
||||
.xeEditor .optionABC .buttonGroup { white-space:nowrap; position:relative; display:block; margin:0 .5em 0 0; float:left; height:21px; overflow:hidden; padding-left:2px;}
|
||||
.xeEditor .optionABC .buttonGroup img { float:left; display:block; margin-left:-1px; cursor:pointer;}
|
||||
.xeEditor .optionA,
|
||||
.xeEditor .optionB,
|
||||
.xeEditor .optionC { float:left; background:#ffffff url(../images/bgBoardEditorOption.gif) no-repeat left bottom; padding:.5em 0 .5em .7em; overflow:hidden;}
|
||||
.xeEditor .optionA *,
|
||||
.xeEditor .optionB *,
|
||||
.xeEditor .optionC * { vertical-align:middle;}
|
||||
.xeEditor .optionA { background-position:-3px bottom; padding-left:0;}
|
||||
.xeEditor .optionA select option { font-size:.9em; }
|
||||
.xeEditor .optionDE { width:100%; clear:both; overflow:hidden; background:#f8f8f8; border-bottom:1px solid #e1e1e1; height:29px;}
|
||||
.xeEditor .optionDE .buttonGroup { white-space:nowrap; position:relative; display:block; float:left; height:21px; overflow:hidden; padding-left:2px;}
|
||||
.xeEditor .optionDE img { float:left; display:block; margin-right:.5em; cursor:pointer;}
|
||||
.xeEditor .optionD { padding:.5em 0 .5em .8em; overflow:hidden; float:left; border-right:1px solid #e0e0e0;}
|
||||
.xeEditor .optionE { padding:4px 0 0 8px; overflow:hidden; border-left:1px solid #ffffff; float:left;}
|
||||
|
||||
.xeEditor .editorInfo { background:#fbfbfb; padding:.5em; border:1px solid #e1e1dd; color:#999999; position:relative; margin:5px 20px 0 20px;}
|
||||
.xeEditor .close { cursor:pointer; position:absolute; top:3px; right:3px; _top:3px; _right:25px;}
|
||||
.xeEditor .editor_iframe_box { background:#ffffff; clear:both; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; padding:.5em; margin:0 20px 0 20px; }
|
||||
|
||||
.xeEditor .textAreaDragIndicator { text-align:center; background:url(../images/lineTextAreaDrag.gif) repeat-x left center; padding:5px 0 5px 0; }
|
||||
.xeEditor .textAreaDragIndicatorBar { background:url(../images/buttonTextAreaDrag.gif) no-repeat center; cursor:move;height:14px;}
|
||||
|
||||
.xeEditor .editor_info { clear:both; padding:5px 20px 5px 20px; overflow:hidden;}
|
||||
.xeEditor .editor_info .editor_option { float:left; color:#888888; }
|
||||
.xeEditor .editor_info .editor_autosaved_message { color:#888888; float:right; }
|
||||
|
||||
.xeEditor .inputTypeTextArea { background:#fbfbfb; padding:1em; width:94%;}
|
||||
.xeEditor #textAreaDrag {}
|
||||
.xeEditor .fileAttach { padding:0 1em .5em 1em;}
|
||||
.xeEditor .fileAttach .preview { padding:5px; width:110px; height:110px; border:1px solid #e1e1dd; background:#fbfbfb; float:left; margin-right:.5em;}
|
||||
.xeEditor .fileAttach .preview img { width:110px; height:110px; float:left; display:block;}
|
||||
.xeEditor .fileAttach .fileListArea { float:left; width:50%; margin-right:.7em; padding-bottom:.5em; margin-bottom:1em}
|
||||
.xeEditor .fileAttach .fileListArea .fileList { overflow:auto; width:100%; height:auto; border:1px solid; border-color:#a6a6a6 #d8d8d8 #d8d8d8 #a6a6a6; margin-bottom:.3em; font-size:11px;}
|
||||
.xeEditor .fileAttach .fileListArea .fileList option { line-height:100%; padding-left:.5em;}
|
||||
.xeEditor .fileAttach .fileListArea span.file_attach_info { color:#3f4040; font-size:11px; text-align:left;}
|
||||
.xeEditor .fileAttach .fileListArea span.file_attach_info strong { color:#ff6600; font-size:11px; font-weight:bold; }
|
||||
.xeEditor .fileAttach .fileUploadControl { margin-bottom:5px; }
|
||||
|
||||
.xeEditor .fileAttach .fileUploadControl .uploaderButton { display:block; cursor:pointer; background:url(../images/buttonTypeBCenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; font-size:.9em; white-space:nowrap;}
|
||||
.xeEditor .fileAttach .fileUploadControl .uploaderButton:hover { text-decoration:none;}
|
||||
.xeEditor .fileAttach .fileUploadControl .uploaderButton img { vertical-align:middle;}
|
||||
.xeEditor .fileAttach .fileUploadControl .uploaderButton .leftCap { width:2px; height:21px; background:url(../images/buttonTypeBLeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||
.xeEditor .fileAttach .fileUploadControl .uploaderButton .rightCap { width:2px; height:21px; background:url(../images/buttonTypeBRight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||
.xeEditor .fileAttach .fileUploadControl .uploaderButton .icon { margin:0 .2em;}
|
||||
167
modules/editor/skins/default/editor.html
Normal file
|
|
@ -0,0 +1,167 @@
|
|||
<!-- 스킨 css 로드 -->
|
||||
<!--%import("css/editor.css")-->
|
||||
|
||||
<!-- 기본 js/언어파일 로드 -->
|
||||
<!--%import("../../tpl/js/editor.js")-->
|
||||
|
||||
<!-- 에디터 활성화 -->
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var editor_path = "{$editor_path}";
|
||||
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||
xAddEventListener(window, 'load', function() { editorStart("{$upload_target_srl}", {$enable_resizable}, '{$editor_height}' ) } );
|
||||
//]]></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">
|
||||
|
||||
<div id="xeEditorOption_{$upload_target_srl}">
|
||||
|
||||
<!--@if($enable_default_component)-->
|
||||
<!-- 기본 컴포넌트 출력 -->
|
||||
<div class="optionABC">
|
||||
<div class="optionA">
|
||||
<div class="selectGroup">
|
||||
<select onchange="editorChangeFontName(this,'{$upload_target_srl}')" id="editor_font_{$upload_target_srl}">
|
||||
<option value="">{$lang->edit->fontname}</option>
|
||||
<!--@foreach($lang->edit->fontlist as $key=>$obj)-->
|
||||
<option style="font-family:{$obj}" value="{$obj}">{$obj}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
|
||||
<select onchange="editorChangeFontSize(this,'{$upload_target_srl}')" id="editor_fontsize_{$upload_target_srl}">
|
||||
<option value="" selected="selected">{$lang->edit->fontsize}</option>
|
||||
<option value="1">8pt</option>
|
||||
<option value="2">10pt</option>
|
||||
<option value="3">12pt</option>
|
||||
<option value="4">14pt</option>
|
||||
<option value="5">18pt</option>
|
||||
<option value="6">24pt</option>
|
||||
<option value="7">36pt</option>
|
||||
</select>
|
||||
|
||||
<select onchange="editorChangeHeader(this,'{$upload_target_srl}')" id="editor_header_{$upload_target_srl}">
|
||||
<option value="">{$lang->edit->header}</option>
|
||||
<!--@foreach($lang->edit->header_list as $key=>$obj)-->
|
||||
<option value="{$key}">{$obj}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="buttonGroup">
|
||||
<img src="./images/editor_btn_b.gif" width="23" height="63" title="{$lang->edit->help_bold}" alt="{$lang->edit->help_bold}" id="component_{$upload_target_srl}_Bold" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_i.gif" width="23" height="63" title="{$lang->edit->help_italic}" alt="{$lang->edit->help_italic}" id="component_{$upload_target_srl}_Italic" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_u.gif" width="23" height="63" title="{$lang->edit->help_underline}" alt="{$lang->edit->help_underline}" id="component_{$upload_target_srl}_Underline" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_c.gif" width="23" height="63" title="{$lang->edit->help_fontcolor}" alt="{$lang->edit->help_fontcolor}" id="component_{$upload_target_srl}_colorpicker_text" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_bg.gif" width="23" height="63" title="{$lang->edit->help_fontbgcolor}" alt="{$lang->edit->help_fontbgcolor}" id="component_{$upload_target_srl}_colorpicker_bg" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="optionB">
|
||||
<div class="buttonGroup">
|
||||
<img src="./images/editor_btn_al.gif" width="23" height="63" title="{$lang->edit->help_align_left}" alt="{$lang->edit->help_align_left}" id="component_{$upload_target_srl}_justifyleft" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_ac.gif" width="23" height="63" title="{$lang->edit->help_align_center}" alt="{$lang->edit->help_align_center}" id="component_{$upload_target_srl}_justifycenter" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_ar.gif" width="23" height="63" title="{$lang->edit->help_align_right}" alt="{$lang->edit->help_align_right}" id="component_{$upload_target_srl}_justifyright" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<!--<img src="./images/editor_btn_aj.gif" width="23" height="63" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />-->
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="buttonGroup">
|
||||
<img src="./images/editor_btn_od.gif" title="{$lang->edit->help_remove_indent}" alt="{$lang->edit->help_remove_indent}" id="component_{$upload_target_srl}_outdent" width="23" height="63" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_id.gif" width="23" height="63" title="{$lang->edit->help_add_indent}" alt="{$lang->edit->help_add_indent}" id="component_{$upload_target_srl}_indent" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
</div>
|
||||
|
||||
<div class="buttonGroup">
|
||||
<img src="./images/editor_btn_ol.gif" title="{$lang->edit->help_list_number}" alt="{$lang->edit->help_list_number}" id="component_{$upload_target_srl}_insertorderedlist" width="23" height="63" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<img src="./images/editor_btn_ul.gif" title="{$lang->edit->help_list_bullet}" alt="{$lang->edit->help_list_bullet}" id="component_{$upload_target_srl}_insertunorderedlist" width="23" height="63" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
</div>
|
||||
|
||||
<div class="buttonGroup">
|
||||
<img src="./images/editor_btn_lh.gif" alt="Line hight" width="23" height="63" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="optionC">
|
||||
<div class="buttonGroup">
|
||||
<img src="./images/editor_btn_tag.gif" alt="Tag" width="23" height="63" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($enable_component)-->
|
||||
<!-- 확장 컴포넌트 출력 -->
|
||||
<div class="optionDE">
|
||||
<div class="optionE">
|
||||
<div class="buttonGroup" id="editor_component_{$upload_target_srl}">
|
||||
<!--@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_{$upload_target_srl}_{$component_name}" onmouseover="eOptionOver(this)" onmouseout="eOptionOut(this)" />
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@if(!$_COOKIE['EditorInfo'])-->
|
||||
<div id="editorInfo_{$upload_target_srl}" class="editorInfo" >
|
||||
{$lang->about_dblclick_in_editor}
|
||||
<span id="for_ie_help_{$upload_target_srl}" style="display:none">{$lang->edit->help_use_paragrapth}</span>
|
||||
<img src="./images/buttonClose.gif" alt="close" width="13" height="13" class="close" onclick="closeEditorInfo('{$upload_target_srl}'); return false;" />
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<div class="editor_info">
|
||||
<div class="editor_option">
|
||||
<input type="checkbox" id="use_html_{$upload_target_srl}" value="Y" onclick="editorChangeMode(this, '{$upload_target_srl}');" /> <label for="use_html_{$upload_target_srl}">HTML</label>
|
||||
</div>
|
||||
<div class="editor_autosaved_message" id="editor_autosaved_message_{$upload_target_srl}"> </div>
|
||||
</div>
|
||||
|
||||
<div class="editor_iframe_box"><iframe id="editor_iframe_{$upload_target_srl}" frameBorder="0" width="100%" height="{$editor_height}" style="background-color:transparent;"></iframe></div>
|
||||
|
||||
<div class="textAreaDragIndicator"><div class="textAreaDragIndicatorBar" id="editor_drag_bar_{$upload_target_srl}"></div></div>
|
||||
|
||||
<!--@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}" }
|
||||
editor_upload_init("{$upload_target_srl}");
|
||||
//]]></script>
|
||||
|
||||
<div class="fileAttach">
|
||||
<input type="hidden" name="upload_target_srl" value="{$upload_target_srl}" />
|
||||
|
||||
<div class="preview" id="preview_uploaded_{$upload_target_srl}">
|
||||
<img src="./images/blank.gif" alt="preview" width="100" height="100" />
|
||||
</div>
|
||||
|
||||
<!-- 파일 업로드 영역 -->
|
||||
<div class="fileListArea">
|
||||
<select id="uploaded_file_list_{$upload_target_srl}" size="7" class="fileList" onclick="editor_preview(this, '{$upload_target_srl}');"></select>
|
||||
<span class="file_attach_info" id="uploader_status_{$upload_target_srl}"></span>
|
||||
</div>
|
||||
|
||||
<div class="fileUploadControl"><a href="#" onclick="editor_upload_file('{$upload_target_srl}');return false;" class="button"><span>{$lang->edit->upload_file}</span></a></div>
|
||||
<div class="fileUploadControl"><a href="#" onclick="editor_remove_file('{$upload_target_srl}');return false;" class="button"><span>{$lang->edit->delete_selected}</span></a></div>
|
||||
<div class="fileUploadControl"><a href="#" onclick="editor_insert_file('{$upload_target_srl}');return false;" class="button"><span>{$lang->edit->link_file}</span></a></div>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 58 B After Width: | Height: | Size: 58 B |
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 604 B |
|
Before Width: | Height: | Size: 657 B After Width: | Height: | Size: 657 B |
|
Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 607 B |
|
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 662 B |
|
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 669 B |
|
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
|
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
|
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 625 B |
|
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
|
Before Width: | Height: | Size: 654 B After Width: | Height: | Size: 654 B |
|
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 640 B |
|
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
|
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 622 B |
|
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
|
Before Width: | Height: | Size: 46 B After Width: | Height: | Size: 46 B |
29
modules/editor/skins/default/skin.xml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">제로보드XE 게시판 기본 스킨(목록형)</title>
|
||||
<title xml:lang="jp">ゼロボードXE掲示板のデフォルトスキン(リストスタイル)</title>
|
||||
<title xml:lang="zh-CN">Zeroboard XE Board 基本皮肤(目录型)</title>
|
||||
<title xml:lang="en">ZeroboardXE Basic Board Skin (List Style)</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">(주)NHN</name>
|
||||
<name xml:lang="jp">(株)NHN</name>
|
||||
<name xml:lang="zh-CN">(株)NHN</name>
|
||||
<name xml:lang="en">NHN Corp</name>
|
||||
<description xml:lang="ko">
|
||||
디자인 : 서기정 (http://blog.naver.com/addcozy)
|
||||
HTML/CSS : 정찬명 (http://naradesign.net)
|
||||
</description>
|
||||
<description xml:lang="jp">
|
||||
デザイン:ソギジョン (http://blog.naver.com/addcozy)
|
||||
HTML/CSS:ジョンチャンミョン (http://naradesign.net)
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
设计 : Ki-Jeong Seo (http://blog.naver.com/addcozy)
|
||||
HTML/CSS : Chan-Myung Jeong (http://naradesign.net)
|
||||
</description>
|
||||
<description xml:lang="en">
|
||||
Design : Ki-Jeong Seo (http://blog.naver.com/addcozy)
|
||||
HTML/CSS : Chan-Myung Jeong (http://naradesign.net)
|
||||
</description>
|
||||
</maker>
|
||||
</skin>
|
||||
|
|
@ -19,22 +19,11 @@ function editorGetIFrame(upload_target_srl) {
|
|||
return xGetElementById(obj_id);
|
||||
}
|
||||
|
||||
// editor 초기화를 onload이벤트 후에 시작시킴
|
||||
function editorInit(upload_target_srl, resizable, height) {
|
||||
xAddEventListener(window, 'load', function() { editorStart(upload_target_srl, resizable, height); });
|
||||
}
|
||||
|
||||
// editor 시작 (upload_target_srl로 iframe객체를 얻어서 쓰기 모드로 전환)
|
||||
function editorStart(upload_target_srl, resizable, height) {
|
||||
if(typeof(height)=="undefined"||!height) height = 350;
|
||||
function editorStart(upload_target_srl, resizable, editor_height) {
|
||||
if(typeof(resizable)=="undefined"||!resizable) resizable = false;
|
||||
else resizable = true;
|
||||
|
||||
// iframe_area를 찾음
|
||||
var iframe_area = xGetElementById("editor_iframe_area_"+upload_target_srl);
|
||||
//xHeight(iframe_area, height+10);
|
||||
xInnerHtml(iframe_area, '<iframe id="editor_iframe_'+upload_target_srl+'" frameBorder="0" style="background-color:transparent;width:100%;height:'+height+'px;"></iframe>');
|
||||
|
||||
// iframe obj를 찾음
|
||||
var iframe_obj = editorGetIFrame(upload_target_srl);
|
||||
if(!iframe_obj) return;
|
||||
|
|
@ -42,6 +31,7 @@ function editorStart(upload_target_srl, resizable, height) {
|
|||
// 현 에디터를 감싸고 있는 form문을 찾아서 content object를 찾아서 내용 sync
|
||||
var fo_obj = iframe_obj.parentNode;
|
||||
while(fo_obj.nodeName != 'FORM') { fo_obj = fo_obj.parentNode; }
|
||||
|
||||
// saved document에 대한 체크
|
||||
if(typeof(fo_obj._saved_doc_title)!="undefined" ) {
|
||||
var saved_title = fo_obj._saved_doc_title.value;
|
||||
|
|
@ -61,21 +51,19 @@ function editorStart(upload_target_srl, resizable, height) {
|
|||
|
||||
// 대상 form의 content object에서 데이터를 구함
|
||||
var content = fo_obj.content.value;
|
||||
if(!content && !xIE4Up) content = "<br />";
|
||||
|
||||
// iframe내의 document object
|
||||
var contentDocument = iframe_obj.contentWindow.document;
|
||||
|
||||
// editing가능하도록 설정 시작
|
||||
|
||||
// 기본 내용 작성
|
||||
var contentHtml = ''+
|
||||
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'+
|
||||
'<html lang="ko" xmlns="http://www.w3.org/1999/xhtml><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/>'+
|
||||
'<link rel="stylesheet" href="'+request_uri+'/common/css/default.css" type="text/css" />'+
|
||||
'<link rel="stylesheet" href="'+request_uri+editor_path+'/css/editor.css" type="text/css" />'+
|
||||
'<style>'+
|
||||
'html {position:static}'+
|
||||
'body {margin:0px}'+
|
||||
'<style style="text/css">'+
|
||||
'body {margin:0px; height:'+editor_height+'px;}'+
|
||||
'</style>'+
|
||||
'</head><body upload_target_srl="'+upload_target_srl+'">'+
|
||||
content+
|
||||
|
|
@ -84,6 +72,7 @@ function editorStart(upload_target_srl, resizable, height) {
|
|||
contentDocument.designMode = 'on';
|
||||
try {
|
||||
contentDocument.execCommand("undo", false, null);
|
||||
contentDocument.execCommand("useCSS", false, true);
|
||||
} catch (e) {
|
||||
}
|
||||
contentDocument.open("text/html","replace");
|
||||
|
|
@ -114,7 +103,6 @@ function editorStart(upload_target_srl, resizable, height) {
|
|||
// 크기 변경 불가일 경우 드래그바 숨김
|
||||
if(resizable == false) xGetElementById("editor_drag_bar_"+upload_target_srl).style.display = "none";
|
||||
|
||||
if(typeof(fixAdminLayoutFooter)=='function') fixAdminLayoutFooter(height);
|
||||
}
|
||||
|
||||
// 여러개의 편집기를 예상하여 전역 배열 변수에 form, iframe의 정보를 넣음
|
||||
|
|
@ -702,8 +690,8 @@ function eOptionClick(obj) {
|
|||
}
|
||||
|
||||
// Editor Info Close
|
||||
function closeEditorInfo() {
|
||||
xGetElementById('editorInfo').style.display='none';
|
||||
function closeEditorInfo(upload_target_srl) {
|
||||
xGetElementById('editorInfo_'+upload_target_srl).style.display='none';
|
||||
var expire = new Date();
|
||||
expire.setTime(expire.getTime()+ (7000 * 24 * 3600000));
|
||||
xSetCookie('EditorInfo', '1', expire);
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ function editor_display_uploaded_file(upload_target_srl) {
|
|||
_prev_upload_target_srl = 0;
|
||||
} else return;
|
||||
}
|
||||
var url = "./?act=procFileDelete&upload_target_srl="+upload_target_srl+"&mid="+current_url.getQuery('mid');
|
||||
var url = request_uri + "?act=procFileDelete&upload_target_srl="+upload_target_srl+"&mid="+current_url.getQuery('mid');
|
||||
|
||||
// iframe에 url을 보내버림
|
||||
var iframe_obj = xGetElementById('tmp_upload_iframe');
|
||||
|
|
@ -160,7 +160,7 @@ function editor_upload_clear_list(upload_target_srl) {
|
|||
while(obj.options.length) {
|
||||
obj.remove(0);
|
||||
}
|
||||
var preview_obj = xGetElementById('uploaded_file_preview_box_'+upload_target_srl);
|
||||
var preview_obj = xGetElementById('preview_uploaded_'+upload_target_srl);
|
||||
xInnerHtml(preview_obj,'')
|
||||
}
|
||||
|
||||
|
|
@ -230,7 +230,7 @@ function editor_remove_file(upload_target_srl) {
|
|||
var fo_obj = obj;
|
||||
while(fo_obj.nodeName != 'FORM') { fo_obj = fo_obj.parentNode; }
|
||||
var mid = fo_obj.mid.value;
|
||||
var url = "./?act=procFileDelete&upload_target_srl="+upload_target_srl+"&file_srl="+file_srl+"&mid="+current_url.getQuery('mid');
|
||||
var url = request_uri+"/?act=procFileDelete&upload_target_srl="+upload_target_srl+"&file_srl="+file_srl+"&mid="+current_url.getQuery('mid');
|
||||
|
||||
// iframe에 url을 보내버림
|
||||
var iframe_obj = xGetElementById('tmp_upload_iframe');
|
||||
|
|
@ -238,7 +238,7 @@ function editor_remove_file(upload_target_srl) {
|
|||
|
||||
iframe_obj.contentWindow.document.location.href=url;
|
||||
|
||||
var preview_obj = xGetElementById('uploaded_file_preview_box_'+upload_target_srl);
|
||||
var preview_obj = xGetElementById('preview_uploaded_'+upload_target_srl);
|
||||
xInnerHtml(preview_obj, "");
|
||||
}
|
||||
|
||||
|
|
@ -269,7 +269,7 @@ function editor_insert_file(upload_target_srl) {
|
|||
var fo_obj = obj;
|
||||
while(fo_obj.nodeName != 'FORM') { fo_obj = fo_obj.parentNode; }
|
||||
var mid = fo_obj.mid.value;
|
||||
var url = "./?module=file&act=procFileDownload&file_srl="+file_srl+"&sid="+sid;
|
||||
var url = request_uri+"/?module=file&act=procFileDownload&file_srl="+file_srl+"&sid="+sid;
|
||||
openComponent("url_link", upload_target_srl, url);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,62 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/tpl/lang/ko.lang.php
|
||||
* @author zero <zero@nzeo.com>
|
||||
* @brief English Language Pack (Basic Things)
|
||||
**/
|
||||
|
||||
$lang->edit->fontname = 'Font';
|
||||
$lang->edit->fontsize = 'Size';
|
||||
$lang->edit->use_paragraph = 'Paragraph Function';
|
||||
$lang->edit->fontlist = array(
|
||||
"Gulim",
|
||||
"Dodum",
|
||||
"Batang",
|
||||
"Goongseo",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "Style";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "Subject 1",
|
||||
"h2" => "Subject 2",
|
||||
"h3" => "Subject 3",
|
||||
"h4" => "Subject 4",
|
||||
"h5" => "Subject 5",
|
||||
"h6" => "Subject 6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = 'Submit';
|
||||
|
||||
$lang->edit->help_fontcolor = "Select font color";
|
||||
$lang->edit->help_fontbgcolor = "Select background color of font";
|
||||
$lang->edit->help_bold = "Make font bold";
|
||||
$lang->edit->help_italic = "Make italic font";
|
||||
$lang->edit->help_underline = "Underline font";
|
||||
$lang->edit->help_strike = "Strike font";
|
||||
$lang->edit->help_redo = "Redo";
|
||||
$lang->edit->help_undo = "Undo";
|
||||
$lang->edit->help_align_left = "Align left";
|
||||
$lang->edit->help_align_center = "Align center";
|
||||
$lang->edit->help_align_right = "Align right";
|
||||
$lang->edit->help_add_indent = "Add indent";
|
||||
$lang->edit->help_remove_indent = "Remove indent";
|
||||
$lang->edit->help_list_number = "Apply number list";
|
||||
$lang->edit->help_list_bullet = "Apply bullet list";
|
||||
$lang->edit->help_use_paragrapth = "Press Ctrl+Enter to use paragraph. (Press Alt+S to save)";
|
||||
|
||||
$lang->edit->upload = 'Attachment';
|
||||
$lang->edit->upload_file = 'Attach';
|
||||
$lang->edit->link_file = 'Insert to Content';
|
||||
$lang->edit->delete_selected = 'Delete Selected';
|
||||
|
||||
$lang->edit->icon_align_article = 'Occupy a paragraph';
|
||||
$lang->edit->icon_align_left = 'Align Left';
|
||||
$lang->edit->icon_align_middle = 'Align Center';
|
||||
$lang->edit->icon_align_right = 'Align Right';
|
||||
|
||||
$lang->about_dblclick_in_editor = 'You are able to set detail component configure by double-clicking on background, text, images, or quotations';
|
||||
?>
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/tpl/lang/ko.lang.php
|
||||
* @author zero <zero@nzeo.com> 翻訳:RisaPapa
|
||||
* @brief 日本語言語パッケージ(基本的な内容のみ)
|
||||
**/
|
||||
|
||||
$lang->edit->fontname = 'フォント';
|
||||
$lang->edit->fontsize = 'サイズ';
|
||||
$lang->edit->use_paragraph = '段落機能';
|
||||
$lang->edit->fontlist = array(
|
||||
"MS Pゴシック",
|
||||
"MS P明朝",
|
||||
"Osaka-等幅",
|
||||
"ヒラギノ角ゴ Pro W3",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "見出し";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "見出し1",
|
||||
"h2" => "見出し2",
|
||||
"h3" => "見出し3",
|
||||
"h4" => "見出し4",
|
||||
"h5" => "見出し5",
|
||||
"h6" => "見出し6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = '送信';
|
||||
|
||||
$lang->edit->help_fontcolor = "テキストの色を指定します。";
|
||||
$lang->edit->help_fontbgcolor = "テキストの背景色を指定します。";
|
||||
$lang->edit->help_bold = "テキストを太字に指定します。";
|
||||
$lang->edit->help_italic = "テキストを斜体にします。";
|
||||
$lang->edit->help_underline = "テキストに下線(アンダーライン)を引きます。";
|
||||
$lang->edit->help_strike = "打ち消し線を引きます。";
|
||||
$lang->edit->help_redo = "直前に取り消した処理をもう一度繰り返して実行します。";
|
||||
$lang->edit->help_undo = "直前に行った操作や処理を取り消し元に戻します。";
|
||||
$lang->edit->help_align_left = "テキストを左揃えで表示します。";
|
||||
$lang->edit->help_align_center = "テキストを中央揃えで表示します。";
|
||||
$lang->edit->help_align_right = "テキストを右揃えで表示します。";
|
||||
$lang->edit->help_add_indent = "テキストの行頭の位置を右に寄せます。";
|
||||
$lang->edit->help_remove_indent = "インデント(字下げ)を除去します。";
|
||||
$lang->edit->help_list_number = "リスト項目に数字で順序を付けます。";
|
||||
$lang->edit->help_list_bullet = "記号でリスト項目を記述します。";
|
||||
$lang->edit->help_use_paragrapth = "段落機能を使用する場合は、「Ctrl+Enter」を押します(書き終わった後、「Alt+S」を押すと保存されます)。";
|
||||
|
||||
$lang->edit->upload = '添付';
|
||||
$lang->edit->upload_file = 'ファイル添付';
|
||||
$lang->edit->link_file = 'テキスト挿入';
|
||||
$lang->edit->delete_selected = '選択リスト削除';
|
||||
|
||||
$lang->edit->icon_align_article = '一段落';
|
||||
$lang->edit->icon_align_left = '左揃え';
|
||||
$lang->edit->icon_align_middle = '中央揃え';
|
||||
$lang->edit->icon_align_right = '右揃え';
|
||||
|
||||
$lang->about_dblclick_in_editor = '背景、文字、イメージ、引用文の上にカーソルを合わせ,ダブルクリックすると詳細設定できるコンポーネントを表示します。';
|
||||
?>
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/tpl/lang/ko.lang.php
|
||||
* @author zero <zero@nzeo.com>
|
||||
* @brief 한국어 언어팩 (기본적인 내용만 수록)
|
||||
**/
|
||||
|
||||
$lang->edit->fontname = '글꼴';
|
||||
$lang->edit->fontsize = '크기';
|
||||
$lang->edit->use_paragraph = '문단기능';
|
||||
$lang->edit->fontlist = array(
|
||||
"굴림",
|
||||
"돋움",
|
||||
"바탕",
|
||||
"궁서",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "형식";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "제목 1",
|
||||
"h2" => "제목 2",
|
||||
"h3" => "제목 3",
|
||||
"h4" => "제목 4",
|
||||
"h5" => "제목 5",
|
||||
"h6" => "제목 6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = '확인';
|
||||
|
||||
$lang->edit->help_fontcolor = "글자의 색상을 지정합니다";
|
||||
$lang->edit->help_fontbgcolor = "글자의 배경색상을 지정합니다";
|
||||
$lang->edit->help_bold = "글자를 진하게 합니다";
|
||||
$lang->edit->help_italic = "글자를 기울이게 합니다";
|
||||
$lang->edit->help_underline = "밑줄을 긋습니다";
|
||||
$lang->edit->help_strike = "취소선을 긋습니다";
|
||||
$lang->edit->help_redo = "다음 동작으로 돌아갑니다";
|
||||
$lang->edit->help_undo = "이전 동작으로 돌아갑니다";
|
||||
$lang->edit->help_align_left = "왼쪽 정렬을 합니다";
|
||||
$lang->edit->help_align_center = "가운데 정렬을 합니다";
|
||||
$lang->edit->help_align_right = "오른쪽 정렬을 합니다";
|
||||
$lang->edit->help_add_indent = "들여쓰기를 합니다";
|
||||
$lang->edit->help_remove_indent = "들여쓰기를 제거합니다";
|
||||
$lang->edit->help_list_number = "숫자로된 목록을 적용합니다";
|
||||
$lang->edit->help_list_bullet = "기호로된 목록을 적용합니다";
|
||||
$lang->edit->help_use_paragrapth = "문단 나누기를 하시려면 ctrl-엔터를 누르시면 됩니다. (글 작성완료후 alt-S를 누르면 저장이 됩니다)";
|
||||
|
||||
$lang->edit->upload = '첨부';
|
||||
$lang->edit->upload_file = '파일 첨부';
|
||||
$lang->edit->link_file = '본문 삽입';
|
||||
$lang->edit->delete_selected = '선택 삭제';
|
||||
|
||||
$lang->edit->icon_align_article = '한 문단을 차지';
|
||||
$lang->edit->icon_align_left = '글의 왼쪽으로';
|
||||
$lang->edit->icon_align_middle = '가운데 정렬';
|
||||
$lang->edit->icon_align_right = '글의 우측으로';
|
||||
|
||||
$lang->about_dblclick_in_editor = '배경, 글자, 이미지, 인용문등에서 더블클릭을 하시면 상세한 컴포넌트 설정이 가능합니다';
|
||||
?>
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/editor/tpl/lang/zh-CN.lang.php
|
||||
* @author zero <zero@nzeo.com>
|
||||
* @brief 简体中文语言包 (只收录基本内容)
|
||||
**/
|
||||
|
||||
$lang->edit->fontname = '字体';
|
||||
$lang->edit->fontsize = '大小';
|
||||
$lang->edit->use_paragraph = '段落功能';
|
||||
$lang->edit->fontlist = array(
|
||||
"仿宋_GB2312",
|
||||
"黑体",
|
||||
"楷体_GB2312",
|
||||
"宋体",
|
||||
"times",
|
||||
"Courier",
|
||||
"Tahoma",
|
||||
"Arial",
|
||||
);
|
||||
|
||||
$lang->edit->header = "样式";
|
||||
$lang->edit->header_list = array(
|
||||
"h1" => "标题 1",
|
||||
"h2" => "标题 2",
|
||||
"h3" => "标题 3",
|
||||
"h4" => "标题 4",
|
||||
"h5" => "标题 5",
|
||||
"h6" => "标题 6",
|
||||
);
|
||||
|
||||
$lang->edit->submit = '确认';
|
||||
|
||||
$lang->edit->help_fontcolor = "文本颜色";
|
||||
$lang->edit->help_fontbgcolor = "背景颜色";
|
||||
$lang->edit->help_bold = "粗体";
|
||||
$lang->edit->help_italic = "斜体";
|
||||
$lang->edit->help_underline = "下划线";
|
||||
$lang->edit->help_strike = "取消线";
|
||||
$lang->edit->help_redo = "重新操作";
|
||||
$lang->edit->help_undo = "返回操作";
|
||||
$lang->edit->help_align_left = "左对齐";
|
||||
$lang->edit->help_align_center = "居中对齐";
|
||||
$lang->edit->help_align_right = "右对齐";
|
||||
$lang->edit->help_add_indent = "缩进";
|
||||
$lang->edit->help_remove_indent = "清除缩进";
|
||||
$lang->edit->help_list_number = "有序列表";
|
||||
$lang->edit->help_list_bullet = "无序列表";
|
||||
$lang->edit->help_use_paragrapth = "分段请按 ctrl+回车. (发表主题快捷键:alt+S)";
|
||||
|
||||
$lang->edit->upload = '上传';
|
||||
$lang->edit->upload_file = '上传附件';
|
||||
$lang->edit->link_file = '插入内容';
|
||||
$lang->edit->delete_selected = '删除所选';
|
||||
|
||||
$lang->edit->icon_align_article = '占一个段落';
|
||||
$lang->edit->icon_align_left = '文本左侧';
|
||||
$lang->edit->icon_align_middle = '居中对齐';
|
||||
$lang->edit->icon_align_right = '文本右侧';
|
||||
|
||||
$lang->about_dblclick_in_editor = '双击背景, 文本, 图片, 引用即可对其相关组件进行详细设置。';
|
||||
?>
|
||||