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

This commit is contained in:
zero 2007-03-13 08:51:47 +00:00
parent dee594fb62
commit 62afbadc06
6 changed files with 77 additions and 1 deletions

View file

@ -8,8 +8,12 @@
$lang->module_list = "모듈 목록";
$lang->module_index = "초기화면";
$lang->module_category = "모듈 카테고리";
$lang->module_info = "모듈 정보";
$lang->add_shortcut = "관리자 메뉴에 추가";
$lang->module_maker = "모듈 제작자";
$lang->module_history = "변경 사항 ";
$lang->category_title = "카테고리 이름";
$lang->cmd_add_shortcut = "바로가기 추가";

View file

@ -41,7 +41,11 @@
function dispModuleInfo() {
// 모듈 목록을 구해서
$oModuleModel = &getModel('module');
$module_info = $oModuleModel->getModuleInfoXml($this->module);
$module_info = $oModuleModel->getModuleInfoXml(Context::get('selected_module'));
Context::set('module_info', $module_info);
// 레이아웃을 팝업으로 지정
$this->setLayoutFile('popup_layout');
// 템플릿 파일 지정
$this->setTemplateFile('module_info');

View file

@ -0,0 +1,56 @@
<table border="1" width="400">
<col width="100" />
<col width="300" />
<tr>
<th colspan="2">{$lang->module_maker}</th>
</tr>
<tr>
<th>{$lang->title}</th>
<td>{$module_info->title}</td>
</tr>
<tr>
<th>{$lang->author}</th>
<td><a href="mailto:{$module_info->author->email_address}">{$module_info->author->name}</a></td>
</tr>
<tr>
<th>{$lang->homepage}</th>
<td><a href="#" onclick="window.open({$module_info->author->homepage});return false;">{$module_info->author->homepage}</a></td>
</tr>
<tr>
<th>{$lang->regdate}</th>
<td>{$module_info->author->date}</td>
</tr>
<tr>
<th>{$lang->description}</th>
<td>{nl2br($module_info->author->description)}</td>
</tr>
<tr>
<th colspan="2">{$lang->module_history}</th>
</tr>
<!--@foreach($module_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>

View file

@ -16,6 +16,7 @@
<td>{$lang->date}</td>
<td>{$lang->table_count}</td>
<td>{$lang->installed_path}</td>
<td>{$lang->module_info}</td>
<td>{$lang->add_shortcut}</td>
</tr>
<!--@foreach($module_list as $key => $val)-->
@ -41,6 +42,7 @@
</span>
</td>
<td>{$val->path}</td>
<td><a href="#" onclick="winopen('{getUrl('','module','module','act','dispModuleInfo','selected_module',$val->module)}','module_info','width=10,height=10,toolbars=no,scrollbars=yes,resizable=yes');return false">{$lang->cmd_view}</a></td>
<td rowspan="2">
<!--@if(!$shortcut_list[$val->module] && $val->admin_index_act )-->
<a href="#" onclick="doAddShortCut('{$val->module}');return false;">{$lang->cmd_add_shortcut}</a>