123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>E-Mail 전송</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- </main>
- <send>
- <fromaddress/>
- <fromname/>
- <toaddress/>
- <ccaddress/>
- <subject/>
- <msg/>
- <attach/>
- <closeflag/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <submission id="TXZME00101" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //opt_filetotal.value = 0;
- misfGridInit(grd_attach);
-
- if(model.getValue("/root/send/closeflag") == 'Y')
- {
- btn_confirm.dispatch("DOMActivate");
- btn_cancel.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/emailsenderweb/js/ZME00100.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- model.resetInstanceNode("/root/send");
- misfGridInit(grd_attach);
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="517" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:415px; ">
- <line id="line5" class="line_2" style="x1:0px; y1:100px; x2:500px; y2:100px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">이메일전송</caption>
- <button id="button1" class="btn2_letter3" style="left:447px; top:5px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
- <caption id="caption50" class="cell_1" style="left:0px; top:150px; width:90px; height:93px; vertical-align:middle; ">내용</caption>
- <caption id="caption47" class="cell_1" style="left:0px; top:30px; width:90px; height:23px; vertical-align:middle; ">보내는이</caption>
- <textarea id="tar_msg" ref="/root/send/msg" class="text_essential" navindex="4" style="left:93px; top:151px; width:407px; height:89px; "/>
- <line id="line24" class="line_2" style="x1:0px; y1:52px; x2:500px; y2:52px; "/>
- <input id="ipt_fromaddress" ref="/root/send/fromaddress" class="input_essential" navindex="1" style="left:93px; top:31px; width:202px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:30px; width:90px; height:23px; vertical-align:middle; ">보내는이</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:148px; x2:500px; y2:148px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:126px; width:90px; height:23px; vertical-align:middle; ">제목</caption>
- <input id="ipt_subject" ref="/root/send/subject" class="input_essential" navindex="3" style="left:93px; top:127px; width:407px; height:19px; "/>
- <button id="btn_fileattach" class="btn2_letter4" style="left:436px; top:246px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pos;
- var filename;
- var n;
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
- for(var i = 0 ; i < filelist.length ; i++ ) {
- if(filelist[i] != "")
- {
- grd_attach.addItem();
-
- n = grd_attach.rows - 1;
- grd_attach.valueMatrix(n, 0) = filelist[i];
-
- pos=filelist[i].lastIndexOf("\\");
- filename=filelist[i].substring(pos+1);
-
- grd_attach.valueMatrix(n, 1) = filename;
- grd_attach.valueMatrix(n, 2) = upload_attach.getFileSize(filelist[i]);
- }
- }
-
- opt_filetotal.value = upload_attach.getTotalFileSize();
- ]]>
- </script>
- </button>
- <upload id="upload_attach" nodeset="/root/send/attach/file" filecount="5" filesize="100000000" validate="true" style="left:240px; top:245px; width:100px; height:20px; "/>
- <datagrid id="grd_attach" nodeset="/root/send/attach" caption="경로^첨부파일이름^사이즈" colwidth="0, 384, 114" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:0px; top:266px; width:500px; height:107px; ">
- <col ref="file" style="left:0px; top:23px; width:250px; height:23px; "/>
- <col ref="filename"/>
- <col ref="filesize" format="#,### "bytes"" style="text-align:right; "/>
- </datagrid>
- <line id="line2" class="line_2" style="x1:0px; y1:76px; x2:500px; y2:76px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:54px; width:90px; height:23px; vertical-align:middle; ">받는이</caption>
- <input id="ipt_toaddress" ref="/root/send/toaddress" class="input_essential" navindex="2" style="left:93px; top:55px; width:407px; height:19px; "/>
- <caption id="caption3" class="hand" style="left:95px; top:103px; width:390px; height:15px; vertical-align:middle; ">수신자가 여러명일 경우 ";" 를 구분자로 하여 입력합니다.</caption>
- <line id="line4" class="line_2" style="x1:0px; y1:242px; x2:500px; y2:242px; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:78px; width:90px; height:23px; vertical-align:middle; ">참조</caption>
- <input id="ipt_ccaddress" ref="/root/send/ccaddress" class="input_default" navindex="2" style="left:93px; top:79px; width:407px; height:19px; "/>
- <button id="btn_filedelete" class="btn2_letter4" style="left:370px; top:246px; width:64px; height:19px; ">
- <caption>파일삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_attach, false);
- opt_filetotal.value = upload_attach.getTotalFileSize();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="hand" style="left:260px; top:377px; width:125px; height:15px; vertical-align:middle; ">파일총크기 :</caption>
- <output id="opt_filetotal" format="#,### "bytes"" style="left:385px; top:375px; width:115px; height:19px; font-weight:bold; text-align:right; "/>
- <caption id="caption8" class="cell_1" style="left:298px; top:30px; width:67px; height:23px; vertical-align:middle; ">이름</caption>
- <input id="input1" ref="/root/send/fromname" class="input_essential" navindex="1" style="left:368px; top:31px; width:129px; height:19px; "/>
- <caption id="caption9" class="hand" style="left:260px; top:395px; width:125px; height:15px; vertical-align:middle; ">최대파일크기 :</caption>
- <caption id="caption10" style="left:385px; top:395px; width:115px; height:19px; font-weight:bold; text-align:right; ">10,000,000 bytes</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:415px; width:501px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:385px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEmailSubmit();
-
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:444px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:501px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|