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

This commit is contained in:
zero 2007-03-14 07:28:42 +00:00
parent c3de1572b3
commit 9bc8a365a8
5 changed files with 61 additions and 9 deletions

View file

@ -2,5 +2,6 @@
<module>
<actions>
<action name="dispDownloadedPluginList" type="view" standalone="true" admin_index="true" />
<action name="dispPluginInfo" type="view" standalone="true" />
</actions>
</module>

View file

@ -4,4 +4,6 @@
* @author zero <zero@nzeo.com>
* @brief 플러그인(plugin) 모듈의 기본 언어팩
**/
$lang->plugin_info = "플러그인 정보";
?>

View file

@ -25,13 +25,12 @@
Context::set('plugin_info', $plugin_info);
// 플러그인을 팝업으로 지정
$this->setPluginFile('popup_plugin');
$this->setLayoutFile('popup_plugin');
// 템플릿 파일 지정
$this->setTemplateFile('plugin_detail_info');
}
/**
* @brief 플러그인 목록을 보여줌
**/

View file

@ -1,7 +1,3 @@
<xmp>
{@print_r($plugin_list)}
</xmp>
<!-- 플러그인의 목록 -->
<div>
<table border="1" width="100%">
@ -9,7 +5,6 @@
<td>{$lang->plugin_name}</td>
<td>{$lang->version}</td>
<td>{$lang->author}</td>
<td>{$lang->menu_count}</td>
<td>{$lang->date}</td>
<td>{$lang->path}</td>
<td>{$lang->plugin_info}</td>
@ -23,14 +18,13 @@
</td>
<td>{$val->version}</td>
<td><a href="#" onclick="window.open('{$val->author->homepage}')">{$val->author->name}</a></td>
<td>{$val->menu_count}</td>
<td>{$val->author->date}</td>
<td>{$val->path}</td>
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispPluginInfo','selected_plugin',$val->plugin)}','plugin_info','width=10,height=10,toolbars=no,scrollbars=yes,resizable=yes');return false">{$lang->cmd_view}</a></td>
<td><a href="{getUrl('mo','plugin','act','dispInsertPlugin','plugin',$val->plugin)}">{$lang->cmd_make}</a></td>
</tr>
<tr>
<td colspan="7">
<td colspan="6">
{nl2br($val->author->description)}
</td>
</tr>

View file

@ -0,0 +1,56 @@
<table border="1" width="400">
<col width="100" />
<col width="300" />
<tr>
<th colspan="2">{$lang->plugin_maker}</th>
</tr>
<tr>
<th>{$lang->title}</th>
<td>{$plugin_info->title} ver {$plugin_info->version}</td>
</tr>
<tr>
<th>{$lang->author}</th>
<td><a href="mailto:{$plugin_info->author->email_address}">{$plugin_info->author->name}</a></td>
</tr>
<tr>
<th>{$lang->homepage}</th>
<td><a href="#" onclick="window.open('{$plugin_info->author->homepage}');return false;">{$plugin_info->author->homepage}</a></td>
</tr>
<tr>
<th>{$lang->regdate}</th>
<td>{$plugin_info->author->date}</td>
</tr>
<tr>
<th>{$lang->description}</th>
<td>{nl2br($plugin_info->author->description)}</td>
</tr>
<tr>
<th colspan="2">{$lang->plugin_history}</th>
</tr>
<!--@foreach($plugin_info->history as $history)-->
<!--@if($history->name)-->
<tr>
<th>{$lang->name}</th>
<td><a href="mailto:{$history->email_address}">{$history->name}</a></td>
</tr>
<tr>
<th>{$lang->homepage}</th>
<td><a href="#" onclick="window.open('{$history->homepage}');return false;">{$history->homepage}</a></td>
</tr>
<tr>
<th>{$lang->regdate}</th>
<td>{$history->date}</td>
</tr>
<tr>
<th>{$lang->description}</th>
<td>{nl2br($history->description)}</td>
</tr>
<!--@end-->
<!--@end-->
<tr>
<td colspan="2">
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
</td>
</tr>
</table>