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

This commit is contained in:
zero 2007-03-16 05:47:30 +00:00
parent 4446ee2266
commit db68b3ebfe
4 changed files with 27 additions and 41 deletions

View file

@ -17,9 +17,16 @@
* @brief 에디터를 return
**/
function getEditor($upload_target_srl, $allow_fileupload = false) {
// 업로드를 위한 변수 설정
Context::set('upload_target_srl', $upload_target_srl);
Context::set('allow_fileupload', $allow_fileupload);
// 에디터 컴포넌트를 구함
$component_list = FileHandler::readDir($this->module_path.'components');
debugPrint($component_list);
// 템플릿을 미리 컴파일해서 컴파일된 소스를 return
$tpl_path = $this->module_path.'tpl';
$tpl_file = 'editor.html';