mid별 자동 저장, 방명록 스킨에 이상한 문자열 삭제

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6541 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-06-14 18:34:23 +00:00
parent 4ac4a8cd21
commit 1b749490dd
10 changed files with 475 additions and 433 deletions

View file

@ -229,6 +229,14 @@
} else {
$args->ipaddress = $_SERVER['REMOTE_ADDR'];
}
// module_srl이 없으면 현재 모듈
if(!$args->module_srl) {
$args->module_srl = Context::get('module_srl');
}
if(!$args->module_srl) {
$current_module_info = Context::get('current_module_info');
$args->module_srl = $current_module_info->module_srl;
}
// 저장
return executeQuery('editor.insertSavedDoc', $args);
@ -241,7 +249,8 @@
function triggerSrlSetting(&$obj) {
$oEditorModel = &getModel('editor');
$saved_doc = $oEditorModel->getSavedDoc(null);
if($obj->uploadTargetSrl == $saved_doc->document_srl) Context::set("getIsPermitted",$saved_doc->document_srl); return $output;
if($obj->uploadTargetSrl == $saved_doc->document_srl) Context::set("getIsPermitted",$saved_doc->document_srl);
return $output;
}