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.
139 lines
5.8 KiB
139 lines
5.8 KiB
<% |
|
/************************************************************@@ |
|
* Program Name : popup_form_list.jsp |
|
* Description : 집계문서 등록 이전 집계문서 재사용 |
|
* Author : 기현테크 |
|
* Create Date : 2010-11-21 |
|
* History : |
|
@@************************************************************/ |
|
%> |
|
|
|
<%@ page contentType="text/html; charset=euc-kr" |
|
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"), ""); |
|
%> |
|
|
|
<html> |
|
<head> |
|
<title>입력요령</title> |
|
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> |
|
<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 href="/totsys/common/css/SquareButtons.css" rel="stylesheet" type="text/css"> |
|
<script src="/totsys/common/js/rollover.js"></script> |
|
<SCRIPT language=javascript> |
|
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 style='background-color: transparent' BGCOLOR="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" onLoad="formLoad();"> |
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#00FFFF"> |
|
<tr> |
|
<td align="center" style="padding: 10px 10px 0 10px;"> |
|
<!--//타이틀 --> |
|
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
<tr> |
|
<td bgcolor="#728ab5" style="padding: 10px 20px 10px 20px;"> |
|
<strong><font color="#FFFFFF">작성요령 및 파일첨부</font></strong> |
|
</td> |
|
</tr> |
|
</table> |
|
<!--타이틀 //--> |
|
</td> |
|
</tr> |
|
</table> |
|
<table border="0" width="100%" cellpadding="0" cellspacing="0"> |
|
<tr> |
|
<td align="center" style="padding: 10px"> |
|
<table border="0px" bordercolor="#e3e3e3" class="kecttep_list_table" width="100%" cellpadding="0" cellspacing="0"> |
|
<tr> |
|
<td class="kecttep_tdmenu" width="120" valign="middle" style="padding-left: 20px;"> |
|
<%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.input")%><%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.trick")%> |
|
</td> |
|
<td class="kecttep_last_graytd" colspan="3"> |
|
<textarea id="EditCtrl" style="width: 100%; height: 100%; height: 26em; margin: 5px; border:1px solid #dedcec;"></textarea> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td class="kecttep_tdmenu" width="120" valign="middle" style="padding-left: 20px;"> |
|
<%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.relationDoc")%> |
|
<%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.add")%> |
|
</td> |
|
<td class="kecttep_last_graytd" colspan="3" valign=top> |
|
<iframe src="/totsys/common/inc/board/doc/write_file_upload.jsp?docID=<%= docID %>&boardID=<%= boardID %>&execMode=init&mode=docRegist&maxSize=5" |
|
name='subUpload' width="100%" frameborder=0 scrolling=no |
|
marginheight=0 marginwidth=2 height="70"> |
|
</iframe> |
|
</td> |
|
</tr> |
|
</table> |
|
</td> |
|
</tr> |
|
</table> |
|
<table border="0" width=100% cellpadding="0" cellspacing="0"> |
|
<tr> |
|
<td width=40%> </td> |
|
|
|
<td width=8%> |
|
<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> |
|
</td> |
|
<td> |
|
|
|
<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> |
|
</td> |
|
</tr> |
|
</table> |
|
</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{ |
|
} |
|
%>
|
|
|