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;