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 = '