페이지 위젯에 박스 위젯 추가. 각 위젯마다 배경을 지정할 수 있도록 하고 IE에서 메모리 누수 현상이 발생하던 부분을 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2983 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-11-16 10:47:50 +00:00
parent 23ac5b8f54
commit 9124d18a91
31 changed files with 1397 additions and 1001 deletions

View file

@ -25,5 +25,35 @@
$this->setTemplateFile('downloaded_widget_list');
}
/**
* @brief 내용 직접 입력 위젯 팝업창 내용을 꾸힘
**/
function dispWidgetAdminAddContent() {
$this->setLayoutFile("popup_layout");
$module_srl = Context::get('module_srl');
if(!$module_srl) return $this->stop("msg_invalid_request");
$oModuleModel = &getModel('module');
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
Context::set('module_info', $module_info);
// 에디터 모듈의 getEditor를 호출하여 세팅
$oEditorModel = &getModel('editor');
$option->primary_key_name = 'module_srl';
$option->content_key_name = 'content';
$option->allow_fileupload = true;
$option->enable_autosave = false;
$option->enable_default_component = true;
$option->enable_component = true;
$option->resizable = false;
$option->height = 400;
$option->manual_start = true;
$editor = $oEditorModel->getEditor($module_srl, $option);
Context::set('editor', $editor);
$this->setTemplateFile('add_content_widget');
}
}
?>