#492 kcb 아이핀 휴대폰본인학인 추가

This commit is contained in:
chicpro
2013-08-20 17:54:45 +09:00
parent a0b352db23
commit 9c769f145c
31 changed files with 788 additions and 187 deletions

View File

@ -54,7 +54,7 @@ if (!isset($board['bo_use_sns'])) {
$result = sql_query(" select bo_table from `{$g4['board_table']}` ");
for ($i=0; $row=sql_fetch_array($result); $i++) {
sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}`
sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}`
ADD `wr_facebook_user` VARCHAR(255) NOT NULL DEFAULT '' AFTER `wr_ip`,
ADD `wr_twitter_user` VARCHAR(255) NOT NULL DEFAULT '' AFTER `wr_facebook_user`,
ADD `wr_me2day_user` VARCHAR(255) NOT NULL DEFAULT '' AFTER `wr_twitter_user` ", false);
@ -68,7 +68,7 @@ if (!isset($board['bo_use_list_file'])) {
$result = sql_query(" select bo_table from `{$g4['board_table']}` ");
for ($i=0; $row=sql_fetch_array($result); $i++) {
sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}`
sql_query(" ALTER TABLE `{$g4['write_prefix']}{$row['bo_table']}`
ADD `wr_file` TINYINT NOT NULL DEFAULT '0' AFTER `wr_datetime` ", false);
}
}
@ -599,13 +599,13 @@ $pg_anchor = '<ul class="anchor">
</td>
</tr>
<tr>
<th scope="row"><label for="bo_use_cert">휴대폰 본인확인 사용</label></th>
<th scope="row"><label for="bo_use_cert">본인확인 사용</label></th>
<td>
<?php echo help("본인확인 여부에 따라 게시물을 조회 할 수 있도록 합니다."); ?>
<select id="bo_use_cert" name="bo_use_cert">
<?php
<?php
echo option_selected("", $board['bo_use_cert'], "사용안함");
if ($config['cf_kcpcert_use'] != '') {
if ($config['cf_cert_use'] != '') {
echo option_selected("cert", $board['bo_use_cert'], "본인확인된 회원전체");
echo option_selected("adult", $board['bo_use_cert'], "본인확인된 성인회원만");
}