diff --git a/adm/admin.lib.php b/adm/admin.lib.php index c6b14410b..5cf11271f 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -263,4 +263,7 @@ if (isset($sfl)) $arr_query[] = 'sfl='.$sfl; if (isset($stx)) $arr_query[] = 'stx='.$stx; if (isset($page)) $arr_query[] = 'page='.$page; $qstr = implode("&", $arr_query); + +// 관리자에서는 추가 스크립트는 사용하지 않는다. +$config['cf_add_script'] = ''; ?> \ No newline at end of file diff --git a/adm/board_form.php b/adm/board_form.php index a116883cc..23ab9f8a2 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -45,6 +45,10 @@ if (!isset($board['bo_mobile_content_head'])) { sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_content_head` TEXT NOT NULL AFTER `bo_content_head`, ADD `bo_mobile_content_tail` TEXT NOT NULL AFTER `bo_content_tail`", false); } +if (!isset($board['bo_use_cert'])) { + sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_use_cert` ENUM('none','cert','adult') NOT NULL DEFAULT 'none' AFTER `bo_use_email` ", false); +} + $required = ""; $readonly = ""; if ($w == '') { @@ -87,6 +91,7 @@ if ($w == '') { $board['bo_include_head'] = '_head.php'; $board['bo_include_tail'] = '_tail.php'; $board['bo_show_menu'] = true; + $board['bo_use_cert'] = 'none'; } else if ($w == 'u') { @@ -544,6 +549,27 @@ $pg_anchor = '