mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
콘텐츠 위젯에 비밀글 출력 설정 추기
This commit is contained in:
parent
78c0417065
commit
833436465b
2 changed files with 36 additions and 1 deletions
|
|
@ -249,8 +249,17 @@ class content extends WidgetHandler
|
|||
{
|
||||
$obj->order_type = $args->order_type=="desc"?"desc":"asc";
|
||||
}
|
||||
|
||||
if($args->show_secret == 'Y')
|
||||
{
|
||||
$obj->statusList = array('PUBLIC', 'SECRET');
|
||||
}
|
||||
else
|
||||
{
|
||||
$obj->statusList = array('PUBLIC');
|
||||
}
|
||||
|
||||
$obj->list_count = $args->list_count * $args->page_count;
|
||||
$obj->statusList = array('PUBLIC');
|
||||
$output = executeQueryArray('widgets.content.getNewestDocuments', $obj);
|
||||
if(!$output->toBool() || !$output->data) return;
|
||||
// If the result exists, make each document as an object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue