mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 11:32:12 +09:00
1. 에디터 모듈의 추가 설정 부분을 확장하여 업로드 권한/컴포넌트/기본컴포넌트/html사용등의 권한과 에디터 높이/스킨등을 상세히 설정할 수 있도록 기능 추가.
2. 게시판 모듈(board)의 경우 기본 설정 - 추가 설정 - 권한 설정을 여러개의 게시판에 대해서 일괄 적용할 수 있도록 기능 추가 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3519 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
77195b282a
commit
62ff4b1fae
54 changed files with 710 additions and 230 deletions
|
|
@ -60,15 +60,24 @@
|
|||
function procTrackbackAdminInsertModuleConfig() {
|
||||
// 필요한 변수를 받아옴
|
||||
$module_srl = Context::get('target_module_srl');
|
||||
if(preg_match('/^([0-9,]+)$/',$module_srl)) $module_srl = explode(',',$module_srl);
|
||||
else $module_srl = array($module_srl);
|
||||
|
||||
$enable_trackback = Context::get('enable_trackback');
|
||||
if(!in_array($enable_trackback, array('Y','N'))) $enable_trackback = 'N';
|
||||
|
||||
if(!$module_srl || !$enable_trackback) return new Object(-1, 'msg_invalid_request');
|
||||
|
||||
// 설정 저장
|
||||
$output = $this->setTrackbackModuleConfig($module_srl, $enable_trackback);
|
||||
// 설정 저장
|
||||
for($i=0;$i<count($module_srl);$i++) {
|
||||
$srl = trim($module_srl[$i]);
|
||||
if(!$srl) continue;
|
||||
$output = $this->setTrackbackModuleConfig($srl, $enable_trackback);
|
||||
}
|
||||
|
||||
$this->setMessage('success_registed');
|
||||
$this->setError(-1);
|
||||
$this->setMessage('success_updated');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue