mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
알림센터 목록 수 조정 옵션 추가
This commit is contained in:
parent
34db077871
commit
e7f3f75839
4 changed files with 39 additions and 0 deletions
|
|
@ -36,8 +36,17 @@ class ncenterliteAdminController extends ncenterlite
|
|||
'comment_all',
|
||||
'comment_all_notify_module_srls',
|
||||
'unsubscribe',
|
||||
'notify_count',
|
||||
);
|
||||
|
||||
if($obj->disp_act == 'dispNcenterliteAdminSkinsetting')
|
||||
{
|
||||
if(intval($obj->notify_count) !== intval($config->notify_count))
|
||||
{
|
||||
Rhymix\Framework\Cache::clearGroup($this->module);
|
||||
}
|
||||
}
|
||||
|
||||
foreach($config_vars as $val)
|
||||
{
|
||||
if($obj->{$val})
|
||||
|
|
@ -98,6 +107,14 @@ class ncenterliteAdminController extends ncenterlite
|
|||
$config->comment_all_notify_module_srls = array();
|
||||
}
|
||||
}
|
||||
|
||||
if($obj->disp_act == 'dispNcenterliteAdminSkinsetting')
|
||||
{
|
||||
if(!$obj->notify_count)
|
||||
{
|
||||
$config->notify_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
$output = $oModuleController->insertModuleConfig('ncenterlite', $config);
|
||||
if(!$output->toBool())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue