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

This commit is contained in:
zero 2007-03-26 06:48:08 +00:00
parent ee7a05b344
commit bc732c3f34
19 changed files with 46 additions and 22 deletions

View file

@ -3,6 +3,6 @@
<title xml:lang="ko">HTML 코드 수정</title>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
<name xml:lang="ko">제로</name>
<description xml:lang="ko">에디터에서 HTML 코드를 직접 수정하거나 추가할 수 있습니다.\n보안 문제로 인하여 가능한 관리자만 사용할 수 있도록 하세요.</description>
<description xml:lang="ko">에디터에서 HTML 코드를 직접 수정하거나 추가할 수 있습니다.\n보안 문제로 인하여 가능한 끄는 것이 좋습니다.</description>
</author>
</component>

View file

@ -56,7 +56,7 @@
$xml_info->author->date = $xml_doc->component->author->attrs->date;
$xml_info->description = str_replace('\n', "\n", $xml_doc->component->author->description->body);
$buff = '<?php if(!__ZB5__) exit(); ';
$buff = '<?php if(!__ZBXE__) exit(); ';
$buff .= sprintf('$xml_info->component_name = "%s";', $component);
$buff .= sprintf('$xml_info->version = "%s";', $xml_info->version);
$buff .= sprintf('$xml_info->title = "%s";', $xml_info->title);

View file

@ -0,0 +1,6 @@
<table name="editor_components">
<column name="component_name" type="varchar" size="250" notnull="notnull" primary_key="primary_key" />
<column name="enabled" type="char" size="1" default="N" notnull="notnull" />
<column name="extra_vars" type="text"/>
<column name="list_order" type="number" size="11" notnull="notnull" index="idx_list_order" />
</table>

View file

@ -16,10 +16,28 @@
<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">{$lang->cmd_setup}</td>
<td rowspan="2">{$lang->use}</td>
<td rowspan="2">{$lang->cmd_move_up}</td>
<td rowspan="2">{$lang->cmd_move_down}</td>
<td rowspan="2">
<!--@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>
<!--@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>
</tr>
<tr>
<td colspan="3">{nl2br($xml_info->description)}</td>