[20220216 이다솜] 게시판 코밋
Index: base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleUpdt.jsp
===================================================================
--- base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleUpdt.jsp (revision 68)
+++ base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleUpdt.jsp (revision 69)
@@ -54,11 +54,6 @@
* 초기화
******************************************************** */
function fn_egov_init() {
-// var ckeditor_config = {
-// filebrowserImageUploadUrl: '${pageContext.request.contextPath}/utl/wed/insertImageCk.do', // 파일 업로드를 처리 할 경로 설정.
-// };
-// CKEDITOR.replace('nttCn',ckeditor_config);
-
// 첫 입력란에 포커스..
document.getElementById("articleVO").nttSj.focus();
}
@@ -66,8 +61,6 @@
* 저장처리화면
******************************************************** */
function fn_egov_updt_article(form) {
-// CKEDITOR.instances.nttCn.updateElement();
-
// 개인정보입력 체크.
if (!fnPrivacyCheck(form.nttSj.value)) { // 제목
return false;
@@ -93,29 +86,6 @@
}
}
- //게시기간
- var ntceBgnde = getRemoveFormat(validateForm.ntceBgnde.value);
- var ntceEndde = getRemoveFormat(validateForm.ntceEndde.value);
-
- if(ntceBgnde == '' && ntceEndde != '') {
- validateForm.ntceBgnde.value = '1900-01-01';
- }
- if(ntceBgnde != '' && ntceEndde == '') {
- validateForm.ntceEndde.value = '9999-12-31';
- }
- if(ntceBgnde == '' && ntceEndde == '') {
- validateForm.ntceBgnde.value = '1900-01-01';
- validateForm.ntceEndde.value = '9999-12-31';
- }
-
- ntceBgnde = getRemoveFormat(validateForm.ntceBgnde.value);
- ntceEndde = getRemoveFormat(validateForm.ntceEndde.value);
-
- if(ntceBgnde > ntceEndde){
- alert("<spring:message code="comCopBbs.articleVO.ntceDeError" />");
- return;
- }
-
if (confirm("<spring:message code="common.update.msg" />")) {
form.submit();
}
@@ -138,7 +108,8 @@
<form:form commandName="articleVO" action="${pageContext.request.contextPath}/cop/bbs/${reBbsId }/updateArticle.do" method="post" onSubmit="fn_egov_updt_article(document.forms[0]); return false;" enctype="multipart/form-data">
<!-- 입력 -->
<c:set var="inputTxt"><spring:message code="input.input" /></c:set>
-
+ <!-- 글 제목, 제목 Bold여부 -->
+ <c:set var="title"><spring:message code="comCopBbs.articleVO.reply.nttSj"/> </c:set>
<div class="inner">
<div class="caption alignR"><p class="must"><em>*</em> 는 필수항목입니다</p></div>
<div class="board_write">
@@ -155,7 +126,7 @@
</li>
<!-- 글 내용 -->
<c:set var="title"><spring:message code="comCopBbs.articleVO.updt.nttCn" /></c:set>
- <li><strong class="title">${title}</strong>
+ <li class="must"><strong class="title">${title}</strong>
<div class="input_wrap">
<div class="text_show">
<textarea id="nttCn" name="nttCn" title="내용 입력" >
@@ -192,22 +163,6 @@
</div>
</div>
</li>
- <!--게시기간-->
- <li><strong class="title">게시기간</strong>
- <div class="input_wrap">
- <div class="date_wrap">
- <div class="date">
- <input type="text" class="width120 inputText datepicker" id="ntceBgnde" name="ntceBgnde" value="${articleVO.ntceBgnde}" placeholder="0000-00-00">
- <label for="ntceBgnde" class="btn_sq_l"><span class="icon-cal"></span></label>
- </div>
- <em>~</em>
- <div class="date">
- <input type="text" class="width120 inputText datepicker" id="ntceEndde" name="ntceEndde" value="${articleVO.ntceEndde}" placeholder="0000-00-00">
- <label for="ntceEndde" class="btn_sq_l"><span class="icon-cal"></span></label>
- </div>
- </div>
- </div>
- </li>
<c:if test="${boardMasterVO.fileAtchPosblAt == 'Y'}">
<li>
<strong class="title">첨부파일</strong>
Index: base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleReply.jsp
===================================================================
--- base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleReply.jsp (revision 68)
+++ base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleReply.jsp (revision 69)
@@ -81,29 +81,6 @@
}
}
- //게시기간
- var ntceBgnde = getRemoveFormat(validateForm.ntceBgnde.value);
- var ntceEndde = getRemoveFormat(validateForm.ntceEndde.value);
-
- if(ntceBgnde == '' && ntceEndde != '') {
- validateForm.ntceBgnde.value = '1900-01-01';
- }
- if(ntceBgnde != '' && ntceEndde == '') {
- validateForm.ntceEndde.value = '9999-12-31';
- }
- if(ntceBgnde == '' && ntceEndde == '') {
- validateForm.ntceBgnde.value = '1900-01-01';
- validateForm.ntceEndde.value = '9999-12-31';
- }
-
- ntceBgnde = getRemoveFormat(validateForm.ntceBgnde.value);
- ntceEndde = getRemoveFormat(validateForm.ntceEndde.value);
-
- if(ntceBgnde > ntceEndde){
- alert("<spring:message code="comCopBbs.articleVO.ntceDeError" />");
- return;
- }
-
if(confirm("<spring:message code="common.regist.msg" />")) {
form.submit();
}
@@ -137,15 +114,6 @@
<div><form:errors path="nttSj" cssClass="error" /></div>
</div>
</div>
- <c:set var="title"><spring:message code="comCopBbs.articleVO.regist.sjBoldAt"/> </c:set>
- <div class="input_option">
- <div class="checkbox">
- <div class="check">
- <form:checkbox path="sjBoldAt" label="${title }" value="Y"/>
- <div><form:errors path="sjBoldAt" cssClass="error" /></div>
- </div>
- </div>
- </div>
</li>
<!--내용-->
<li class="must"><strong class="title">내용</strong>
@@ -169,34 +137,6 @@
</div>
</div>
</li>
- <!-- 익명등록 여부 -->
- <c:set var="title"><spring:message code="comCopBbs.articleVO.regist.anonymousAt"/> </c:set>
- <li><strong class="title">${title }</strong>
- <div class="input_wrap">
- <div class="checkbox">
- <div class="check">
- <form:checkbox path="anonymousAt" label="${title }" value="Y"/>
- <div><form:errors path="anonymousAt" cssClass="error" /></div>
- </div>
- </div>
- </div>
- </li>
- <!--게시기간-->
- <li><strong class="title">게시기간</strong>
- <div class="input_wrap">
- <div class="date_wrap">
- <div class="date">
- <input type="text" class="width120 inputText datepicker" id="ntceBgnde" name="ntceBgnde" placeholder="0000-00-00">
- <label for="ntceBgnde" class="btn_sq_l"><span class="icon-cal"></span></label>
- </div>
- <em>~</em>
- <div class="date">
- <input type="text" class="width120 inputText datepicker" id="ntceEndde" name="ntceEndde" placeholder="0000-00-00">
- <label for="ntceEndde" class="btn_sq_l"><span class="icon-cal"></span></label>
- </div>
- </div>
- </div>
- </li>
<c:if test="${boardMasterVO.fileAtchPosblAt == 'Y'}">
<li>
Index: base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleRegist.jsp
===================================================================
--- base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleRegist.jsp (revision 68)
+++ base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleRegist.jsp (revision 69)
@@ -93,29 +93,6 @@
}
}
- //게시기간
- var ntceBgnde = getRemoveFormat(validateForm.ntceBgnde.value);
- var ntceEndde = getRemoveFormat(validateForm.ntceEndde.value);
-
- if (ntceBgnde == '' && ntceEndde != '') {
- validateForm.ntceBgnde.value = '1900-01-01';
- }
- if (ntceBgnde != '' && ntceEndde == '') {
- validateForm.ntceEndde.value = '9999-12-31';
- }
- if (ntceBgnde == '' && ntceEndde == '') {
- validateForm.ntceBgnde.value = '1900-01-01';
- validateForm.ntceEndde.value = '9999-12-31';
- }
-
- ntceBgnde = getRemoveFormat(validateForm.ntceBgnde.value);
- ntceEndde = getRemoveFormat(validateForm.ntceEndde.value);
-
- if (ntceBgnde > ntceEndde) {
- alert("<spring:message code="comCopBbs.articleVO.ntceDeError" />");
- return;
- }
-
if (confirm("<spring:message code="common.regist.msg" />")) {
form.action = "<c:url value='/cop/bbs/${reBbsId}/insertArticle.do'/>";
form.submit();
@@ -150,15 +127,6 @@
<div><form:errors path="nttSj" cssClass="error" /></div>
</div>
</div>
- <c:set var="title"><spring:message code="comCopBbs.articleVO.regist.sjBoldAt"/> </c:set>
- <div class="input_option">
- <div class="checkbox">
- <div class="check">
- <form:checkbox path="sjBoldAt" label="${title }" value="Y"/>
- <div><form:errors path="sjBoldAt" cssClass="error" /></div>
- </div>
- </div>
- </div>
</li>
<!--내용-->
<li class="must"><strong class="title">내용</strong>
@@ -194,34 +162,6 @@
</div>
</div>
</li>
- <!-- 익명등록 여부 -->
- <c:set var="title"><spring:message code="comCopBbs.articleVO.regist.anonymousAt"/> </c:set>
- <li><strong class="title">${title }</strong>
- <div class="input_wrap">
- <div class="checkbox">
- <div class="check">
- <form:checkbox path="anonymousAt" label="${title }" value="Y"/>
- <div><form:errors path="anonymousAt" cssClass="error" /></div>
- </div>
- </div>
- </div>
- </li>
- <!--게시기간-->
- <li><strong class="title">게시기간</strong>
- <div class="input_wrap">
- <div class="date_wrap">
- <div class="date">
- <input type="text" class="width120 inputText datepicker" id="ntceBgnde" name="ntceBgnde" placeholder="0000-00-00">
- <label for="ntceBgnde"><span class="icon-cal"></span></label>
- </div>
- <em>~</em>
- <div class="date">
- <input type="text" class="width120 inputText datepicker" id="ntceEndde" name="ntceEndde" placeholder="0000-00-00">
- <label for="ntceEndde"<span class="icon-cal"></span></label>
- </div>
- </div>
- </div>
- </li>
<!--첨부파일-->
<c:if test="${boardMasterVO.fileAtchPosblAt == 'Y'}">
<li>
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?