mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
알림센터 목록 수 조정 옵션 추가
This commit is contained in:
parent
34db077871
commit
e7f3f75839
4 changed files with 39 additions and 0 deletions
|
|
@ -80,6 +80,11 @@ class ncenterliteModel extends ncenterlite
|
|||
$config->highlight_effect = 'Y';
|
||||
}
|
||||
|
||||
if(!$config->notify_count)
|
||||
{
|
||||
$config->notify_count = 5;
|
||||
}
|
||||
|
||||
self::$_config = $config;
|
||||
}
|
||||
|
||||
|
|
@ -385,11 +390,19 @@ class ncenterliteModel extends ncenterlite
|
|||
|
||||
$args = new stdClass();
|
||||
$args->member_srl = $member_srl;
|
||||
|
||||
$args->page = $page ? $page : 1;
|
||||
if ($readed)
|
||||
{
|
||||
$args->readed = $readed;
|
||||
}
|
||||
|
||||
$notify_count = intval(self::getConfig()->notify_count);
|
||||
if($notify_count)
|
||||
{
|
||||
$args->list_count = $notify_count;
|
||||
}
|
||||
|
||||
$output = executeQueryArray('ncenterlite.getNotifyList', $args);
|
||||
if (!$output->data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue