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

This commit is contained in:
zero 2007-06-04 06:02:04 +00:00
parent f2e47e336d
commit 2de087f399
51 changed files with 3495 additions and 130 deletions

View file

@ -0,0 +1,47 @@
<?php
/**
* @class editorAdminView
* @author zero (zero@nzeo.com)
* @brief editor 모듈의 admin view 클래스
**/
class editorAdminView extends editor {
/**
* @brief 초기화
**/
function init() {
}
/**
* @brief 관리자 설정 페이지
* 에디터 컴포넌트의 on/off 설정을 담당
**/
function dispEditorAdminIndex() {
// 컴포넌트의 종류를 구해옴
$oEditorModel = &getModel('editor');
$component_list = $oEditorModel->getComponentList(false);
Context::set('component_list', $component_list);
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('admin_index');
}
/**
* @brief 컴퍼넌트 setup
**/
function dispEditorAdminSetupComponent() {
$component_name = Context::get('component_name');
$oEditorModel = &getModel('editor');
$component = $oEditorModel->getComponent($component_name);
Context::set('component', $component);
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('setup_component');
$this->setLayoutFile("popup_layout");
}
}
?>