mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 23:59:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@426 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c6bcfebded
commit
395e5f95b2
3 changed files with 27 additions and 2 deletions
|
|
@ -4,5 +4,6 @@
|
||||||
<action name="dispDownloadedPluginList" type="view" standalone="true" admin_index="true" />
|
<action name="dispDownloadedPluginList" type="view" standalone="true" admin_index="true" />
|
||||||
<action name="dispPluginInfo" type="view" standalone="true" />
|
<action name="dispPluginInfo" type="view" standalone="true" />
|
||||||
<action name="dispGenerateCode" type="view" standalone="true" />
|
<action name="dispGenerateCode" type="view" standalone="true" />
|
||||||
|
<action name="dispGeneratedCode" type="view" standalone="true" />
|
||||||
</actions>
|
</actions>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 플러그인의 상세 정보(conf/info.xml)를 팝업 출력
|
* @brief 플러그인의 코드 생성기
|
||||||
**/
|
**/
|
||||||
function dispGenerateCode() {
|
function dispGenerateCode() {
|
||||||
// 선택된 플러그인 정보를 구함
|
// 선택된 플러그인 정보를 구함
|
||||||
|
|
@ -63,5 +63,26 @@
|
||||||
$this->setTemplateFile('plugin_generate_code');
|
$this->setTemplateFile('plugin_generate_code');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 플러그인의 생성된 코드를 출력
|
||||||
|
**/
|
||||||
|
function dispGeneratedCode() {
|
||||||
|
// 선택된 플러그인 정보를 구함
|
||||||
|
$oPluginModel = &getModel('plugin');
|
||||||
|
$plugin_info = $oPluginModel->getPluginInfo(Context::get('selected_plugin'));
|
||||||
|
Context::set('plugin_info', $plugin_info);
|
||||||
|
|
||||||
|
// mid 목록을 가져옴
|
||||||
|
$oModuleModel = &getModel('module');
|
||||||
|
$mid_list = $oModuleModel->getMidList();
|
||||||
|
Context::set('mid_list', $mid_list);
|
||||||
|
|
||||||
|
// 플러그인을 팝업으로 지정
|
||||||
|
$this->setLayoutFile('popup_layout');
|
||||||
|
|
||||||
|
// 템플릿 파일 지정
|
||||||
|
$this->setTemplateFile('plugin_generate_code');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,12 @@
|
||||||
</tr>
|
</tr>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td>
|
||||||
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
|
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="submit" value="{$lang->cmd_generate_code}" />
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue