knuGit Moumi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

118 lines
4.7 KiB

<%
/************************************************************@@
* Program Name : popup_form_list.jsp
* Description : 집계문서 등록 이전 집계문서 재사용
* Author : 기현테크
* Create Date : 2010-11-21
* History :
@@************************************************************/
%>
<%@ page contentType="text/html; charset=UTF-8"
import="kr.co.kihyun.text.html.TagFilter"
import="kr.co.kihyun.lang.StringConverter"
import="kr.co.kihyun.lang.MLong"
import="kr.co.kihyun.lang.MString"
import="kr.co.kihyun.moumi.MoumiConfig"
import="org.apache.commons.lang.StringEscapeUtils"%>
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%>
<%
try{
/********** session내의 userId **********/
String notify = "";
if((String)session.getAttribute("notify")!="" || (String)session.getAttribute("notify")!=null){
notify=(String)session.getAttribute("notify");
}
Long docID = MLong.parseLong(request.getParameter("docID"));
Long boardID = MLong.parseLong(request.getParameter("boardID"));
notify = MString.checkNull(request.getParameter("notify"), "");
%>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>입력요령</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="/totsys/common/css/text.css" type="text/css">
<link rel="stylesheet" href="/totsys/common/css/kecttep.css" type="text/css">
<link rel="stylesheet" href="/totsys/common/css/SquareButtons.css" type="text/css">
<link rel="stylesheet" href="/totsys/common/css/popup.css" type="text/css">
<link rel="stylesheet" href="/totsys/common/css/basic.css" type="text/css">
<script src="/totsys/common/js/rollover.js"></script>
<script>
function ok(){
opener.dform.notify.value = document.getElementById('EditCtrl').value;
//alert(opener.dform.notify.value);
var strobj = opener.dform.notify.value;
re = /\"/;
re1 = /\'/;
if(re.test(strobj) || re1.test(strobj)){
alert("\' 이나 \" 와 같은 문자는 쓸수 없습니다.");
return false;
}
self.close();
}
function cancel(){
self.close();
}
function formLoad(){
<%if(!MString.isNull(notify)){%>
document.getElementById('EditCtrl').value ='<%=TagFilter.convertSingle(notify)%>';
<%}else{%>
document.getElementById('EditCtrl').value = opener.dform.notify.value == "null" ? "" :opener.dform.notify.value ;
<%}%>
}
</script>
</head>
<body onLoad="formLoad();">
<!--//타이틀 -->
<div class="title">
<div>작성요령 및 파일첨부</div>
</div>
<span class="red font_size_middle vMiddle">* 첨부파일을 추가한 경우에는 반드시 입력요령을 작성해주셔야 제출자에게 팝업으로 알려지게 됩니다.</span>
<table class="kecttep_list_table width_full mt_5">
<tr>
<td class="kecttep_tdmenu_middle pl_20">
<%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.input")%><%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.trick")%>
</td>
<td class="kecttep_last_graytd" style="padding: 5px 0px 5px 5px;">
<textarea id="EditCtrl" style="width: 100%; height: 100%; height: 26em; border:1px solid #dedcec; ime-mode:active;"></textarea>
</td>
</tr>
<tr>
<td class="kecttep_tdmenu pl_20" style="width: 120px;">
<%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.relationDoc")%>
<%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.add")%>
</td>
<td class="kecttep_last_graytd_bottom">
<iframe src="/totsys/common/inc/board/doc/write_file_upload.jsp?docID=<%= docID %>&boardID=<%= boardID %>&execMode=init&mode=docRegist&maxSize=5"
name='subUpload' class="width_full" style="height: 70px;">
</iframe>
</td>
</tr>
</table>
<!-- 확인, 취소 버튼 -->
<div class="center mt_10">
<a href="#" onclick="ok();">
<span><img src="/totsys/common/images/bt_ok.gif" width="62" height="24" alt="<%= MoumiConfig.getMessageBundle().getString("moumi.message.button_small.confirm")%>" /></span>
</a>
<a href="#" onclick="cancel();">
<span><img src="/totsys/common/images/bt_cancle.gif" width="62" height="24" alt="<%=MoumiConfig.getMessageBundle().getString("moumi.message.button_small.cancel")%>" /></span>
</a>
</div>
</body>
</html>
<%
}catch(Exception ex){
ex.printStackTrace();
out.println(kr.co.kihyun.text.html.ServletUtil.getJavaScript("location='/servlet/kr.co.kihyun.beans.user.HttpSSOLogin?mode=logout';"));
}finally{
}
%>