git-svn-id: http://xe-core.googlecode.com/svn/trunk@656 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-26 07:41:57 +00:00
parent 4d976f2bdc
commit b0521ae3f1
4 changed files with 31 additions and 35 deletions

View file

@ -16,31 +16,23 @@
<td><a href="mailto:{$xml_info->author->email_address}">{$xml_info->author->name}</a></td>
<td><a href="#" onclick="window.open('{$xml_info->author->link}');return false;">{$xml_info->author->link}</a></td>
<td>{$xml_info->author->date}</td>
<td rowspan="2">
<td>
<!--@if($xml_info->extra_vars)-->
<a href="#">{$lang->cmd_setup}</a>
<!--@end-->
</td>
<td rowspan="2">
<!--@if($xml_info->enable)-->
<a href="#">{$lang->not_use}</a>
<td>
<!--@if($xml_info->enabled=='Y')-->
<a href="#">{$lang->notuse}</a>
<!--@else-->
<a href="#">{$lang->use}</a>
<!--@end-->
</td>
<td rowspan="2">
<!--@if($xml_info->enable)-->
<a href="#">{$lang->cmd_move_up}</a>
<!--@end-->
</td>
<td rowspan="2">
<!--@if($xml_info->enable)-->
<a href="#">{$lang->cmd_move_down}</a>
<!--@end-->
</td>
<td><a href="#">{$lang->cmd_move_up}</a></td>
<td><a href="#">{$lang->cmd_move_down}</a></td>
</tr>
<tr>
<td colspan="3">{nl2br($xml_info->description)}</td>
<td colspan="7">{nl2br($xml_info->description)}</td>
</tr>
<!--@end-->
</table>

View file

