From 170d46b0adca21678dcca69b7edde3f2f8d62f68 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Wed, 27 Feb 2013 17:17:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=EC=99=80=20?= =?UTF-8?q?=EC=BA=A1=EC=B1=A0=EC=BD=94=EB=93=9C=EB=A5=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B3=B4=EC=99=84,=20=EB=AA=A8=EB=B0=94=EC=9D=BC?= =?UTF-8?q?=EC=97=90=EC=84=9C=EB=8A=94=20=EC=97=90=EB=94=94=ED=8B=B0?= =?UTF-8?q?=EB=A5=BC=20=EC=82=AC=EC=9A=A9=ED=95=98=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EA=B2=8C=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write.php | 11 +++++++++-- skin/board/basic/write.skin.php | 7 +++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/bbs/write.php b/bbs/write.php index 198d1cc29..ccb072ce3 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -203,8 +203,13 @@ if ($member['mb_level'] >= $board['bo_html_level']) $is_secret = $board['bo_use_secret']; $is_dhtml_editor = false; -if ($board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) { +$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']) { $is_dhtml_editor = true; + $editor_js .= get_editor_js('wr_content', $is_dhtml_editor); + $editor_js .= chk_editor_js('wr_content', $is_dhtml_editor); } $is_mail = false; @@ -345,9 +350,11 @@ $width = $board['bo_table_width']; if ($width <= 100) $width .= '%'; -$captcha_html = ""; +$captcha_html = ''; +$captcha_js = ''; if ($is_guest) { $captcha_html = captcha_html(); + $captcha_js = chk_captcha_js(); } include_once(G4_PATH.'/head.sub.php'); diff --git a/skin/board/basic/write.skin.php b/skin/board/basic/write.skin.php index c61d351a5..428d43b1c 100644 --- a/skin/board/basic/write.skin.php +++ b/skin/board/basic/write.skin.php @@ -104,7 +104,7 @@ echo $option_hidden; - + @@ -191,8 +191,7 @@ function html_auto_br(obj) function fwrite_submit(f) { - - + var subject = ""; var content = ""; @@ -227,7 +226,7 @@ function fwrite_submit(f) return false; } - + return true; }