mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 11:52:14 +09:00
포인트 모듈에 회원가입시 포인트를 줄 수 있도록 기능 개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2718 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
faf518676f
commit
6e3c2b4fb4
10 changed files with 58 additions and 2 deletions
|
|
@ -61,13 +61,14 @@
|
|||
// 변수 정리
|
||||
$args = Context::getRequestVars();
|
||||
|
||||
$config->signup = (int)$args->signup;
|
||||
$config->insert_document = (int)$args->insert_document;
|
||||
$config->insert_comment = (int)$args->insert_comment;
|
||||
$config->upload_file = (int)$args->upload_file;
|
||||
$config->download_file = (int)$args->download_file;
|
||||
|
||||
foreach($args as $key => $val) {
|
||||
preg_match("/^(insert_document|insert_comment|upload_file|download_file)_([0-9]+)$/", $key, $matches);
|
||||
preg_match("/^(signup|insert_document|insert_comment|upload_file|download_file)_([0-9]+)$/", $key, $matches);
|
||||
if(!$matches[1]) continue;
|
||||
$name = $matches[1];
|
||||
$module_srl = $matches[2];
|
||||
|
|
@ -95,6 +96,7 @@
|
|||
// 변수 정리
|
||||
$args = Context::getRequestVars();
|
||||
|
||||
$config->signup_act = $args->signup_act;
|
||||
$config->insert_document_act = $args->insert_document_act;
|
||||
$config->delete_document_act = $args->delete_document_act;
|
||||
$config->insert_comment_act = $args->insert_comment_act;
|
||||
|
|
@ -132,7 +134,8 @@
|
|||
$config = $oModuleModel->getModuleConfig('point');
|
||||
|
||||
// 각 act값을 정리
|
||||
$act_list = sprintf("%s,%s,%s,%s,%s,%s,%s",
|
||||
$act_list = sprintf("%s,%s,%s,%s,%s,%s,%s,%s",
|
||||
$config->signup_act,
|
||||
$config->insert_document_act,
|
||||
$config->delete_document_act,
|
||||
$config->insert_comment_act,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue