mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 02:10:02 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@655 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bc732c3f34
commit
4d976f2bdc
11 changed files with 193 additions and 55 deletions
|
|
@ -19,14 +19,10 @@
|
|||
**/
|
||||
function adminIndex() {
|
||||
// 컴포넌트의 종류를 구해옴
|
||||
$component_list = FileHandler::readDir($this->module_path.'components');
|
||||
arsort($component_list);
|
||||
|
||||
$oEditorModel = &getModel('editor');
|
||||
foreach($component_list as $component) {
|
||||
$list[$component] = $xml_doc = $oEditorModel->getComponentXmlInfo($component);
|
||||
}
|
||||
Context::set('component_list', $list);
|
||||
$component_list = $oEditorModel->getComponentList(false);
|
||||
|
||||
Context::set('component_list', $component_list);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('admin_index');
|
||||
|
|
@ -42,8 +38,9 @@
|
|||
|
||||
// 에디터 컴포넌트를 구함
|
||||
if(!Context::get('component_list')) {
|
||||
$component_list = FileHandler::readDir($this->module_path.'components');
|
||||
arsort($component_list);
|
||||
$oEditorModel = &getModel('editor');
|
||||
$component_list = $oEditorModel->getComponentList();
|
||||
debugPrint($component_list);
|
||||
Context::set('component_list', $component_list);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue