에디터와 캡챠코드를 수정 보완, 모바일에서는 에디티를 사용하지 않게 처리
This commit is contained in:
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user