#77. 에디터에서 파일 업로드 행동을 하였을 경우에만 getNextSequence() 를 호출하도록 하여 DB 부하를 대폭 감소.

블로그 모듈의 기본 스킨들에서 댓글의 에디터도 위지윅 에디터로 대체하였음.
     기본 board모듈의 스킨은 filter/insert.xml에서 document_srl을 제거해야 함.


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2572 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-09-11 02:46:10 +00:00
parent 86670c07c5
commit 9a9e86f1fa
58 changed files with 857 additions and 620 deletions

View file

@ -21,12 +21,12 @@
Context::addCssFile($this->module_path."tpl/css/editor.css");
// 변수 정리
$upload_target_srl = Context::get('upload_target_srl');
$editor_sequence = Context::get('editor_sequence ');
$component = Context::get('component');
// component 객체를 받음
$oEditorModel = &getModel('editor');
$oComponent = &$oEditorModel->getComponentObject($component, $upload_target_srl);
$oComponent = &$oEditorModel->getComponentObject($component, $editor_sequence);
if(!$oComponent->toBool()) {
Context::set('message', sprintf(Context::getLang('msg_component_is_not_founded'), $component));
$this->setTemplatePath($this->module_path.'tpl');