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