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@415 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ed284c98f2
commit
c3de1572b3
3 changed files with 19 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<module>
|
<module>
|
||||||
<actions>
|
<actions>
|
||||||
<action name="dispDownloadedLayoutList" type="view" standalone="true" admin_index="true" />
|
<action name="dispDownloadedPluginList" type="view" standalone="true" admin_index="true" />
|
||||||
</actions>
|
</actions>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
* @brief 모듈의 conf/info.xml 을 읽어서 정보를 구함
|
* @brief 모듈의 conf/info.xml 을 읽어서 정보를 구함
|
||||||
* 이것 역시 캐싱을 통해서 xml parsing 시간을 줄인다..
|
* 이것 역시 캐싱을 통해서 xml parsing 시간을 줄인다..
|
||||||
**/
|
**/
|
||||||
function getPluginInfo($plugin, $plugin_srl = 0, $plugin_title = "", $vars = null) {
|
function getPluginInfo($plugin) {
|
||||||
// 요청된 모듈의 경로를 구한다. 없으면 return
|
// 요청된 모듈의 경로를 구한다. 없으면 return
|
||||||
$plugin_path = $this->getPluginPath($plugin);
|
$plugin_path = $this->getPluginPath($plugin);
|
||||||
if(!$plugin_path) return;
|
if(!$plugin_path) return;
|
||||||
|
|
@ -119,5 +119,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$buff = '<?php if(!__ZB5__) exit(); '.$buff.' ?>';
|
||||||
|
FileHandler::writeFile($cache_file, $buff);
|
||||||
|
|
||||||
|
if(file_exists($cache_file)) include $cache_file;
|
||||||
|
return $plugin_info;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -1,31 +1,33 @@
|
||||||
<!--#include("header.html")-->
|
<xmp>
|
||||||
|
{@print_r($plugin_list)}
|
||||||
|
</xmp>
|
||||||
|
|
||||||
<!-- 레이아웃의 목록 -->
|
<!-- 플러그인의 목록 -->
|
||||||
<div>
|
<div>
|
||||||
<table border="1" width="100%">
|
<table border="1" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->layout_name}</td>
|
<td>{$lang->plugin_name}</td>
|
||||||
<td>{$lang->version}</td>
|
<td>{$lang->version}</td>
|
||||||
<td>{$lang->author}</td>
|
<td>{$lang->author}</td>
|
||||||
<td>{$lang->menu_count}</td>
|
<td>{$lang->menu_count}</td>
|
||||||
<td>{$lang->date}</td>
|
<td>{$lang->date}</td>
|
||||||
<td>{$lang->path}</td>
|
<td>{$lang->path}</td>
|
||||||
<td>{$lang->layout_info}</td>
|
<td>{$lang->plugin_info}</td>
|
||||||
<td>{$lang->cmd_make}</td>
|
<td>{$lang->cmd_make}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--@foreach($layout_list as $key => $val)-->
|
<!--@foreach($plugin_list as $key => $val)-->
|
||||||
<tr>
|
<tr>
|
||||||
<td rowspan="2">
|
<td rowspan="2">
|
||||||
{$val->title} <br />
|
{$val->title} <br />
|
||||||
({$val->layout})
|
({$val->plugin})
|
||||||
</td>
|
</td>
|
||||||
<td>{$val->version}</td>
|
<td>{$val->version}</td>
|
||||||
<td><a href="#" onclick="window.open('{$val->author->homepage}')">{$val->author->name}</a></td>
|
<td><a href="#" onclick="window.open('{$val->author->homepage}')">{$val->author->name}</a></td>
|
||||||
<td>{$val->menu_count}</td>
|
<td>{$val->menu_count}</td>
|
||||||
<td>{$val->author->date}</td>
|
<td>{$val->author->date}</td>
|
||||||
<td>{$val->path}</td>
|
<td>{$val->path}</td>
|
||||||
<td><a href="#" onclick="winopen('{getUrl('','module','layout','act','dispLayoutInfo','selected_layout',$val->layout)}','layout_info','width=10,height=10,toolbars=no,scrollbars=yes,resizable=yes');return false">{$lang->cmd_view}</a></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','layout','act','dispInsertLayout','layout',$val->layout)}">{$lang->cmd_make}</a></td>
|
<td><a href="{getUrl('mo','plugin','act','dispInsertPlugin','plugin',$val->plugin)}">{$lang->cmd_make}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="7">
|
<td colspan="7">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue