Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -18,9 +18,11 @@ if ($board['bo_use_category']) {
|
||||
$category = trim($categories[$i]);
|
||||
if ($category=='') continue;
|
||||
$category_option .= '<li><a href="'.($category_href."&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>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="")
|
||||
if ($total_page > 1) {
|
||||
for ($k=$start_page;$k<=$end_page;$k++) {
|
||||
if ($cur_page != $k)
|
||||
$str .= '<a href="'.$url.$k.$add.'" class="pg_page">'.$k.'</a><span class="sound_only">페이지</span>'.PHP_EOL;
|
||||
$str .= '<a href="'.$url.$k.$add.'" class="pg_page">'.$k.'<span class="sound_only">페이지</span></a>'.PHP_EOL;
|
||||
else
|
||||
$str .= '<span class="sound_only">열린</span><strong class="pg_current">'.$k.'</strong><span class="sound_only">페이지</span>'.PHP_EOL;
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ $.fn.listType = function(type)
|
||||
this.addClass("sct_40");
|
||||
$el.each(function() {
|
||||
if($(this).data("style")) {
|
||||
$(this).attr("style", "");
|
||||
$(this).removeAttr("style");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user