메인비주얼 에러·타이틀 수정, 이미지 무한요청 수정, 관리자 첨부 미리보기 추가
@f805820f29d4570b81cad9b1de051d76b77cbe89
--- src/main/java/kcc/web/MainController.java
+++ src/main/java/kcc/web/MainController.java
... | ... | @@ -1282,7 +1282,8 @@ |
| 1282 | 1282 |
} catch (Exception e) {
|
| 1283 | 1283 |
} // 상단메인 이미지 |
| 1284 | 1284 |
if(mainzoneList.size() > 0) {
|
| 1285 |
- mainzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
|
|
| 1285 |
+ // SORT 컬럼이 int 라 Integer 로 넘어옴 (BigDecimal 캐스팅 시 2건 이상이면 ClassCastException) |
|
| 1286 |
+ mainzoneList.sort(Comparator.comparing((EgovMap map) -> map.get("sort") == null ? Integer.MAX_VALUE : ((Number) map.get("sort")).intValue()));
|
|
| 1286 | 1287 |
} |
| 1287 | 1288 |
return mainzoneList.stream().findFirst().orElse(null); |
| 1288 | 1289 |
} |
... | ... | @@ -1334,7 +1335,7 @@ |
| 1334 | 1335 |
} |
| 1335 | 1336 |
|
| 1336 | 1337 |
if(popupzoneList.size() > 0) {
|
| 1337 |
- popupzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
|
|
| 1338 |
+ popupzoneList.sort(Comparator.comparing((EgovMap map) -> map.get("sort") == null ? Integer.MAX_VALUE : ((Number) map.get("sort")).intValue()));
|
|
| 1338 | 1339 |
} |
| 1339 | 1340 |
return popupzoneList.stream().findFirst().orElse(null); |
| 1340 | 1341 |
} |
--- src/main/webapp/WEB-INF/jsp/cmm/fms/EgovFileList.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/fms/EgovFileList.jsp
... | ... | @@ -152,7 +152,7 @@ |
| 152 | 152 |
<c:choose> |
| 153 | 153 |
<c:when test="${not empty commandMap.img_view and commandMap.img_view == 'Y'}">
|
| 154 | 154 |
<div id="egovComFileList"> |
| 155 |
- <img id="img_view" class="img_view_fileNm" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>' alt="해당파일이미지" width="${commandMap.img_view_w}" height="${commandMap.img_view_h}"/>
|
|
| 155 |
+ <img id="img_view" class="img_view_fileNm" onerror="this.onerror=null;this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>' alt="해당파일이미지" width="${commandMap.img_view_w}" height="${commandMap.img_view_h}"/>
|
|
| 156 | 156 |
</div> |
| 157 | 157 |
</c:when> |
| 158 | 158 |
<c:otherwise> |
--- src/main/webapp/WEB-INF/jsp/cmm/fms/EgovImgFileListWeb.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/fms/EgovImgFileListWeb.jsp
... | ... | @@ -23,6 +23,6 @@ |
| 23 | 23 |
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
|
| 24 | 24 |
<p style="margin-top: 10px;"> |
| 25 | 25 |
<img alt="이미지없음" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>'
|
| 26 |
- onerror="this.src='<c:url value='/img/post/no-img.png'/>'" alt="${fileVO.orignlFileNm}"/>
|
|
| 26 |
+ onerror="this.onerror=null;this.src='<c:url value='/img/post/no-img.png'/>'" alt="${fileVO.orignlFileNm}"/>
|
|
| 27 | 27 |
</p> |
| 28 | 28 |
</c:forEach> |
--- src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeList.jsp
+++ src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeList.jsp
... | ... | @@ -454,10 +454,10 @@ |
| 454 | 454 |
<td> |
| 455 | 455 |
<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');"> <c:choose>
|
| 456 | 456 |
<c:when test="${result.atchFileCnt > 0}">
|
| 457 |
- <img alt="${result.nttSj}" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>' onerror="this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" />
|
|
| 457 |
+ <img alt="${result.nttSj}" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>' onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" />
|
|
| 458 | 458 |
</c:when> |
| 459 | 459 |
<c:otherwise> |
| 460 |
- <img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" /> |
|
| 460 |
+ <img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" /> |
|
| 461 | 461 |
</c:otherwise> |
| 462 | 462 |
</c:choose> |
| 463 | 463 |
</a> |
... | ... | @@ -493,10 +493,10 @@ |
| 493 | 493 |
<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
|
| 494 | 494 |
<c:choose> |
| 495 | 495 |
<c:when test="${result.atchFileCnt > 0}">
|
| 496 |
- <img alt="${result.nttSj}" onerror="this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 496 |
+ <img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 497 | 497 |
</c:when> |
| 498 | 498 |
<c:otherwise> |
| 499 |
- <img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.src='/publish/adm/images/content/no_image.jpg'" /> |
|
| 499 |
+ <img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" /> |
|
| 500 | 500 |
</c:otherwise> |
| 501 | 501 |
</c:choose> |
| 502 | 502 |
</a> |
... | ... | @@ -517,10 +517,10 @@ |
| 517 | 517 |
<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
|
| 518 | 518 |
<c:choose> |
| 519 | 519 |
<c:when test="${result.atchFileCnt > 0}">
|
| 520 |
- <img alt="${result.nttSj}" onerror="this.src='/img/post/no-img.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 520 |
+ <img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/img/post/no-img.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 521 | 521 |
</c:when> |
| 522 | 522 |
<c:otherwise> |
| 523 |
- <img alt="이미지없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.src='/img/post/no-img.png'" /> |
|
| 523 |
+ <img alt="이미지없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.onerror=null;this.src='/img/post/no-img.png'" /> |
|
| 524 | 524 |
</c:otherwise> |
| 525 | 525 |
</c:choose> |
| 526 | 526 |
</a> |
--- src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeReply.jsp
+++ src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeReply.jsp
... | ... | @@ -149,6 +149,7 @@ |
| 149 | 149 |
<input type="hidden" name="atchFileId" value="${board.atchFileId}" />
|
| 150 | 150 |
<input type="hidden" name="atchFileNece" id="atchFileNece" value="N" /> <!-- 첨부파일 필수체크 --> |
| 151 | 151 |
<input type="hidden" name="limitcount" value="${bdMstr.posblAtchFileNumber}" />
|
| 152 |
+ <input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 --> |
|
| 152 | 153 |
|
| 153 | 154 |
<div class="cont"> |
| 154 | 155 |
<!-- list_상세 --> |
... | ... | @@ -257,6 +258,7 @@ |
| 257 | 258 |
<td class="td_filename"> |
| 258 | 259 |
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> --> |
| 259 | 260 |
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
| 261 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
|
|
| 260 | 262 |
</td> |
| 261 | 263 |
<td class="td_filesort"> |
| 262 | 264 |
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
--- src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp
+++ src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp
... | ... | @@ -169,7 +169,7 @@ |
| 169 | 169 |
<span class="status gray">미사용</span> |
| 170 | 170 |
</c:if> |
| 171 | 171 |
<div class="images_area"> |
| 172 |
- <img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
|
|
| 172 |
+ <img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
|
|
| 173 | 173 |
</div> |
| 174 | 174 |
<div class="list_content"> |
| 175 | 175 |
<b class="list_title">${result.bannerNm}</b>
|
--- src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerRegist.jsp
+++ src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerRegist.jsp
... | ... | @@ -111,6 +111,7 @@ |
| 111 | 111 |
<input type="hidden" name="menuName" value="banner" /> |
| 112 | 112 |
<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
|
| 113 | 113 |
<input type="hidden" name="limitcount" value="1" /> |
| 114 |
+ <input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 --> |
|
| 114 | 115 |
|
| 115 | 116 |
<!-- cont --> |
| 116 | 117 |
<div class="cont_wrap"> |
... | ... | @@ -157,7 +158,7 @@ |
| 157 | 158 |
<div class="imgBox"></div> |
| 158 | 159 |
</c:if> |
| 159 | 160 |
<c:if test="${banner.bannerImageFile != null}">
|
| 160 |
- <img alt="${banner.bannerNm}" onerror="this.src='/img/noImg.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 161 |
+ <img alt="${banner.bannerNm}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 161 | 162 |
</c:if> |
| 162 | 163 |
</td> |
| 163 | 164 |
</tr> |
... | ... | @@ -244,7 +245,8 @@ |
| 244 | 245 |
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
| 245 | 246 |
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
| 246 | 247 |
<td class="td_filename"> |
| 247 |
- <img src="/direct/img/upload_hwp_img.png" alt="" /><span class="file_name_text">${fileList.orignlFileNm}</span>
|
|
| 248 |
+ <span class="file_name_text">${fileList.orignlFileNm}</span>
|
|
| 249 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
|
|
| 248 | 250 |
</td> |
| 249 | 251 |
<td class="td_filesize"><span class="file_size_text" value="${fileList.fileMg}"></span></td>
|
| 250 | 252 |
<td>${fileList.creatDt}</td>
|
--- src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerUpdt.jsp
+++ src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerUpdt.jsp
... | ... | @@ -140,6 +140,7 @@ |
| 140 | 140 |
<input type="hidden" name="menuName" value="banner" /> |
| 141 | 141 |
<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
|
| 142 | 142 |
<input type="hidden" name="limitcount" value="1" /> |
| 143 |
+ <input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 --> |
|
| 143 | 144 |
|
| 144 | 145 |
<!-- cont --> |
| 145 | 146 |
<div class="cont_wrap"> |
... | ... | @@ -188,7 +189,7 @@ |
| 188 | 189 |
<div class="imgBox"></div> |
| 189 | 190 |
</c:if> |
| 190 | 191 |
<c:if test="${banner.bannerImageFile != null}">
|
| 191 |
- <img alt="${banner.bannerNm}" onerror="this.src='/img/noImg.png'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 192 |
+ <img alt="${banner.bannerNm}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 192 | 193 |
</c:if> |
| 193 | 194 |
</td> |
| 194 | 195 |
</tr> |
... | ... | @@ -277,6 +278,7 @@ |
| 277 | 278 |
<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
|
| 278 | 279 |
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
| 279 | 280 |
</a> |
| 281 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
|
|
| 280 | 282 |
</td> |
| 281 | 283 |
<td class="td_filesort"> |
| 282 | 284 |
<span class="file_filesort_text" value="${fileList.fileExtsn}">${fileList.fileExtsn}</span>
|
--- src/main/webapp/WEB-INF/jsp/main/mainUserPage.jsp
+++ src/main/webapp/WEB-INF/jsp/main/mainUserPage.jsp
... | ... | @@ -452,7 +452,7 @@ |
| 452 | 452 |
<li> |
| 453 | 453 |
<a href="${result.link}" target="${result.target}">
|
| 454 | 454 |
<%-- <img src="${result.images}" border="0" width="196" height="237" alt="${result.alt}"/> --%>
|
| 455 |
- <img alt="${result.content}" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>' width="196" height="237" />
|
|
| 455 |
+ <img alt="${result.content}" onerror="this.onerror=null;this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>' width="196" height="237" />
|
|
| 456 | 456 |
</a> |
| 457 | 457 |
</li> |
| 458 | 458 |
</c:forEach> |
--- src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataEdit.jsp
+++ src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataEdit.jsp
... | ... | @@ -107,7 +107,7 @@ |
| 107 | 107 |
<li id="bbsFileHtml_<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />" class="bbsFileHtml">
|
| 108 | 108 |
|
| 109 | 109 |
<div class="file-img-list"> |
| 110 |
- <img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 110 |
+ <img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 111 | 111 |
</div> |
| 112 | 112 |
<div class="file-anchor-list"> |
| 113 | 113 |
<a href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /> <s:message code="common.message.down"/>"><c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /></a>
|
--- src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataList.jsp
+++ src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataList.jsp
... | ... | @@ -191,7 +191,7 @@ |
| 191 | 191 |
<c:forEach items="${bbsNoticeFileList}" var="bbsFiles" >
|
| 192 | 192 |
<c:if test='${bbsFiles.tBbsData.bbsDataIdx == bbsNoticeDataList._bbsDataIdx}'>
|
| 193 | 193 |
<a class="hover-link" href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFiles.bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFiles.bbsFileName}' /> <s:message code="common.message.down"/>">
|
| 194 |
- <span><img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" /></span>
|
|
| 194 |
+ <span><img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" /></span>
|
|
| 195 | 195 |
</a> |
| 196 | 196 |
</c:if> |
| 197 | 197 |
</c:forEach> |
... | ... | @@ -250,7 +250,7 @@ |
| 250 | 250 |
<c:forEach items="${bbsFileList}" var="bbsFiles" >
|
| 251 | 251 |
<c:if test='${bbsFiles.tBbsData.bbsDataIdx == bbsDataList._bbsDataIdx}'>
|
| 252 | 252 |
<a class="hover-link" href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFiles.bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFiles.bbsFileName}' /> <s:message code="common.message.down"/>">
|
| 253 |
- <img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 253 |
+ <img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 254 | 254 |
</a> |
| 255 | 255 |
</c:if> |
| 256 | 256 |
</c:forEach> |
--- src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataView.jsp
... | ... | @@ -48,7 +48,7 @@ |
| 48 | 48 |
<div class="item-box"> |
| 49 | 49 |
<c:forEach items="${bbsFileList}" var="bbsFileList" varStatus="status">
|
| 50 | 50 |
<p class="bbsFileList"> |
| 51 |
- <img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 51 |
+ <img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 52 | 52 |
<a href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /> <s:message code="common.message.down"/>"><c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /></a>
|
| 53 | 53 |
<% if(filepreview.equals("true")){ %>
|
| 54 | 54 |
<c:choose> |
--- src/main/webapp/WEB-INF/jsp/sym/site/faviconFileView.jsp
+++ src/main/webapp/WEB-INF/jsp/sym/site/faviconFileView.jsp
... | ... | @@ -84,6 +84,7 @@ |
| 84 | 84 |
<input type="hidden" name="menuName" value="favicon" /> |
| 85 | 85 |
<input type="hidden" name="fmsId" value="<c:out value='${faviconFileVO.faviconFileId}' />" />
|
| 86 | 86 |
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 --> |
| 87 |
+ <input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 --> |
|
| 87 | 88 |
|
| 88 | 89 |
<div class="contWrap"> |
| 89 | 90 |
<div class="pageTitle"> |
... | ... | @@ -148,7 +149,8 @@ |
| 148 | 149 |
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
| 149 | 150 |
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
|
| 150 | 151 |
<td class="file_name"> |
| 151 |
- <img src="/direct/img/upload_hwp_img.png" alt="" /><span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
|
| 152 |
+ <span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
|
| 153 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
|
|
| 152 | 154 |
</td> |
| 153 | 155 |
<td><span class="file_size_text" value="<c:out value='${fileList.fileMg}' />"></span></td>
|
| 154 | 156 |
<td><c:out value='${fileList.creatDt}' /></td>
|
--- src/main/webapp/WEB-INF/jsp/user/bbs/bbs/bbsDataList.jsp
+++ src/main/webapp/WEB-INF/jsp/user/bbs/bbs/bbsDataList.jsp
... | ... | @@ -769,10 +769,10 @@ |
| 769 | 769 |
|
| 770 | 770 |
<c:choose> |
| 771 | 771 |
<c:when test='${tBbsSetDB.bbsSetSkinCode == "basic"}'>
|
| 772 |
- <img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 772 |
+ <img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 773 | 773 |
</c:when> |
| 774 | 774 |
<c:otherwise> |
| 775 |
- <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 775 |
+ <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 776 | 776 |
</c:otherwise> |
| 777 | 777 |
</c:choose> |
| 778 | 778 |
|
... | ... | @@ -1158,10 +1158,10 @@ |
| 1158 | 1158 |
|
| 1159 | 1159 |
<c:choose> |
| 1160 | 1160 |
<c:when test='${tBbsSetDB.bbsSetSkinCode == "basic"}'>
|
| 1161 |
- <img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 1161 |
+ <img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 1162 | 1162 |
</c:when> |
| 1163 | 1163 |
<c:otherwise> |
| 1164 |
- <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 1164 |
+ <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 1165 | 1165 |
</c:otherwise> |
| 1166 | 1166 |
</c:choose> |
| 1167 | 1167 |
|
--- src/main/webapp/WEB-INF/jsp/uss/ion/fms/FmsFileModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/fms/FmsFileModify.jsp
... | ... | @@ -117,6 +117,7 @@ |
| 117 | 117 |
|
| 118 | 118 |
<!-- 드래그앤 드롭 파라미터 --> |
| 119 | 119 |
<input type="hidden" name="limitcount" value="50" /> |
| 120 |
+ <input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 --> |
|
| 120 | 121 |
|
| 121 | 122 |
<!-- cont --> |
| 122 | 123 |
<div class="cont_wrap"> |
... | ... | @@ -214,6 +215,7 @@ |
| 214 | 215 |
<td class="td_filename"> |
| 215 | 216 |
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> --> |
| 216 | 217 |
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
|
| 218 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
|
|
| 217 | 219 |
</td> |
| 218 | 220 |
<td class="td_filesort"> |
| 219 | 221 |
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainZoneModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainZoneModify.jsp
... | ... | @@ -59,6 +59,17 @@ |
| 59 | 59 |
var td_name = document.createElement('td');
|
| 60 | 60 |
td_name.className = "td_filename"; |
| 61 | 61 |
td_name.innerHTML = '<span class="file_name_text">' + fname + '</span>'; |
| 62 |
+ // 이미지 파일이면 미리보기 버튼 (ncms_common.js 공통 팝업) |
|
| 63 |
+ if (/^(jpe?g|png|gif)$/.test(ext) && element.files && element.files[0] && window.URL) {
|
|
| 64 |
+ var previewUrl = URL.createObjectURL(element.files[0]); |
|
| 65 |
+ var btnPreview = document.createElement('button');
|
|
| 66 |
+ btnPreview.type = 'button'; |
|
| 67 |
+ btnPreview.className = "btn line primary ssmall"; |
|
| 68 |
+ btnPreview.style.marginLeft = "10px"; |
|
| 69 |
+ btnPreview.innerHTML = '미리보기'; |
|
| 70 |
+ btnPreview.onclick = function(){ fn_open_image_popup(previewUrl); return false; };
|
|
| 71 |
+ td_name.appendChild(btnPreview); |
|
| 72 |
+ } |
|
| 62 | 73 |
new_row.appendChild(td_name); |
| 63 | 74 |
|
| 64 | 75 |
/* 2. 종류(확장자) TD */ |
... | ... | @@ -270,7 +281,7 @@ |
| 270 | 281 |
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 --> |
| 271 | 282 |
|
| 272 | 283 |
<div class="content_title"> |
| 273 |
- <h3>메인관리</h3> |
|
| 284 |
+ <h3>메인비주얼 등록/수정</h3> |
|
| 274 | 285 |
<ol class="breadcrumb"> |
| 275 | 286 |
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
| 276 | 287 |
<li><a href="#">메인관리</a></li> |
... | ... | @@ -295,7 +306,7 @@ |
| 295 | 306 |
</c:if> |
| 296 | 307 |
<c:if test="${mainzoneVO.mazId != ''}">
|
| 297 | 308 |
<img alt="${mainzoneVO.content}"
|
| 298 |
- onerror="this.src='/img/no_img.jpg'" |
|
| 309 |
+ onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" |
|
| 299 | 310 |
src='<c:url value=' |
| 300 | 311 |
/uss/ion/pwm/getImage.do' />?atchFileId= |
| 301 | 312 |
<c:out value="${mainzoneVO.mainzoneImageFile}" />'
|
... | ... | @@ -402,6 +413,10 @@ |
| 402 | 413 |
<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
|
| 403 | 414 |
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
| 404 | 415 |
</a> |
| 416 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/>
|
|
| 417 |
+ <c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}">
|
|
| 418 |
+ <button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button>
|
|
| 419 |
+ </c:if> |
|
| 405 | 420 |
</td> |
| 406 | 421 |
<td class="td_filesort"> |
| 407 | 422 |
<span class="file_filesort_text" |
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainzoneList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainzoneList.jsp
... | ... | @@ -127,7 +127,7 @@ |
| 127 | 127 |
<input type="hidden" name="pageType" /> |
| 128 | 128 |
|
| 129 | 129 |
<div class="content_title"> |
| 130 |
- <h3>메인관리</h3> |
|
| 130 |
+ <h3>메인비주얼관리</h3> |
|
| 131 | 131 |
<ol class="breadcrumb"> |
| 132 | 132 |
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
| 133 | 133 |
<li><a href="#">메인관리</a></li> |
... | ... | @@ -163,7 +163,7 @@ |
| 163 | 163 |
<span class="status gray">미사용</span> |
| 164 | 164 |
</c:if> |
| 165 | 165 |
<div class="images_area"> |
| 166 |
- <img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt="">
|
|
| 166 |
+ <img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt="">
|
|
| 167 | 167 |
</div> |
| 168 | 168 |
<div class="list_content"> |
| 169 | 169 |
<b class="list_title">${result.mazNm}</b>
|
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupZoneModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupZoneModify.jsp
... | ... | @@ -152,6 +152,7 @@ |
| 152 | 152 |
<input type="hidden" name="menuName" value="popupzone" /> |
| 153 | 153 |
<input type="hidden" name="fmsId" value="${popupzoneVO.pozId}" />
|
| 154 | 154 |
<input type="hidden" name="limitcount" value="1" /> |
| 155 |
+ <input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 --> |
|
| 155 | 156 |
|
| 156 | 157 |
<div class="content_title"> |
| 157 | 158 |
<h3>알림창 등록/수정</h3> |
... | ... | @@ -179,7 +180,7 @@ |
| 179 | 180 |
<div class="imgBox"></div> |
| 180 | 181 |
</c:if> |
| 181 | 182 |
<c:if test="${popupzoneVO.pozId != ''}">
|
| 182 |
- <img alt="${popupzoneVO.content}" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${popupzoneVO.popupzoneImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 183 |
+ <img alt="${popupzoneVO.content}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${popupzoneVO.popupzoneImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 183 | 184 |
</c:if> |
| 184 | 185 |
</td> |
| 185 | 186 |
</tr> |
... | ... | @@ -327,7 +328,7 @@ |
| 327 | 328 |
</span>입니다.</p> |
| 328 | 329 |
</div> |
| 329 | 330 |
</td> --%> |
| 330 |
- <td class="file_upload_wrap"> |
|
| 331 |
+ <td class="file_upload_wrap upload_area"> |
|
| 331 | 332 |
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/> |
| 332 | 333 |
<div class="file_top"> |
| 333 | 334 |
<button type="button" id="filebutton" class="btn medium line primary">파일 첨부하기</button> |
... | ... | @@ -380,6 +381,7 @@ |
| 380 | 381 |
<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
|
| 381 | 382 |
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
| 382 | 383 |
</a> |
| 384 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
|
|
| 383 | 385 |
</td> |
| 384 | 386 |
<td class="td_filesort"> |
| 385 | 387 |
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupzoneList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupzoneList.jsp
... | ... | @@ -107,7 +107,7 @@ |
| 107 | 107 |
<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
|
| 108 | 108 |
|
| 109 | 109 |
<div class="content_title"> |
| 110 |
- <h3>메인관리</h3> |
|
| 110 |
+ <h3>알림창 관리</h3> |
|
| 111 | 111 |
<ol class="breadcrumb"> |
| 112 | 112 |
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li> |
| 113 | 113 |
<li><a href="#">메인관리</a></li> |
... | ... | @@ -146,7 +146,7 @@ |
| 146 | 146 |
<span class="status gray">미사용</span> |
| 147 | 147 |
</c:if> |
| 148 | 148 |
<div class="images_area"> |
| 149 |
- <img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>" alt="">
|
|
| 149 |
+ <img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>" alt="">
|
|
| 150 | 150 |
</div> |
| 151 | 151 |
<div class="list_content"> |
| 152 | 152 |
<b class="list_title">${result.pozNm}</b>
|
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialList.jsp
... | ... | @@ -197,7 +197,7 @@ |
| 197 | 197 |
</li> |
| 198 | 198 |
</c:if> |
| 199 | 199 |
</ul> |
| 200 |
- <div class="imgBox"><img onerror="this.src='/img/noImg.png'" src="<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.socialImageFile}"/>" alt=""></div>
|
|
| 200 |
+ <div class="imgBox"><img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.socialImageFile}"/>" alt=""></div>
|
|
| 201 | 201 |
<div class="listInfo"> |
| 202 | 202 |
<h3>${result.socialSj}</h3>
|
| 203 | 203 |
<table> |
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialModify.jsp
... | ... | @@ -128,6 +128,7 @@ |
| 128 | 128 |
<input type="hidden" name="menuName" value="social" /> |
| 129 | 129 |
<input type="hidden" name="fmsId" value="${socialVO.socialId}" />
|
| 130 | 130 |
<input type="hidden" name="limitcount" value="1" /> |
| 131 |
+ <input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 --> |
|
| 131 | 132 |
<input type="hidden" name="fileNece" id="fileNece" value="Y" /> <!-- 파일첨부 필수 --> |
| 132 | 133 |
|
| 133 | 134 |
<div class="contWrap"> |
... | ... | @@ -154,7 +155,7 @@ |
| 154 | 155 |
<div class="imgBox"></div> |
| 155 | 156 |
</c:if> |
| 156 | 157 |
<c:if test="${socialVO.socialId != ''}">
|
| 157 |
- <img alt="${socialVO.socialSj}" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${socialVO.socialImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 158 |
+ <img alt="${socialVO.socialSj}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${socialVO.socialImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
|
| 158 | 159 |
</c:if> |
| 159 | 160 |
</td> |
| 160 | 161 |
</tr> |
... | ... | @@ -278,6 +279,7 @@ |
| 278 | 279 |
<img src="/direct/img/upload_hwp_img.png" alt="" /> |
| 279 | 280 |
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
| 280 | 281 |
</a> |
| 282 |
+ <c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
|
|
| 281 | 283 |
</td> |
| 282 | 284 |
<td><span class="file_size_text" value="${fileList.fileMg}"></span></td>
|
| 283 | 285 |
<td>${fileList.creatDt}</td>
|
--- src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrDetail.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrDetail.jsp
... | ... | @@ -178,7 +178,7 @@ |
| 178 | 178 |
<c:forEach var="fileVO" items="${schdlrReqFileList}" varStatus="status">
|
| 179 | 179 |
<tr id="trAtchFile_<c:out value="${fileVO.atchFileId}_${status.count}" />">
|
| 180 | 180 |
<td class="file_title"> |
| 181 |
- <%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.src='/direct/img/enroll_etc_file.png'"> --%>
|
|
| 181 |
+ <%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_etc_file.png'"> --%>
|
|
| 182 | 182 |
<img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png">
|
| 183 | 183 |
<a href="javascript:atchFileDown('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
|
| 184 | 184 |
<c:out value="${fileVO.orignlFileNm}"/>
|
--- src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrUpdate.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrUpdate.jsp
... | ... | @@ -882,7 +882,7 @@ |
| 882 | 882 |
<c:forEach var="fileVO" items="${schdlrReqFileList}" varStatus="status">
|
| 883 | 883 |
<tr id="trAtchFile_<c:out value="${fileVO.atchFileId}_${status.count}" />">
|
| 884 | 884 |
<td class="file_title"> |
| 885 |
- <%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.src='/direct/img/enroll_etc_file.png'"> --%>
|
|
| 885 |
+ <%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_etc_file.png'"> --%>
|
|
| 886 | 886 |
<img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png">
|
| 887 | 887 |
<a href="javascript:atchFileDown('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
|
| 888 | 888 |
<c:out value="${fileVO.orignlFileNm}"/>
|
... | ... | @@ -1035,7 +1035,7 @@ |
| 1035 | 1035 |
<c:forEach var="fileVO" items="${cmplntReqFileList}" varStatus="status">
|
| 1036 | 1036 |
<tr id="trReqFile_<c:out value="${fileVO.atchFileId}_${status.count}" />">
|
| 1037 | 1037 |
<td class="file_title"> |
| 1038 |
- <img id="atchFileIcon" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.src='/direct/img/enroll_jpg_file.png'">
|
|
| 1038 |
+ <img id="atchFileIcon" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_jpg_file.png'">
|
|
| 1039 | 1039 |
<a href="javascript:atchFileDown('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
|
| 1040 | 1040 |
<c:out value="${fileVO.orignlFileNm}"/>
|
| 1041 | 1041 |
</a> |
... | ... | @@ -1151,7 +1151,7 @@ |
| 1151 | 1151 |
<c:forEach var="fileNm" items="${resFileNms}" varStatus="status">
|
| 1152 | 1152 |
<c:set var="fileExt" value="${fn:split(fileNm, '.') }" />
|
| 1153 | 1153 |
<td> |
| 1154 |
- <img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.src='/direct/img/enroll_jpg_file.png'">
|
|
| 1154 |
+ <img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_jpg_file.png'">
|
|
| 1155 | 1155 |
<a href="javascript:atchFileDown('<c:out value="${listResult.cmplntResFileId}"/>','<c:out value="${resFileSns[status.index]}"/>')">
|
| 1156 | 1156 |
<c:out value="${fileNm}" />
|
| 1157 | 1157 |
</a> |
... | ... | @@ -1194,7 +1194,7 @@ |
| 1194 | 1194 |
<c:set var="fileExt" value="${fn:split(fileNm, '.') }" />
|
| 1195 | 1195 |
<tr> |
| 1196 | 1196 |
<td> |
| 1197 |
- <img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.src='/direct/img/enroll_jpg_file.png'">
|
|
| 1197 |
+ <img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_jpg_file.png'">
|
|
| 1198 | 1198 |
<a href="javascript:atchFileDown('<c:out value="${listResult.cmplntReqFileId}"/>','<c:out value="${fileSns[status.index]}"/>')">
|
| 1199 | 1199 |
<c:out value="${fileNm}" />
|
| 1200 | 1200 |
</a> |
--- src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoList.jsp
... | ... | @@ -214,10 +214,10 @@ |
| 214 | 214 |
<div class="images_area"> |
| 215 | 215 |
<c:choose> |
| 216 | 216 |
<c:when test="${result.atchFileCnt > 0}">
|
| 217 |
- <img alt="${result.nttSj}" onerror="this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 217 |
+ <img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 218 | 218 |
</c:when> |
| 219 | 219 |
<c:otherwise> |
| 220 |
- <img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.src='/publish/usr/images/common/no_image.jpg'" /> |
|
| 220 |
+ <img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" /> |
|
| 221 | 221 |
</c:otherwise> |
| 222 | 222 |
</c:choose> |
| 223 | 223 |
</div> |
... | ... | @@ -236,10 +236,10 @@ |
| 236 | 236 |
</p> |
| 237 | 237 |
<c:choose> |
| 238 | 238 |
<c:when test="${result.atchFileCnt > 0}">
|
| 239 |
- <img alt="${result.nttSj}" onerror="this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 239 |
+ <img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 240 | 240 |
</c:when> |
| 241 | 241 |
<c:otherwise> |
| 242 |
- <img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.src='/publish/usr/images/common/no_image.jpg'" /> |
|
| 242 |
+ <img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" /> |
|
| 243 | 243 |
</c:otherwise> |
| 244 | 244 |
</c:choose> |
| 245 | 245 |
</a> |
--- src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoListAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoListAjax.jsp
... | ... | @@ -38,10 +38,10 @@ |
| 38 | 38 |
</div> |
| 39 | 39 |
<c:choose> |
| 40 | 40 |
<c:when test="${result.atchFileCnt > 0}">
|
| 41 |
- <img onerror="this.src='/img/post/no-img.png'" alt="첨부파일" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 41 |
+ <img onerror="this.onerror=null;this.src='/img/post/no-img.png'" alt="첨부파일" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
|
|
| 42 | 42 |
</c:when> |
| 43 | 43 |
<c:otherwise> |
| 44 |
- <img alt="이미지 없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.src='/img/post/no-img.png'" /> |
|
| 44 |
+ <img alt="이미지 없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.onerror=null;this.src='/img/post/no-img.png'" /> |
|
| 45 | 45 |
</c:otherwise> |
| 46 | 46 |
</c:choose> |
| 47 | 47 |
</div> |
--- src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataList.jsp
... | ... | @@ -673,10 +673,10 @@ |
| 673 | 673 |
|
| 674 | 674 |
<c:choose> |
| 675 | 675 |
<c:when test='${tBbsSetDB.bbsSetSkinCode == "basic"}'>
|
| 676 |
- <img src="/img/web/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 676 |
+ <img src="/img/web/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 677 | 677 |
</c:when> |
| 678 | 678 |
<c:otherwise> |
| 679 |
- <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 679 |
+ <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
|
|
| 680 | 680 |
</c:otherwise> |
| 681 | 681 |
</c:choose> |
| 682 | 682 |
|
--- src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataView.jsp
... | ... | @@ -160,10 +160,10 @@ |
| 160 | 160 |
<a href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /> <s:message code="common.message.down"/>">
|
| 161 | 161 |
<c:choose> |
| 162 | 162 |
<c:when test='${tBbsDataDB.tBbsSet.bbsSetSkinCode == "basic"}'>
|
| 163 |
- <img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 163 |
+ <img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 164 | 164 |
</c:when> |
| 165 | 165 |
<c:otherwise> |
| 166 |
- <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsDataDB.tBbsSet.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 166 |
+ <img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsDataDB.tBbsSet.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
|
|
| 167 | 167 |
</c:otherwise> |
| 168 | 168 |
</c:choose> |
| 169 | 169 |
<c:out escapeXml='true' value='${bbsFileList._bbsFileName}' />
|
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?