From d047a0933d881a323c1701a4cc3cb2ee199f3d17 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 7 Mar 2013 18:32:18 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=EC=88=98=20=EC=84=A4=EC=A0=95=EC=9D=B8?= =?UTF-8?q?=EB=93=AF=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 65 ++++++++++++++++++++++++++++---- adm/board_form_update.php | 12 +++++- skin/board/gallery/list.skin.php | 6 +-- 3 files changed, 70 insertions(+), 13 deletions(-) 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 = "