diff --git a/adm/board_form.php b/adm/board_form.php
index deb566a53..325a1a5a4 100644
--- a/adm/board_form.php
+++ b/adm/board_form.php
@@ -29,8 +29,8 @@ if (!isset($board['bo_mobile_skin'])) {
sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_skin` VARCHAR(255) NOT NULL DEFAULT '' AFTER `bo_skin` ", false);
}
-if (!isset($board['bo_mobile_gallery_cols'])) {
- sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_gallery_cols` INT NOT NULL AFTER `bo_gallery_cols` ", false);
+if (!isset($board['bo_gallery_width'])) {
+ sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_gallery_width` INT NOT NULL AFTER `bo_gallery_cols`, ADD `bo_gallery_height` INT NOT NULL AFTER `bo_gallery_width`, ADD `bo_moblie_gallery_cols` INT NOT NULL AFTER `bo_gallery_height`, ADD `bo_mobile_gallery_width` INT NOT NULL AFTER `bo_mobile_gallery_cols`, ADD `bo_mobile_gallery_height` INT NOT NULL AFTER `bo_mobile_gallery_width` ", false);
}
if ($w == '') {
@@ -48,6 +48,11 @@ if ($w == '') {
$board['bo_download_point'] = $config['cf_download_point'];
$board['bo_gallery_cols'] = 4;
+ $board['bo_gallery_width'] = 200;
+ $board['bo_gallery_height'] = 150;
+ $board['bo_mobile_gallery_cols'] = 2;
+ $board['bo_mobile_gallery_width'] = 160;
+ $board['bo_mobile_gallery_height'] = 120;
$board['bo_table_width'] = 97;
$board['bo_page_rows'] = $config['cf_page_rows'];
$board['bo_subject_len'] = 60;
@@ -694,9 +699,9 @@ $pg_anchor = "
- 가로 이미지수필수
+ 갤러리 이미지 수필수
- =help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여줄것인지를 설정하는 값')?>
+ =help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값')?>
@@ -705,14 +710,58 @@ $pg_anchor = "
- 모바일 가로 이미지수필수
+ 갤러리 이미지 폭필수
- =help('모바일 접속시 갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여줄것인지를 설정하는 값')?>
+ =help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값')?>
+
+
+
+
+ 동일그룹 모두 적용
+
+
+
+ 갤러리 이미지 높이필수
+
+ =help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값')?>
+
+
+
+
+ 동일그룹 모두 적용
+
+
+
+ 모바일 갤러리 이미지 수필수
+
+ =help('모바일로 접속시 갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값')?>
-
- 동일그룹 모두 적용
+
+ 동일그룹 모두 적용
+
+
+
+ 모바일 갤러리 이미지 폭필수
+
+ =help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값')?>
+
+
+
+
+ 동일그룹 모두 적용
+
+
+
+ 모바일 갤러리 이미지 높이필수
+
+ =help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값')?>
+
+
+
+
+ 동일그룹 모두 적용
diff --git a/adm/board_form_update.php b/adm/board_form_update.php
index 5637c5f79..f5ac45e21 100644
--- a/adm/board_form_update.php
+++ b/adm/board_form_update.php
@@ -99,7 +99,11 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
bo_content_tail = '{$_POST['bo_content_tail']}',
bo_insert_content = '{$_POST['bo_insert_content']}',
bo_gallery_cols = '{$_POST['bo_gallery_cols']}',
- bo_mobile_gallery_cols='{$_POST['bo_mobile_gallery_cols']}',
+ bo_gallery_width = '{$_POST['bo_gallery_width']}',
+ bo_gallery_height = '{$_POST['bo_gallery_height']}',
+ bo_mobile_gallery_cols = '{$_POST['bo_mobile_gallery_cols']}',
+ bo_mobile_gallery_width = '{$_POST['bo_mobile_gallery_width']}',
+ bo_mobile_gallery_height= '{$_POST['bo_mobile_gallery_height']}',
bo_upload_count = '{$_POST['bo_upload_count']}',
bo_upload_size = '{$_POST['bo_upload_size']}',
bo_reply_order = '{$_POST['bo_reply_order']}',
@@ -248,7 +252,11 @@ if (is_checked('chk_use_email')) $fields .= " , bo_use_email = '{$bo_use_
if (is_checked('chk_skin')) $fields .= " , bo_skin = '{$bo_skin}' ";
if (is_checked('chk_mobile_skin')) $fields .= " , bo_mobile_skin = '{$bo_mobile_skin}' ";
if (is_checked('chk_gallery_cols')) $fields .= " , bo_gallery_cols = '{$bo_gallery_cols}' ";
-if (is_checked('chk_mobile_gallery_cols'))$fields.=" , bo_mobile_gallery_cols = '{$bo_mobile_gallery_cols}' ";
+if (is_checked('chk_gallery_width')) $fields .= " , bo_gallery_width = '{$bo_gallery_width}' ";
+if (is_checked('chk_gallery_height')) $fields .= " , bo_gallery_height = '{$bo_gallery_height}' ";
+if (is_checked('chk_mobile_gallery_cols')) $fields .= " , bo_mobile_gallery_cols = '{$bo_mobile_gallery_cols}' ";
+if (is_checked('chk_mobile_gallery_width')) $fields .= " , bo_mobile_gallery_width = '{$bo_mobile_gallery_width}' ";
+if (is_checked('chk_mobile_gallery_height'))$fields .= " , bo_mobile_gallery_height = '{$bo_mobile_gallery_height}' ";
if (is_checked('chk_table_width')) $fields .= " , bo_table_width = '{$bo_table_width}' ";
if (is_checked('chk_page_rows')) $fields .= " , bo_page_rows = '{$bo_page_rows}' ";
if (is_checked('chk_subject_len')) $fields .= " , bo_subject_len = '{$bo_subject_len}' ";
diff --git a/install/logo.jpg b/install/logo.jpg
new file mode 100644
index 000000000..40e5b7977
Binary files /dev/null and b/install/logo.jpg differ
diff --git a/mobile/tail.php b/mobile/tail.php
index 048fa71fc..856996a3f 100644
--- a/mobile/tail.php
+++ b/mobile/tail.php
@@ -16,7 +16,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
-PC버전
+PC 버전으로 보기
include_once(G4_PATH."/tail.sub.php");
diff --git a/skin/board/gallery/list.skin.php b/skin/board/gallery/list.skin.php
index 59e8e1faa..5c1b9df78 100644
--- a/skin/board/gallery/list.skin.php
+++ b/skin/board/gallery/list.skin.php
@@ -68,7 +68,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
$k += 1;
if ($k % $board['bo_gallery_cols'] == 0) $style .= "margin:0 !important;";
?>
-
+
if ($is_checkbox) { ?> } ?>
@@ -89,13 +89,13 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
$filepath = G4_DATA_PATH.'/file/'.$bo_table;
if(preg_match("/\.({$config['cf_image_extension']})$/i", $file['bf_file']) && is_file($filepath.'/'.$file['bf_file'])) {
- $thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_9'], $board['bo_10']);
+ $thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_gallery_width'], $board['bo_gallery_height']);
$imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
} else {
$imgsrc = $board_skin_url.'/img/noimg.jpg';
}
?>
-
+
} ?>
diff --git a/tail.php b/tail.php
index b962dd53d..f804b56b3 100644
--- a/tail.php
+++ b/tail.php
@@ -30,7 +30,7 @@ if ($config['cf_include_tail']) {
-모바일 버전으로 보기
+모바일 버전으로 보기
}?>