From f4fbddb958be77555f1a7bd8ce018d187cd33100 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 4 Mar 2013 18:31:44 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95=EC=8B=9C=20=EA=B8=80?= =?UTF-8?q?=EB=82=B4=EC=9A=A9=EC=9D=B4=20=EB=82=98=EC=98=A4=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EC=95=84=20=EC=BD=94=EB=93=9C=EC=9C=84=EC=B9=98=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=ED=95=98=EC=97=AC=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bbs/write.php b/bbs/write.php index 916d44ea4..d4bdc6d10 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -201,16 +201,6 @@ if ($member['mb_level'] >= $board['bo_html_level']) $is_secret = $board['bo_use_secret']; -$is_dhtml_editor = false; -$editor_js = ''; -// 모바일에서는 DHTML 에디터 사용불가 -if (!G4_IS_MOBILE && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) { - $is_dhtml_editor = true; - $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']) $is_mail = true; @@ -356,6 +346,16 @@ if ($is_guest) { $captcha_js = chk_captcha_js(); } +$is_dhtml_editor = false; +$editor_js = ''; +// 모바일에서는 DHTML 에디터 사용불가 +if (!G4_IS_MOBILE && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) { + $is_dhtml_editor = true; + $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); + include_once(G4_PATH.'/head.sub.php'); include_once('./board_head.php');