mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
mid별 자동 저장, 방명록 스킨에 이상한 문자열 삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6541 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4ac4a8cd21
commit
1b749490dd
10 changed files with 475 additions and 433 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue