From bf120c4d1287dca79816a8466b87cfcc8959d640 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 5 Mar 2013 10:13:57 +0900 Subject: [PATCH] =?UTF-8?q?write=5Fpages=20=EC=B2=98=EB=A6=AC=EC=97=90=20?= =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/list.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bbs/list.php b/bbs/list.php index 09e84a3b9..77a8bc3b4 100644 --- a/bbs/list.php +++ b/bbs/list.php @@ -18,7 +18,7 @@ if ($board['bo_use_category']) { $category = trim($categories[$i]); if ($category=='') continue; $category_option .= '
  • '; } @@ -137,7 +137,7 @@ while ($row = sql_fetch_array($result)) $k++; } -$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, './board.php?bo_table='.$bo_table.$qstr.'&page='); +$write_pages = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, './board.php?bo_table='.$bo_table.$qstr.'&page='); $list_href = ''; $prev_part_href = ''; @@ -149,13 +149,13 @@ if ($sca || $stx) { $prev_spt = $spt - $config['cf_search_part']; if (isset($min_spt) && $prev_spt >= $min_spt) { $prev_part_href = './board.php?bo_table='.$bo_table.$qstr.'&spt='.$prev_spt.'&page=1'; - $write_pages = page_insertbefore($write_pages, '이전검색'); + $write_pages = page_insertbefore($write_pages, '이전검색'); } $next_spt = $spt + $config['cf_search_part']; if ($next_spt < 0) { $next_part_href = './board.php?bo_table='.$bo_table.$qstr.'&spt='.$next_spt.'&page=1'; - $write_pages = page_insertafter($write_pages, '다음검색'); + $write_pages = page_insertafter($write_pages, '다음검색'); } }