Fix #1998 missing comment_count in board list config

- 기본 항목 리스트에 댓글 수 (comment_count) 추가
- '댓글'이라고 표시되는 comment_status 항목의 명칭을 '댓글 허용 여부'로 변경
This commit is contained in:
Kijin Sung 2022-10-11 01:19:00 +09:00
parent 9bc69abe0b
commit 68429cabe4
3 changed files with 4 additions and 3 deletions

View file

@ -58,7 +58,8 @@ class boardModel extends module
{
// add virtual srl, title, registered date, update date, nickname, ID, name, readed count, voted count etc.
$virtual_vars = array( 'no', 'title', 'regdate', 'last_update', 'last_post', 'module_title', 'nick_name',
'user_id', 'user_name', 'readed_count', 'voted_count', 'blamed_count', 'thumbnail', 'summary', 'comment_status');
'user_id', 'user_name', 'readed_count', 'voted_count', 'blamed_count', 'comment_count',
'thumbnail', 'summary', 'comment_status');
foreach($virtual_vars as $key)
{
$extra_vars[$key] = new ExtraItem($module_srl, -1, lang($key), $key, 'N', 'N', 'N', null);

View file

@ -50,7 +50,7 @@ $lang->write_comment = 'Write a comment';
$lang->msg_not_allow_comment = 'This article is not allowed to write comment.';
$lang->no_board_instance = 'There is no board created.';
$lang->choose_board_instance = 'Please choose one or more board instance.';
$lang->comment_status = 'Comments';
$lang->comment_status = 'Comments Allowed';
$lang->category_settings = 'Category settings';
$lang->hide_category = 'Hide categories';
$lang->about_hide_category = 'You can disable a category feature.';

View file

@ -51,7 +51,7 @@ $lang->write_comment = '댓글 쓰기';
$lang->msg_not_allow_comment = '해당 글의 댓글 쓰기가 잠겨있습니다.';
$lang->no_board_instance = '생성된 게시판이 없습니다.';
$lang->choose_board_instance = '관리할 게시판을 선택해 주세요.';
$lang->comment_status = '댓글';
$lang->comment_status = '댓글 허용 여부';
$lang->category_settings = '분류 설정';
$lang->hide_category = '분류 숨기기';
$lang->about_hide_category = '임시로 분류를 사용하지 않으려면 체크하세요.';