mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
8326004cb2
2773 changed files with 91485 additions and 0 deletions
35
modules/message/message.view.php
Normal file
35
modules/message/message.view.php
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
/**
|
||||
* @class messageView
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief message모듈의 view class
|
||||
**/
|
||||
|
||||
class messageView extends message {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 메세지 출력
|
||||
**/
|
||||
function dispMessage() {
|
||||
// 설정 정보를 받아옴 (module model 객체를 이용)
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('rss');
|
||||
if(!$config->skin) $config->skin = 'default';
|
||||
|
||||
// 템플릿 경로를 지정
|
||||
$template_path = sprintf('%sskins/%s', $this->module_path, $config->skin);
|
||||
|
||||
Context::set('system_message', $this->getMessage());
|
||||
|
||||
$this->setTemplatePath($template_path);
|
||||
$this->setTemplateFile('system_message');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue