From a6051aa758e243fb7183aceefb9f6f0625e35a29 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 2 Oct 2013 11:24:27 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EA=B0=A4?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=A0=95?= =?UTF-8?q?=EB=A0=AC=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=EB=B0=8F=20view=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=EB=A6=AC=EC=82=AC=EC=9D=B4=EC=A6=88=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_copy_update.php | 1 - adm/board_form.php | 16 +---- adm/board_form_update.php | 3 - install/gnuboard5.sql | 1 - js/jquery.fancylist.js | 62 +++++++++++++++++++ js/viewimageresize.js | 43 +++++++++++++ mobile/skin/board/basic/view.skin.php | 4 ++ mobile/skin/board/gallery/list.skin.php | 14 ++--- mobile/skin/board/gallery/style.css | 2 +- mobile/skin/board/gallery/view.skin.php | 4 ++ skin/board/basic/view.skin.php | 80 +++---------------------- skin/board/gallery/view.skin.php | 80 +++---------------------- 12 files changed, 136 insertions(+), 174 deletions(-) create mode 100644 js/jquery.fancylist.js create mode 100644 js/viewimageresize.js diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php index 016767115..4eaab6076 100644 --- a/adm/board_copy_update.php +++ b/adm/board_copy_update.php @@ -84,7 +84,6 @@ $sql = " insert into {$g5['board_table']} bo_gallery_cols = '{$board[bo_gallery_cols]}', bo_gallery_width = '{$board[bo_gallery_width]}', bo_gallery_height = '{$board[bo_gallery_height]}', - bo_mobile_gallery_cols = '{$board[bo_mobile_gallery_cols]}', bo_mobile_gallery_width = '{$board[bo_mobile_gallery_width]}', bo_mobile_gallery_height = '{$board[bo_mobile_gallery_height]}', bo_upload_size = '{$board[bo_upload_size]}', diff --git a/adm/board_form.php b/adm/board_form.php index 86f4cd5f2..39c9c93a8 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -30,7 +30,7 @@ if (!isset($board['bo_mobile_skin'])) { } if (!isset($board['bo_gallery_width'])) { - sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_gallery_width` INT NOT NULL AFTER `bo_gallery_cols`, ADD `bo_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_width`, ADD `bo_mobile_gallery_cols` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_height`, ADD `bo_mobile_gallery_width` INT NOT NULL DEFAULT '0' AFTER `bo_mobile_gallery_cols`, ADD `bo_mobile_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_mobile_gallery_width` ", false); + sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_gallery_width` INT NOT NULL AFTER `bo_gallery_cols`, ADD `bo_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_width`, ADD `bo_mobile_gallery_width` INT NOT NULL DEFAULT '0' AFTER `bo_gallery_height`, ADD `bo_mobile_gallery_height` INT NOT NULL DEFAULT '0' AFTER `bo_mobile_gallery_width` ", false); } if (!isset($board['bo_mobile_subject_len'])) { @@ -101,7 +101,6 @@ if ($w == '') { $board['bo_gallery_cols'] = 4; $board['bo_gallery_width'] = 174; $board['bo_gallery_height'] = 124; - $board['bo_mobile_gallery_cols'] = 3; $board['bo_mobile_gallery_width'] = 125; $board['bo_mobile_gallery_height'] = 100; $board['bo_table_width'] = 100; @@ -988,19 +987,6 @@ $pg_anchor = '