제목하고 내용 정보
제목하고 내용본문
제목하고 내용 폼 삭제하고 스킨만들어보고 싶은데...
2가지는 꼭 들어가야졍..
2가지는 꼭 들어가야졍..
댓글 전체

제목하고 내용 폼 대신,
임시값을 지정하고 숨김처리 하시면 됩니다.
리스트나 뷰에서는 보여지지 않게 하시구요.
<input type=hidden name=wr_subject id="wr_subject" value="111">
<input type=hidden name=wr_content id="wr_content" value="111">
임시값을 지정하고 숨김처리 하시면 됩니다.
리스트나 뷰에서는 보여지지 않게 하시구요.
<input type=hidden name=wr_subject id="wr_subject" value="111">
<input type=hidden name=wr_content id="wr_content" value="111">
304 줄
else if (typeof(wr_subject) != "undefined")
wr_subject.focus();
else if (typeof(wr_content) != "undefined")
wr_content.focus();
303 줄
if (s = word_filter_check(f.wr_subject.value)) {
alert("제목에 금지단어('"+s+"')가 포함되어있습니다");
return false;
}
if (s = word_filter_check(f.wr_content.value)) {
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
return false;
}
358 줄
if (document.getElementById('tx_wr_content')) {
if (!ed_wr_content.outputBodyText()) {
alert('내용을 입력하십시오.');
ed_wr_content.returnFalse();
return false;
}
}
삭제나 주석 처리 하신 다음에 위 분 처럼 hidden 처리 하면 될꺼 같습니다.
else if (typeof(wr_subject) != "undefined")
wr_subject.focus();
else if (typeof(wr_content) != "undefined")
wr_content.focus();
303 줄
if (s = word_filter_check(f.wr_subject.value)) {
alert("제목에 금지단어('"+s+"')가 포함되어있습니다");
return false;
}
if (s = word_filter_check(f.wr_content.value)) {
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
return false;
}
358 줄
if (document.getElementById('tx_wr_content')) {
if (!ed_wr_content.outputBodyText()) {
alert('내용을 입력하십시오.');
ed_wr_content.returnFalse();
return false;
}
}
삭제나 주석 처리 하신 다음에 위 분 처럼 hidden 처리 하면 될꺼 같습니다.