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

This commit is contained in:
zero 2007-03-30 06:48:43 +00:00
parent 22c70bff60
commit 13901b88c8
32 changed files with 888 additions and 862 deletions

View file

@ -1,11 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<module version="0.1">
<title xml:lang="ko">메세지</title>
<title xml:lang="en">message</title>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
<name xml:lang="ko">제로</name>
<name xml:lang="en">zero</name>
<description xml:lang="ko">메세지 관리 모듈</description>
<description xml:lang="en">message</description>
</author>
<title xml:lang="ko">메세지</title>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
<name xml:lang="ko">제로</name>
<description xml:lang="ko">오류 메세지 관리 모듈</description>
</author>
</module>

View file

@ -3,7 +3,7 @@
<grants />
<actions>
<action name="dispMessage" type="view" standalone="true" index="true"/>
<action name="dispConfig" type="view" standalone="true" admin_index="true"/>
<action name="procInsertConfig" type="controller" standalone="true" />
<action name="dispMessageAdminConfig" type="view" standalone="true" admin_index="true"/>
<action name="procMessageAdminInsertConfig" type="controller" standalone="true" />
</actions>
</module>

View file

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

View file

@ -16,7 +16,7 @@
/**
* @brief 설정
**/
function procInsertConfig() {
function procMessageAdminInsertConfig() {
// 기본 정보를 받음
$args->skin = Context::get('skin');

View file

@ -16,7 +16,7 @@
/**
* @brief 메세지 출력
**/
function dispContent() {
function dispMessage() {
// 설정 정보를 받아옴 (module model 객체를 이용)
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('rss');
@ -34,7 +34,7 @@
/**
* @brief 설정
**/
function dispConfig() {
function dispMessageAdminConfig() {
// 스킨 목록을 구해옴
$oModuleModel = &getModel('module');
$skin_list = $oModuleModel->getskins($this->module_path);