From 839c42e865578a458e3f3040e93689b59869d49d Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 4 Mar 2013 14:03:10 +0900 Subject: [PATCH 1/3] =?UTF-8?q?cf=5Finclude=5F*=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/gnuboard4s.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/gnuboard4s.sql b/install/gnuboard4s.sql index cd15b9c22..4e562b761 100644 --- a/install/gnuboard4s.sql +++ b/install/gnuboard4s.sql @@ -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 '', From c1040e437158930847aa8c1cd852e407dd41c9dc Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 4 Mar 2013 14:03:26 +0900 Subject: [PATCH 2/3] =?UTF-8?q?ckedior=20=EB=85=B8=EC=B6=9C=EB=90=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8D=98=20=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/write.php b/bbs/write.php index ccb072ce3..0c7b3abd7 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -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']) From 0f47a866e9d91a911f74145e95d78988965ffa13 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 4 Mar 2013 14:13:42 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=EA=B8=80=EC=93=B0=EA=B8=B0=EC=8B=9C=20wr?= =?UTF-8?q?=5Fid=20=EC=82=AC=EC=9A=A9=20=EC=97=90=EB=9F=AC=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/write.php b/bbs/write.php index 0c7b3abd7..e2046cc96 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -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']) {