mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
댓글 작성자 알림 설정페이지 만들고 모듈별로 선택하여 사용
This commit is contained in:
parent
d0ba49b233
commit
f0b1f785c1
9 changed files with 76 additions and 10 deletions
|
|
@ -31,6 +31,8 @@ class ncenterliteAdminController extends ncenterlite
|
|||
'variable_name',
|
||||
'user_notify_setting',
|
||||
'anonymous_voter',
|
||||
'comment_all',
|
||||
'comment_all_notify_module_srls',
|
||||
);
|
||||
|
||||
foreach($config_vars as $val)
|
||||
|
|
@ -77,6 +79,19 @@ class ncenterliteAdminController extends ncenterlite
|
|||
$config->admin_notify_module_srls = array();
|
||||
}
|
||||
}
|
||||
|
||||
if($obj->disp_act == 'dispNcenterliteAdminOtherComment')
|
||||
{
|
||||
if(!$obj->comment_all)
|
||||
{
|
||||
$config->comment_all = 'N';
|
||||
}
|
||||
if(!$obj->comment_all_notify_module_srls)
|
||||
{
|
||||
$config->comment_all_notify_module_srls = array();
|
||||
}
|
||||
}
|
||||
|
||||
$output = $oModuleController->insertModuleConfig('ncenterlite', $config);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue