Merge branch 'g4s'

This commit is contained in:
chicpro
2013-08-09 08:39:05 +09:00
2 changed files with 5 additions and 3 deletions

View File

@ -18,9 +18,11 @@ if ($board['bo_use_category']) {
$category = trim($categories[$i]);
if ($category=='') continue;
$category_option .= '<li><a href="'.($category_href."&amp;sca=".urlencode($category)).'"';
if ($category==$sca)
if ($category==$sca) { // 현재 선택된 카테고리라면
$category_option .= ' id="bo_cate_on"';
$category_option .= '>'.$category.'</a></li>';
$category_msg = '<span class="sound_only">열린 분류 </span>';
}
$category_option .= '>'.$category_msg.$category.'</a></li>';
}
}