mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 12:52:19 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@162 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c054d03df0
commit
ad4cfd30f4
4 changed files with 126 additions and 108 deletions
|
|
@ -27,9 +27,10 @@
|
|||
$downloaded_list = FileHandler::readDir('./files/modules');
|
||||
$installed_list = FileHandler::readDir('./modules');
|
||||
$searched_list = array_merge($downloaded_list, $installed_list);
|
||||
if(!count($searched_list)) return;
|
||||
$searched_count = count($searched_list);
|
||||
if(!$searched_count) return;
|
||||
|
||||
for($i=0;$i<count($searched_list);$i++) {
|
||||
for($i=0;$i<$searched_count;$i++) {
|
||||
// 모듈의 이름
|
||||
$module_name = $searched_list[$i];
|
||||
|
||||
|
|
@ -48,13 +49,14 @@
|
|||
}
|
||||
|
||||
// 해당 모듈의 정보를 구함
|
||||
$info = $oModuleModel->loadModuleXml($path);
|
||||
$info = $oModuleModel->getModuleInfoXml($module_name);
|
||||
unset($obj);
|
||||
|
||||
$info->module = $module_name;
|
||||
$info->created_table_count = $created_table_count;
|
||||
$info->table_count = $table_count;
|
||||
$info->path = $path;
|
||||
$info->admin_index_act = $info->admin_index_act;
|
||||
|
||||
$list[] = $info;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,20 +3,28 @@
|
|||
<td>{$lang->module_name}</td>
|
||||
<td>{$lang->module_version}</td>
|
||||
<td>{$lang->module_author}</td>
|
||||
<td>{$lang->module_date}</td>
|
||||
<td>{$lang->module_table_count}</td>
|
||||
<td>{$lang->module_installed_path}</td>
|
||||
</tr>
|
||||
<!--@foreach($module_list as $key => $val)-->
|
||||
<tr>
|
||||
<td rowspan="2"><a href="#" onclick="location.href='{getUrl('mo',$val->module)}'">{$val->title}</a> <br /> ({$val->module})</td>
|
||||
<td rowspan="2">
|
||||
<!--@if($val->admin_index_act)-->
|
||||
<a href="#" onclick="location.href='{getUrl('mo',$val->module,'ac',$val->admin_index_act)}'">{$val->title}</a> <br /> ({$val->module})
|
||||
<!--@else-->
|
||||
{$val->title} <br />
|
||||
({$val->module})
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>{$val->version}</td>
|
||||
<td><a href="#" onclick="window.open('{$val->author->homepage}')">{$val->author->name}</a></td>
|
||||
<td>{$val->author->date}</td>
|
||||
<td>{$val->created_table_count}/{$val->table_count}</td>
|
||||
<td>{$val->path}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
{$val->author->date}
|
||||
<td colspan="5">
|
||||
{nl2br($val->author->description)}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue