alert('내용을 입력하십시오.'); return false; } } <?php } ?> <?php if (is_g5()) { echo $editor_js; } else { if ($is_dhtml_editor && $mw_basic[cf_editor] == "cheditor") { echo cheditor3('wr_content'); if ($mw_basic[cf_type] == 'desc' && $mw_basic[cf_desc_use] && $mw_basic[cf_desc_use] <= $member[mb_level] or $mw_basic[cf_contents_shop] == '2') { echo cheditor3('wr_contents_preview'); } } } ?> var subject = ""; var content = ""; var link1 = ""; var link2 = ""; var filter_data = { "subject": f.wr_subject.value, "content": f.wr_content.value };
alert(tmp_title + "이미지가 gif, jpg, png 파일이 아닙니다."); return false; } } if (parseInt(f.bo_count_modify.value) < 1) { alert("원글 수정 불가 코멘트수는 1 이상 입력하셔야 합니다."); f.bo_count_modify.focus(); return false; } if (parseInt(f.bo_count_delete.value) < 1) { alert("원글 삭제 불가 코멘트수는 1 이상 입력하셔야 합니다."); f.bo_count_delete.focus(); return false; } <?php echo cheditor3('bo_content_head') . "\n"; ?> <?php echo cheditor3('bo_content_tail') . "\n"; ?> f.action = "./board_form_update.php"; return true; } </script> <?php include_once "./admin.tail.php";
/* var s; if (s = word_filter_check(document.getElementById('wr_content').value)) { alert("내용에 금지단어('"+s+"')가 포함되어있습니다"); //document.getElementById('wr_content').focus(); return false; } */ <?php if (is_g5()) { echo $editor_js; } elseif ($is_comment_editor && $mw_basic[cf_editor] == "cheditor") { echo cheditor3('wr_content'); } ?> <?php if (!is_g5()) { ?> if (document.getElementById('tx_wr_content')) { if (is_empty(ed_wr_content.outputBodyHTML())) { alert('내용을 입력하십시오.'); ed_wr_content.returnFalse(); return false; } } <?php }