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

This commit is contained in:
zero 2007-03-30 07:11:26 +00:00
parent cfae38adb5
commit 58f4735c46
11 changed files with 97 additions and 94 deletions

View file

@ -1,3 +1,4 @@
@charset "utf-8";
.plugin_detail_info_window { .plugin_detail_info_window {
width:600px; width:600px;
clear:both; clear:both;

View file

@ -20,7 +20,7 @@
<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->author->date}</td> <td>{$val->author->date}</td>
<td>{$val->path}</td> <td>{$val->path}</td>
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispGenerateCode','selected_plugin',$val->plugin)}','plugin_code_generate','width=10,height=10,toolbars=no,scrollbars=no,resizable=yes,left=10,top=10');return false">{$lang->cmd_generate_code}</a></td> <td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispPluginGenerateCode','selected_plugin',$val->plugin)}','plugin_code_generate','width=10,height=10,toolbars=no,scrollbars=no,resizable=yes,left=10,top=10');return false">{$lang->cmd_generate_code}</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=no,resizable=yes,left=10,top=10');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=no,resizable=yes,left=10,top=10');return false">{$lang->cmd_view}</a></td>
</tr> </tr>
<tr> <tr>

View file

@ -1,4 +1,4 @@
<filter name="generate_code" module="plugin" act="procGenerateCode"> <filter name="generate_code" module="plugin" act="procPluginGenerateCode">
<response callback_func="completeGenerateCode"> <response callback_func="completeGenerateCode">
<tag name="error" /> <tag name="error" />
<tag name="message" /> <tag name="message" />

View file

@ -1,4 +1,4 @@
<filter name="generate_code_in_page" module="plugin" act="procGenerateCode"> <filter name="generate_code_in_page" module="plugin" act="procPluginGenerateCode">
<response callback_func="completeGenerateCodeInPage"> <response callback_func="completeGenerateCodeInPage">
<tag name="error" /> <tag name="error" />
<tag name="message" /> <tag name="message" />

View file

@ -1,11 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<module version="0.1"> <module version="0.1">
<title xml:lang="ko">RSS</title> <title xml:lang="ko">RSS</title>
<title xml:lang="en">RSS</title>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28"> <author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
<name xml:lang="ko">제로</name> <name xml:lang="ko">제로</name>
<name xml:lang="en">zero</name> <description xml:lang="ko">RSS 출력을 담당하는 모듈</description>
<description xml:lang="ko">RSS 관리 모듈</description>
<description xml:lang="en">rss management</description>
</author> </author>
</module> </module>

View file

@ -2,7 +2,7 @@
<module> <module>
<grants /> <grants />
<actions> <actions>
<action name="dispConfig" type="view" admin_index="true" standalone="true" /> <action name="dispRssAdminConfig" type="view" admin_index="true" standalone="true" />
<action name="procInsertConfig" type="controller" standalone="true" /> <action name="procRssAdminInsertConfig" type="controller" standalone="true" />
</actions> </actions>
</module> </module>

View file

@ -17,6 +17,11 @@
* @brief 설치시 추가 작업이 필요할시 구현 * @brief 설치시 추가 작업이 필요할시 구현
**/ **/
function moduleInstall() { function moduleInstall() {
// action forward에 등록 (관리자 모드에서 사용하기 위함)
$oModuleController = &getController('module');
$oModuleController->insertActionFoward('rss', 'view', 'dispRssAdminConfig');
$oModuleController->insertActionFoward('rss', 'controller', 'dispRssAdminInsertConfig');
return new Object(); return new Object();
} }

View file

@ -19,7 +19,7 @@
/** /**
* @brief 설정 * @brief 설정
**/ **/
function procInsertConfig() { function procRssAdminInsertConfig() {
// 기본 정보를 받음 // 기본 정보를 받음
$args = Context::gets('rss_disable', 'rss_type'); $args = Context::gets('rss_disable', 'rss_type');
if($args->rss_disable!='Y') $args->rss_disable = 'N'; if($args->rss_disable!='Y') $args->rss_disable = 'N';

View file

@ -19,7 +19,7 @@
/** /**
* @brief 설정 * @brief 설정
**/ **/
function dispConfig() { function dispRssAdminConfig() {
// 설정 정보를 받아옴 (module model 객체를 이용) // 설정 정보를 받아옴 (module model 객체를 이용)
$oModuleModel = &getModel('module'); $oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('rss'); $config = $oModuleModel->getModuleConfig('rss');