@ -40,25 +40,24 @@
<!-- 에디팅 관련 아이콘 -->
<div class="editor_iconbox">
<img src="../components/colorpicker_text/icon.gif" alt="{$lang->edit->help_fontcolor}" class="editor_icon" id="component_{$upload_target_srl}_colorpicker_text" />
<img src="../components/colorpicker_bg/icon.gif" alt="{$lang->edit->help_fontbgcolor}" class="editor_icon" id="component_{$upload_target_srl}_colorpicker_bg" />
<img src="./images/bold.gif" alt="{$lang->edit->help_bold}" class="editor_icon" id="component_{$upload_target_srl}_Bold" />
<img src="./images/italic.gif" alt="{$lang->edit->help_italic}" class="editor_icon" id="component_{$upload_target_srl}_Italic" />
<img src="./images/underline.gif" alt="{$lang->edit->help_underline}" class="editor_icon" id="component_{$upload_target_srl}_Underline" />
<img src="./images/strike.gif" alt="{$lang->edit->help_strike}" class="editor_icon" id="component_{$upload_target_srl}_StrikeThrough" />
<img src="./images/undo.gif" alt="{$lang->edit->help_undo}" class="editor_icon" id="component_{$upload_target_srl}_undo" />
<img src="./images/redo.gif" alt="{$lang->edit->help_redo}" class="editor_icon" id="component_{$upload_target_srl}_redo" />
<img src="../components/colorpicker_text/icon.gif" title="{$lang->edit->help_fontcolor}" alt="{$lang->edit->help_fontcolor}" class="editor_icon" id="component_{$upload_target_srl}_colorpicker_text" />
<img src="../components/colorpicker_bg/icon.gif" title="{$lang->edit->help_fontbgcolor}" alt="{$lang->edit->help_fontbgcolor}" class="editor_icon" id="component_{$upload_target_srl}_colorpicker_bg" />
<img src="./images/bold.gif" title="{$lang->edit->help_bold}" alt="{$lang->edit->help_bold}" class="editor_icon" id="component_{$upload_target_srl}_Bold" />
<img src="./images/italic.gif" title="{$lang->edit->help_italic}" alt="{$lang->edit->help_italic}" class="editor_icon" id="component_{$upload_target_srl}_Italic" />
<img src="./images/underline.gif" title="{$lang->edit->help_underline}" alt="{$lang->edit->help_underline}" class="editor_icon" id="component_{$upload_target_srl}_Underline" />
<img src="./images/strike.gif" title="{$lang->edit->help_strike}" alt="{$lang->edit->help_strike}" class="editor_icon" id="component_{$upload_target_srl}_StrikeThrough" />
<img src="./images/undo.gif" title="{$lang->edit->help_undo}" alt="{$lang->edit->help_undo}" class="editor_icon" id="component_{$upload_target_srl}_undo" />
<img src="./images/redo.gif" title="{$lang->edit->help_redo}" alt="{$lang->edit->help_redo}" class="editor_icon" id="component_{$upload_target_srl}_redo" />
</div>
<!-- 에디팅 관련 문단 기능 (IE에서는 사용자 선택시 나타남) -->
<div id="editor_paragraph_{$upload_target_srl}" class="editor_iconbox">
<img src="./images/align_left.gif" alt="{$lang->edit->help_align_left}" id="component_{$upload_target_srl}_justifyleft" />
<img src="./images/align_center.gif" alt="{$lang->edit->help_align_center}" id="component_{$upload_target_srl}_justifycenter" />
<img src="./images/align_right.gif" alt="{$lang->edit->help_align_right}" id="component_{$upload_target_srl}_justifyright" />
<img src="./images/remove_indent.gif" alt="{$lang->edit->help_remove_indent}" id="component_{$upload_target_srl}_outdent" />
<img src="./images/add_indent.gif" alt="{$lang->edit->help_add_indent}" id="component_{$upload_target_srl}_indent" />
<img src="./images/list_number.gif" alt="list number" id="component_{$upload_target_srl}_insertorderedlist" />
<img src="./images/list_bullet.gif" alt="list bullet" id="component_{$upload_target_srl}_insertunorderedlist" />
<img src="./images/align_left.gif" title="{$lang->edit->help_align_left}" alt="{$lang->edit->help_align_left}" id="component_{$upload_target_srl}_justifyleft" />
<img src="./images/align_center.gif" title="{$lang->edit->help_align_center}" alt="{$lang->edit->help_align_center}" id="component_{$upload_target_srl}_justifycenter" />
<img src="./images/align_right.gif" title="{$lang->edit->help_align_right}" alt="{$lang->edit->help_align_right}" id="component_{$upload_target_srl}_justifyright" />
<img src="./images/remove_indent.gif" title="{$lang->edit->help_remove_indent}" alt="{$lang->edit->help_remove_indent}" id="component_{$upload_target_srl}_outdent" />
<img src="./images/add_indent.gif" title="{$lang->edit->help_add_indent}" alt="{$lang->edit->help_add_indent}" id="component_{$upload_target_srl}_indent" />
<img src="./images/list_number.gif" title="{$lang->edit->help_list_number}" alt="{$lang->edit->help_list_number}" id="component_{$upload_target_srl}_insertorderedlist" />
<img src="./images/list_bullet.gif" title="{$lang->edit->help_list_bullet}" alt="{$lang->edit->help_list_bullet}" " id="component_{$upload_target_srl}_insertunorderedlist" />
</div>
</div>

View file

@ -408,10 +408,13 @@ function editorDo(command, value, target) {
else doc = target.parentNode;
} else {
var iframe_obj = editorGetIFrame(target);
if(xIE4Up) doc = iframe_obj.contentWindow.document;
else doc = iframe_obj.contentWindow.document;
doc = iframe_obj.contentWindow.document;
}
// 포커스
if(typeof(target)=="object") target.focus();
else editorFocus(target);
// 실행
doc.execCommand(command, false, value);

View file

@ -37,13 +37,15 @@
$lang->edit->help_italic = "글자를 기울이게 합니다";
$lang->edit->help_underline = "밑줄을 긋습니다";
$lang->edit->help_strike = "취소선을 긋습니다";
$lang->edit->help_redo = "이전 동작으로 돌아갑니다";
$lang->edit->help_undo = "다음 동작으로 돌아갑니다";
$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 = '첨부';