} if (typeof(f.wr_password) != 'undefined') { f.wr_password.value = f.wr_password.value.replace(pattern, ""); if (f.wr_password.value == '') { alert('비밀번호가 입력되지 않았습니다.'); f.wr_password.focus(); return false; } } <?php if ($is_guest) { echo chk_captcha_js(); } ?> document.getElementById("btn_submit").disabled = "disabled"; return true; } function comment_box(comment_id, work) { var el_id; // 댓글 아이디가 넘어오면 답변, 수정 if (comment_id) { if (work == 'c')
} else { $content = get_text($write['wr_content'], 0); } } $upload_max_filesize = number_format($board['bo_upload_size']) . ' 바이트'; $width = $board['bo_table_width']; if ($width <= 100) { $width .= '%'; } else { $width .= 'px'; } $captcha_html = ''; $captcha_js = ''; if ($is_guest) { $captcha_html = captcha_html(); $captcha_js = chk_captcha_js(); } $is_dhtml_editor = false; $is_dhtml_editor_use = false; $editor_content_js = ''; if (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE) { $is_dhtml_editor_use = true; } // 모바일에서는 G5_IS_MOBILE_DHTML_USE 설정에 따라 DHTML 에디터 적용 if ($config['cf_editor'] && $is_dhtml_editor_use && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) { $is_dhtml_editor = true; if (is_file(G5_EDITOR_PATH . '/' . $config['cf_editor'] . '/autosave.editor.js')) { $editor_content_js = '<script src="' . G5_EDITOR_URL . '/' . $config['cf_editor'] . '/autosave.editor.js"></script>' . PHP_EOL; } } $editor_html = editor_html('wr_content', $content, $is_dhtml_editor);
return false; } } if (typeof(f.wr_password) != 'undefined') { f.wr_password.value = f.wr_password.value.replace(pattern, ""); if (f.wr_password.value == '') { alert('비밀번호가 입력되지 않았습니다.'); f.wr_password.focus(); return false; } } <?php if($is_guest) echo chk_captcha_js(); ?> document.getElementById("btn_submit").disabled = "disabled"; return true; } function comment_box(comment_id, work) { var el_id; // 댓글 아이디가 넘어오면 답변, 수정 if (comment_id) { if (work == 'c') el_id = 'reply_' + comment_id; else