mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@664 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c0653db24
commit
2a32a18709
7 changed files with 59 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<!--%import("../lang")-->
|
||||
|
||||
<div class="editor_window">
|
||||
<div class="editor_title">{$component_info->title} ver. {$component_info->version}</div>
|
||||
<div class="editor_title">{$component_info->title} ver. {$component_info->version} <a href="#" onclick="winopen('./?module=editor&act=viewComponentInfo&component_name={$component_info->component_name}','ComponentInfo','left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no');return false;"><img src="../../../tpl/images/about_component.gif" title="{$lang->about_component}" alt="{$lang->about_component}" class="about_component_icon" border="0" /></a></div>
|
||||
|
||||
<div class="editor_emoticon">
|
||||
<!--@foreach($emoticon_list as $emoticon)-->
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
<action name="adminIndex" type="view" standalone="true" admin_index="true" />
|
||||
<action name="setupComponent" type="view" standalone="true" />
|
||||
<action name="dispPopup" type="view" standalone="true" />
|
||||
<action name="viewComponentInfo" type="view" standalone="true" />
|
||||
|
||||
<action name="procCall" type="controller" standalone="true" />
|
||||
<action name="procEnableComponent" type="controller" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -43,6 +43,22 @@
|
|||
$this->setLayoutFile("popup_layout");
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 컴퍼넌트 정보 보기
|
||||
**/
|
||||
function viewComponentInfo() {
|
||||
$component_name = Context::get('component_name');
|
||||
|
||||
$oEditorModel = &getModel('editor');
|
||||
$component = $oEditorModel->getComponent($component_name);
|
||||
Context::set('component', $component);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('view_component');
|
||||
$this->setLayoutFile("popup_layout");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief 에디터를 return
|
||||
**/
|
||||
|
|
@ -74,6 +90,9 @@
|
|||
* @brief 컴포넌트의 팝업 출력을 요청을 받는 action
|
||||
**/
|
||||
function dispPopup() {
|
||||
// css 파일 추가
|
||||
Context::addCssFile($this->module_path."tpl/css/editor.css");
|
||||
|
||||
// 변수 정리
|
||||
$upload_target_srl = Context::get('upload_target_srl');
|
||||
$component = Context::get('component');
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
$lang->component_description = "설명";
|
||||
$lang->component_extra_vars = "설정 변수";
|
||||
|
||||
$lang->about_component = "컴포넌트 소개";
|
||||
|
||||
$lang->msg_component_is_not_founded = '%s 에디터 컴포넌트를 찾을 수 없습니다';
|
||||
$lang->msg_component_is_inserted = '선택하신 컴포넌트는 이미 입력되어 있습니다';
|
||||
$lang->msg_component_is_first_order = '선택하신 컴포넌트는 첫번째에 위치하고 있습니다';
|
||||
|
|
|
|||
|
|
@ -127,6 +127,10 @@ div.editor_drag_down_area {
|
|||
width:800px;
|
||||
}
|
||||
|
||||
.component_view_window {
|
||||
width:400px;
|
||||
}
|
||||
|
||||
.editor_input {
|
||||
border:1px solid #AAAAAA;
|
||||
height:14px;
|
||||
|
|
@ -140,3 +144,7 @@ div.editor_drag_down_area {
|
|||
height:17px;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.about_component_icon {
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
|
|
|||
BIN
modules/editor/tpl/images/about_component.gif
Normal file
BIN
modules/editor/tpl/images/about_component.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1 KiB |
28
modules/editor/tpl/view_component.html
Normal file
28
modules/editor/tpl/view_component.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!--%import("css/editor.css")-->
|
||||
|
||||
<div class="component_view_window">
|
||||
<input type="hidden" name="component_name" value="{$component_name}" />
|
||||
<table border="1" width="100%">
|
||||
<tr>
|
||||
<th>{$lang->component_name}</th>
|
||||
<td>{$component->component_name} ver. {$component->version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->component_author}</th>
|
||||
<td><a href="mailto:{$component->author->email_address}">{$component->author->name}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->component_link}</th>
|
||||
<td><a href="#" onclick="winopen('{$component->author->link}');return false;">{$component->author->link}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->component_description}</th>
|
||||
<td>{nl2br($component->description)}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue