Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-03-04 14:17:26 +09:00
2 changed files with 6 additions and 2 deletions

View File

@ -31,7 +31,7 @@ if (($w == 'u' || $w == 'r') && !$write['wr_id']) {
if ($w == '') {
if ($wr_id) {
alert('글쓰기에는 \$wr_id 값을 사용하지 않습니다.', $g4['bbs_path'].'/board.php?bo_table='.$bo_table);
alert('글쓰기에는 \$wr_id 값을 사용하지 않습니다.', G4_BBS_URL.'/board.php?bo_table='.$bo_table);
}
if ($member['mb_level'] < $board['bo_write_level']) {
@ -203,7 +203,6 @@ if ($member['mb_level'] >= $board['bo_html_level'])
$is_secret = $board['bo_use_secret'];
$is_dhtml_editor = false;
$editor_html = editor_html('wr_content', $content, $is_dhtml_editor);
$editor_js = '';
// 모바일에서는 DHTML 에디터 사용불가
if (!G4_IS_MOBILE && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) {
@ -211,6 +210,7 @@ if (!G4_IS_MOBILE && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $bo
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
$editor_js .= chk_editor_js('wr_content', $is_dhtml_editor);
}
$editor_html = editor_html('wr_content', $content, $is_dhtml_editor);
$is_mail = false;
if ($config['cf_email_use'] && $board['bo_use_email'])

View File

@ -180,6 +180,10 @@ DROP TABLE IF EXISTS `g4s_config`;
CREATE TABLE IF NOT EXISTS `g4s_config` (
`cf_title` varchar(255) NOT NULL default '',
`cf_admin` varchar(255) NOT NULL default '',
`cf_include_index` varchar(255) NOT NULL default '',
`cf_include_head` varchar(255) NOT NULL default '',
`cf_include_tail` varchar(255) NOT NULL default '',
`cf_add_script` text NOT NULL default '',
`cf_include_head` varchar(255) NOT NULL default '',
`cf_include_tail` varchar(255) NOT NULL default '',
`cf_add_script` text NOT NULL default '',