사용하지 않는 글쓰기 상태 값 숨김

메뉴 편집 게시판 상세 설정에서 사용하지 않는 상태 값을 숨김
사이트 메뉴 편집 -> 게시판 -> 상세 설정 - 상태
This commit is contained in:
dewekk 2022-01-05 14:33:15 +09:00 committed by GitHub
parent f334889047
commit 80797387a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,10 @@ class boardAdminModel extends board
// get document status list
$oDocumentModel = getModel('document');
$documentStatusList = $oDocumentModel->getStatusNameList();
$documentStatusList = array_intersect_key($oDocumentModel->getStatusNameList(), [
'PUBLIC' => true,
'SECRET' => true,
]);
Context::set('document_status_list', $documentStatusList);
// set order target list