diff --git a/bbs/group.php b/bbs/group.php
index 716b27508..4ad83b98b 100644
--- a/bbs/group.php
+++ b/bbs/group.php
@@ -1,8 +1,13 @@
include_once('./_common.php');
include_once(G4_LIB_PATH.'/latest.lib.php');
+$g4['title'] = $group['gr_subject'];
+
+if (G4_IS_MOBILE) {
+ include_once(G4_MOBILE_PATH.'/group.php');
+ return;
+}
-$g4['title'] = $group[gr_subject];
include_once('./_head.php');
?>
@@ -17,7 +22,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
- echo latest('basic', $row[bo_table], 5, 70);
+ echo latest('basic', $row['bo_table'], 5, 70);
}
?>
diff --git a/head.sub.php b/head.sub.php
index 6a919310f..988a6c6af 100644
--- a/head.sub.php
+++ b/head.sub.php
@@ -76,7 +76,7 @@ var g4_cookie_domain = "=G4_COOKIE_DOMAIN?>";
if(G4_IS_MOBILE) { ?>
} ?>
if (!defined('G4_IS_ADMIN')) { echo $config['cf_add_script']; } ?>
diff --git a/js/common.js b/js/common.js
index ba517b69d..7150b7a43 100644
--- a/js/common.js
+++ b/js/common.js
@@ -581,13 +581,13 @@ function font_default(id)
if(isNaN(count))
count = 0;
- // font resize 카운트 초기화
- set_cookie("ck_font_resize_count", 0, 1, g4_cookie_domain);
-
- if(count > 0)
+ if(count > 0) {
act = "decrease";
- else
+ } else {
act = "increase";
+ // 작게 후 기본 크기가 되지 않는 문제해결을 위해 추가
+ set_cookie("ck_font_resize_count", 0, 1, g4_cookie_domain);
+ }
for(i=0; i
+
+모바일용 게시판 그룹
+
+
+include_once(G4_MOBILE_PATH.'/_tail.php');
+?>
diff --git a/mobile/index.php b/mobile/index.php
index 4ff043e78..ad42f959d 100644
--- a/mobile/index.php
+++ b/mobile/index.php
@@ -1,4 +1,6 @@
+if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
+
include_once(G4_MOBILE_PATH.'/_head.php');
?>