카테고리 공통 출력 부분 처리

카테고리 공통 출력 부분 처리
This commit is contained in:
TATECK 2022-09-20 04:11:26 +09:00 committed by GitHub
parent 85e7bb26a3
commit 124d33bd5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 분류 사용 여부 // 분류 사용 여부
$is_category = false; $is_category = false;
$category_option = ''; $category_option = '';
$category_list = '';
if ($board['bo_use_category']) { if ($board['bo_use_category']) {
$is_category = true; $is_category = true;
$category_href = G5_BBS_URL.'/board.php?bo_table='.$bo_table; $category_href = G5_BBS_URL.'/board.php?bo_table='.$bo_table;
@ -25,6 +26,8 @@ if ($board['bo_use_category']) {
} }
$category_option .= '>'.$category_msg.$category.'</a></li>'; $category_option .= '>'.$category_msg.$category.'</a></li>';
} }
$category_list = get_category_list($bo_table, $sca);
} }
$sop = strtolower($sop); $sop = strtolower($sop);