1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCNE00200_Email메시지관리
- * Summary : Email메시지관리
- * Programmer : 최정환
- * Date Written : 2007.06.27
- * History : 2008.06.15 차재훈 01
- * Remark :
- -->
- <?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>Email메시지관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <msgtmpllist>
- <emailtitl/>
- <trsmpsnemailinfo/>
- <usernm/>
- <msgsmlcd/>
- </msgtmpllist>
- </list>
- <msgtmpl>
- <msglrgcd/>
- <msgmdlcd/>
- <msgsmlcd/>
- <useyn/>
- <trsmpsnemailinfo/>
- <emailtitl/>
- <emailbdtextchoi/>
- <emailbdtext/>
- <savemode/>
- <chnlflag/>
- <emailbdtextfile/>
- </msgtmpl>
- </main>
- <CountNode/>
- <send>
- <data>
- <rgstfromdd/>
- <rgsttodd/>
- <emailtitl/>
- <emailbdtext/>
- <mdlgrupcd/>
- <useyn>Y</useyn>
- </data>
- <info>
- <msglrgcd/>
- <msgsmlcd/>
- <chnlflag/>
- </info>
- </send>
- <init>
- <chnllrglist>
- <chnllrggrup>
- <msglrgnm/>
- <msglrgcd/>
- </chnllrggrup>
- </chnllrglist>
- <chnlmdllist>
- <chnlmdlgrup>
- <msgmdlnm/>
- <msgmdlcd/>
- <msglrgcd/>
- </chnlmdlgrup>
- </chnlmdllist>
- </init>
- <temp>
- <prvwscrn/>
- <msgsmlcd/>
- <searchtype/>
- <email>
- <userid/>
- <host/>
- <selhost/>
- </email>
- <imgset>
- <img1>F</img1>
- <img2>F</img2>
- <img3>F</img3>
- <img4>F</img4>
- <imguse>N</imguse>
- </imgset>
- </temp>
- <hidden>
- <messagecnt/>
- </hidden>
- </root>
- </instance>
- <submission id="TRCNS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/chnllrglist/chnllrggrup"/>
- <submission id="TRCNS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" replace="instance" resultref="/root/init/chnlmdllist/chnlmdlgrup"/>
- <submission id="TRCNS00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/msgtmpllist"/>
- <submission id="TRCNE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/main/msgtmpl"/>
- <submission id="TXCNS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/msgtmpl"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // E-mail 탭버튼 활성
- btn_mail.selected = true;
-
- //분류 제목선택
- cmb_titlesearch.select(0);
-
- // Email메시지 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/list/msgtmpllist");
-
- // 메시지 분류코드 설정 (Email : E)
- model.setValue("/root/send/info/chnlflag", "E");
-
- // 메시지 대그룹을 가져온다
- submit("TRCNS00201");
-
- // 입력모드로 표시
- model.setValue("/root/main/msgtmpl/savemode","I");
-
- //저장 수정버튼 활성화 구분
- fGetMsgStatus();
-
- //권한
- fCheckAuth();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //////////=================///////////
- //내용체크 해서 이미지 맞게 가져오기//
- //////////================////////////
- function fGetImg(){
- var str_find = model.getValue("/root/main/msgtmpl/emailbdtextfile");
- var str_index1 = str_find.indexOf("/23/")//1번 이미지
- var str_index2 = str_find.indexOf("/28/")//2번 이미지
- var str_index3 = str_find.indexOf("/84/")//3번 이미지
- var str_index4 = str_find.indexOf("/51/")//4번 이미지
-
- if(str_index1 != -1){
- model.setValue("/root/temp/imgset/img1", "T");
- img_bg1.visible = true;
-
- model.setValue("/root/temp/imgset/img2", "F");
- model.setValue("/root/temp/imgset/img3", "F");
- model.setValue("/root/temp/imgset/img4", "F");
- img_bg2.visible = false;
- img_bg3.visible = false;
- img_bg4.visible = false;
- model.setValue("/root/temp/imgset/imguse", "Y");
- }else if(str_index2 != -1){
- model.setValue("/root/temp/imgset/img2", "T");
- img_bg2.visible = true;
-
- model.setValue("/root/temp/imgset/img1", "F");
- model.setValue("/root/temp/imgset/img3", "F");
- model.setValue("/root/temp/imgset/img4", "F");
- img_bg1.visible = false;
- img_bg3.visible = false;
- img_bg4.visible = false;
- model.setValue("/root/temp/imgset/imguse", "Y");
- }else if(str_index3 != -1){
- model.setValue("/root/temp/imgset/img3", "T");
- img_bg3.visible = true;
-
- model.setValue("/root/temp/imgset/img1", "F");
- model.setValue("/root/temp/imgset/img2", "F");
- model.setValue("/root/temp/imgset/img4", "F");
- img_bg1.visible = false;
- img_bg2.visible = false;
- img_bg4.visible = false;
- model.setValue("/root/temp/imgset/imguse", "Y");
- }else if(str_index4 != -1){
- model.setValue("/root/temp/imgset/img4", "T");
- img_bg4.visible = true;
-
- model.setValue("/root/temp/imgset/img1", "F");
- model.setValue("/root/temp/imgset/img2", "F");
- model.setValue("/root/temp/imgset/img3", "F");
- img_bg1.visible = false;
- img_bg2.visible = false;
- img_bg3.visible = false;
- model.setValue("/root/temp/imgset/imguse", "Y");
- }else{
- model.setValue("/root/temp/imgset/img1", "F");
- model.setValue("/root/temp/imgset/img2", "F");
- model.setValue("/root/temp/imgset/img3", "F");
- model.setValue("/root/temp/imgset/img4", "F");
- img_bg1.visible = false;
- img_bg2.visible = false;
- img_bg3.visible = false;
- img_bg4.visible = false;
- model.setValue("/root/temp/imgset/imguse", "N");
- }
-
- model.refresh();
- }
-
- //////////=================///////////
- //e-mail체크 해서 id와 host로 나누기 //
- //////////================////////////
- function fGetEmai(email, userid, host){
- var str = model.getValue(email);
- if (str != "") {
- var str_find = String(str.match(/[a-z0-9._-]+@[a-z0-9.-]+\.[a-z]{2,6}/i))
- var str_index = str_find.indexOf("@")
- var str_user = str_find.substring(0, str_index)
- var str_host = str_find.substring(str_index + 1)
- if(str_host != "" && str_host != "null"){
- model.setValue(host, str_host);
- }
- if(str_user != "" && str_user != "null"){
- model.setValue(userid, str_user);
- }
- }else{
- model.setValue(host, "");
- model.setValue(userid, "");
- }
- model.refresh();
- }
-
- // 그룹관리의 변경된 내용을 새로 적용시켜준다.
- function fChnlLrg() {
- model.removenodeset("/root/init/chnllrglist/chnllrggrup");
- model.removenodeset("/root/init/chnlmdllist/chnlmdlgrup");
- model.resetInstanceNode("/root/main/msgtmpl/msglrgcd");
- model.resetInstanceNode("/root/main/msgtmpl/msgmdlcd");
- submit("TRCNS00201");
- }
-
- // 권한체크
- function fCheckAuth() {
- if (!checkAuth("r")) {
- btn_search.disabled=true;
- }
- if (!checkAuth("x")) {
- btn_save.disabled=true;
- btn_updt.disabled=true;
- btn_del.disabled=true;
- }
- }
- // 초기화
- function fInitiate() {
- // 메일등록화면 초기화
- model.setValue("/root/main/msgtmpl/useyn", "");
- model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", "");
- model.setValue("/root/main/msgtmpl/emailtitl", "");
- model.setValue("/root/main/msgtmpl/emailbdtext", "");
- model.resetInstanceNode("/root/temp/email");
- model.setValue("/root/temp/imgset/imguse", "N");
- model.setValue("/root/temp/imgset/img1", "F");
- model.setValue("/root/temp/imgset/img2", "F");
- model.setValue("/root/temp/imgset/img3", "F");
- model.setValue("/root/temp/imgset/img4", "F");
- img_bg1.visible = false;
- img_bg2.visible = false;
- img_bg3.visible = false;
- img_bg4.visible = false;
-
- model.setValue("/root/main/msgtmpl/savemode", "I");
- fGetMsgStatus();
- }
-
- // 선택한 채널관리 대분류에 따른 채널관리 중분류를 가져온다.
- function fGetChnlMdlCd() {
- var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
- model.setValue("/root/send/info/msglrgcd",msglrgcd);
- submit("TRCNS00202");
- }
-
- // 선택한 채널관리 대분류에 따른 채널관리 중분류를 가져온다.
- function fGetChnlMdlCd() {
- var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
- model.setValue("/root/send/info/msglrgcd",msglrgcd);
- submit("TRCNS00202");
- }
-
- // Email정보조회
- function fGetEmailAttr() {
- var row = grd_msgtmpllist.row;
-
- // 선택한 채널관리 리스트항목의 대분류에 따른 채널관리 중분류를 가져온다.
- var msgsmlcd = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("msgsmlcd"));
- if (msgsmlcd != "") {
- model.setValue("/root/send/info/msgsmlcd", msgsmlcd);
- submit("TRCNE00201");
-
- // 선택한 채널관리 리스트항목의 대분류에 따른 채널관리 중분류를 가져온다.
- var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
- model.setValue("/root/send/info/msglrgcd",msglrgcd);
- submit("TRCNS00202");
-
- var emailtitl = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("emailtitl"));
- model.setValue("/root/main/msgtmpl/emailtitl",emailtitl);
- // 수정모드로 표시
- model.setValue("/root/main/msgtmpl/savemode","U");
-
- model.refresh();
- }
- }
- // Email메시지 관리 등록 및 수정
- function fSaveMsg(savemode) {
- //mail
- var userid = model.getValue("/root/temp/email/userid");
- if(userid != ""){
- var host = model.getValue("/root/temp/email/host");
- var email = userid + "@" + host;
- model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", email);
- }
-
- //bg_img
- if(model.getValue("/root/temp/imgset/imguse") == "Y"){
- var emailbdtextfile = "";
- var top = "<TABLE background='"
- var img = "";
- var bottom ="' width='376' height='302'><TR><TD valign='top'><!--@본문--></TD></TR></TABLE>";
- if(model.getValue("/root/temp/imgset/img1") == "T"){
- img = "http://crm001.cmcnu.or.kr/himed/webapps/crm/crmweb/images/CMC_Graphic_Motif.jpg";
- }else if(model.getValue("/root/temp/imgset/img2") == "T"){
- img = "";
- }else if(model.getValue("/root/temp/imgset/img3") == "T"){
- img = "";
- }else if(model.getValue("/root/temp/imgset/img4") == "T"){
- img = "";
- }
- emailbdtextfile = top + img + bottom;
- model.setValue("/root/main/msgtmpl/emailbdtextfile", emailbdtextfile);
- }
-
- var chnlflag = model.getValue("/root/send/info/chnlflag");
- model.setValue("/root/main/msgtmpl/chnlflag", chnlflag);
-
- submit("TXCNS00201");
- model.setValue("/root/main/msgtmpl/useyn", "");
- model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", "");
- model.setValue("/root/main/msgtmpl/emailtitl", "");
- model.setValue("/root/main/msgtmpl/emailbdtext", "");
- model.resetInstanceNode("/root/temp/email");
- model.setValue("/root/temp/imgset/imguse", "N");
- model.setValue("/root/temp/imgset/img1", "F");
- model.setValue("/root/temp/imgset/img2", "F");
- model.setValue("/root/temp/imgset/img3", "F");
- model.setValue("/root/temp/imgset/img4", "F");
- img_bg1.visible = false;
- img_bg2.visible = false;
- img_bg3.visible = false;
- img_bg4.visible = false;
-
- model.refresh();
- messageBox("탬플릿 저장이", "I002", "");
- }
-
- // Email메시지 리스트 조회
- function fGetMsgTmplList() {
- model.removeNodeset("/root/main/list/msgtmpllist");
- submit("TRCNS00203");
-
- var grid_rows = grd_msgtmpllist.rows-1;
- model.setvalue("/root/CountNode" , grid_rows);
-
- model.refresh();
- }
-
- //-------------------------//
- // 저장,수정버튼 활성화 //
- //-------------------------//
- function fGetMsgStatus(){
- var msgStatus = model.getValue("/root/main/msgtmpl/savemode");
- if(msgStatus == "I"){
- btn_updt.disabled = true;
- btn_save.disabled = false;
- }else if(msgStatus == "U"){
- btn_updt.disabled = false;
- btn_save.disabled = true;
- }else{
- btn_updt.disabled = true;
- btn_save.disabled = true;
- }
- model.refresh();
- }
-
- //메일 저장시 정합성 체크
- function fMsgValid(){
- var msgtitl = model.getValue("/root/main/msgtmpl/emailtitl");
- var msgcnts = model.getValue("/root/main/msgtmpl/emailbdtext");
- var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
- var msgmdlcd = model.getValue("/root/main/msgtmpl/msgmdlcd");
-
- if(msgtitl == ""){
- messageBox("메일의 제목이 입력 되지", "E007");
- return false;
- }
- if(msgcnts == ""){
- messageBox("메일의 내용이 입력 되지", "E007");
- return false;
- }
- if(msglrgcd == ""){
- messageBox("메일의 대분류가 선택 되지", "E007");
- return false;
- }
- if(msgmdlcd == "" || msgmdlcd == "0"){
- messageBox("메일의 중분류가 선택 되지", "E007");
- return false;
- }
- return true;
- }
-
- // 메일 관리 삭제(사용안함 상태로 바꾸기)
- function fDelMsg(savemode) {
- var chnlflag = model.getValue("/root/send/info/chnlflag");
- model.setValue("/root/main/msgtmpl/chnlflag", chnlflag);
-
- submit("TXCNS00201");
- messageBox("탬플릿 삭제가", "I002", "");
- model.setValue("/root/main/msgtmpl/useyn", "");
- model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", "");
- model.setValue("/root/main/msgtmpl/emailtitl", "");
- model.setValue("/root/main/msgtmpl/emailbdtext", "");
- model.resetInstanceNode("/root/temp/email");
- model.setValue("/root/main/msgtmpl/savemode", "I");
-
- model.refresh();
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,354;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">상용구 관리</caption>
- </group>
- <group id="grp_johe" style="left:225px; top:23px; width:665px; height:60px; vertical-align:top; ">
- <caption id="caption4" class="tit_2" style="left:5px; top:3px; width:150px; height:14px; ">E-mail</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:17px; x2:665px; y2:17px; "/>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:25px; width:665px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:34px; width:90px; height:17px; ">검색조건 :</caption>
- <select1 id="cmb_titlesearch" ref="/root/temp/searchtype" class="combo_search" navindex="1" appearance="minimal" style="left:104px; top:34px; width:66px; height:19px; ">
- <choices>
- <item>
- <label>제 목</label>
- <value>T</value>
- </item>
- <item>
- <label>내 용</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var searchtype = model.getValue("/root/temp/searchtype");
- if(searchtype == "T"){
- ipt_s_emailtitl.visible = true;
- ipt_s_emailbdtext.visible = false;
- model.setValue("/root/send/data/emailtitl","");
- model.setValue("/root/send/data/emailbdtext","");
- }else{
- ipt_s_emailtitl.visible = false;
- ipt_s_emailbdtext.visible = true;
- model.setValue("/root/send/data/emailtitl","");
- model.setValue("/root/send/data/emailbdtext","");
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_s_emailtitl" ref="/root/send/data/emailtitl" class="input_search" style="left:175px; top:34px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_s_emailbdtext" ref="/root/send/data/emailbdtext" class="input_search" navindex="2" style="left:175px; top:34px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line1" class="line_4" style="x1:582px; y1:32px; x2:582px; y2:54px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:597px; top:32px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMsgTmplList();
-
- // 등록화면 초기화
- model.resetInstanceNode("/root/main/msgtmpl");
- model.setValue("/root/main/msgtmpl/savemode", "I");
-
- //저장 수정버튼 활성화 구분
- fGetMsgStatus();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:224px; top:83px; width:666px; height:277px; ">
- <button id="btn_del" class="btn5_letter2" style="left:624px; top:5px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/msgtmpl/msgsmlcd")!=""){
- if (messageBox("선택된 이메일 상용구를","Q001")==6){
- grd_msgtmpllist.deleteItem(grd_msgtmpllist.selectedRow(0));
- model.setValue("/root/main/msgtmpl/useyn","N");
- var savemode = "U";
- fDelMsg(savemode);
- }
- }else{
- messageBox("삭제할 이메일 상용구를", "C002");
- }
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:150px; height:13px; ">상용구 리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:665px; y2:26px; "/>
- <datagrid id="grd_msgtmpllist" nodeset="/root/main/list/msgtmpllist" allowselection="false" caption="E-mail 제목^발신정보^최초 등록자" colsep="^" colwidth="434, 135, 54, 0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:30px; width:665px; height:247px; ">
- <col ref="emailtitl"/>
- <col ref="trsmpsnemailinfo"/>
- <col ref="usernm"/>
- <col ref="msgsmlcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_msgtmpllist.isCell(event.target) && grd_msgtmpllist.row >= grd_msgtmpllist.fixedRows ){
- fGetEmailAttr(); // Email메시지 정보조회
-
- model.setValue("/root/main/msgtmpl/savemode","U");
- //저장 수정버튼 활성화 구분
- fGetMsgStatus();
- }
- fGetImg();
- var row = grd_msgtmpllist.row;
- var email = "/root/main/list/msgtmpllist["+row+"]/trsmpsnemailinfo";
- var userid = "/root/temp/email/userid";
- var host = "/root/temp/email/host";
- fGetEmai(email, userid, host);
-
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group6" style="left:895px; top:25px; width:298px; height:335px; ">
- <caption id="caption3" class="tit_2" style="left:5px; top:0px; width:150px; height:13px; ">편지지</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:15px; x2:292px; y2:15px; "/>
- <shape id="rectangle1" appearance="rectangle" style="left:0px; top:21px; width:292px; height:313px; border-color:#c0c0c0; "/>
- <img id="img1" src="../../../crm/crmweb/images/CMC_Graphic_Motif.jpg" style="left:5px; top:25px; width:139px; height:150px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getValue("/root/temp/imgset/img1") == "F") {
- img_bg1.visible = true;
- model.setValue("/root/temp/imgset/img1", "T");
- model.setValue("/root/temp/imgset/imguse", "Y");
- } else {
- img_bg1.visible = false;
- model.setValue("/root/temp/imgset/img1", "F");
- model.setValue("/root/temp/imgset/imguse", "N");
- }
- model.setValue("/root/temp/imgset/img2", "F");
- model.setValue("/root/temp/imgset/img3", "F");
- model.setValue("/root/temp/imgset/img4", "F");
- img_bg2.visible = false;
- img_bg3.visible = false;
- img_bg4.visible = false;
-
- ]]>
- </script>
- </img>
- </group>
- <group id="group1" style="left:224px; top:360px; width:510px; height:420px; ">
- <caption id="caption6" class="tit_2" style="left:5px; top:10px; width:150px; height:14px; ">E-mail 상용구 작성</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:510px; y2:25px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:77px; x2:510px; y2:77px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:29px; width:105px; height:23px; text-align:center; ">E-mail 제목</caption>
- <input id="ipt_emailtitl" ref="/root/main/msgtmpl/emailtitl" class="input_default" maxlength="50" style="left:108px; top:30px; width:400px; height:19px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:52px; x2:510px; y2:52px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:54px; width:105px; height:23px; text-align:center; ">발신정보</caption>
- <input id="ipt_email" ref="/root/temp/email/userid" class="input_default" imemode="disabled" maxlength="45" style="left:108px; top:56px; width:110px; height:19px; "/>
- <caption id="caption10" style="left:218px; top:56px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
- <input id="ipt_host" ref="/root/temp/email/host" class="input_default" imemode="disabled" maxlength="50" style="left:237px; top:56px; width:110px; height:19px; "/>
- <select1 id="cmb_email" ref="/root/temp/email/selhost" appearance="minimal" overflow="visible" style="left:353px; top:56px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>직접입력</label>
- <value/>
- </item>
- <item>
- <label>나우누리</label>
- <value>nownuri.net</value>
- </item>
- <item>
- <label>네이버</label>
- <value>naver.com</value>
- </item>
- <item>
- <label>네이트</label>
- <value>nate.com</value>
- </item>
- <item>
- <label>다음/한메일</label>
- <value>hanmail.net</value>
- </item>
- <item>
- <label>드림위즈</label>
- <value>dreamwiz.com</value>
- </item>
- <item>
- <label>라이코스</label>
- <value>lycos.co.kr</value>
- </item>
- <item>
- <label>야후</label>
- <value>yahoo.co.kr</value>
- </item>
- <item>
- <label>엠파스</label>
- <value>empal.com</value>
- </item>
- <item>
- <label>유니텔</label>
- <value>unitel.co.kr</value>
- </item>
- <item>
- <label>천리안</label>
- <value>chollian.net</value>
- </item>
- <item>
- <label>코넷</label>
- <value>kornet.net</value>
- </item>
- <item>
- <label>파란</label>
- <value>paran.com</value>
- </item>
- <item>
- <label>하나포스</label>
- <value>hanafos.com</value>
- </item>
- <item>
- <label>하이텔</label>
- <value>hitel.net</value>
- </item>
- <item>
- <label>핫메일</label>
- <value>hotmail.com</value>
- </item>
- <item>
- <label>Catholic</label>
- <value>catholic.ac.kr</value>
- </item>
- <item>
- <label>CMCnU</label>
- <value>cmcnu.or.kr</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var selhost = model.getValue("/root/temp/email/selhost");
- model.setValue("/root/temp/email/host", selhost);
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line8" class="line_2" style="x1:0px; y1:391px; x2:510px; y2:391px; "/>
- <caption id="cap_msgcnts" class="cell_1" style="left:0px; top:79px; width:105px; height:312px; text-align:center; ">내 용</caption>
- <img id="img_bg1" visibility="hidden" src="../../../crm/crmweb/images/CMC_Graphic_Motif.jpg" style="left:112px; top:83px; width:376px; height:302px; background-stretch:stretch; "/>
- <img id="img_bg2" visibility="hidden" style="left:112px; top:83px; width:376px; height:302px; background-stretch:stretch; "/>
- <img id="img_bg3" visibility="hidden" style="left:112px; top:83px; width:376px; height:302px; background-stretch:stretch; "/>
- <img id="img_bg4" visibility="hidden" style="left:112px; top:83px; width:376px; height:302px; background-stretch:stretch; "/>
- <textarea id="tar_emailbdtext" ref="/root/main/msgtmpl/emailbdtext" class="input_default" maxlength="2000" style="left:108px; top:79px; width:400px; height:310px; padding-left:10; padding-top:10; padding-right:10; background-color:transparent; "/>
- <button id="btn_init" class="btn5_letter3" style="left:0px; top:395px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitiate();
- ]]>
- </script>
- </button>
- <button id="btn_updt" class="btn5_letter5" style="left:432px; top:395px; width:75px; height:19px; ">
- <caption>메시지수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fMsgValid()){
- model.setValue("/root/main/msgtmpl/useyn","Y");
- var savemode = model.getValue("/root/main/msgtmpl/savemode");
- fSaveMsg(savemode); //Email메시지관리 속성 저장(I:등록, U:수정)
-
- model.setValue("/root/send/data/mdlgrupcd", model.getValue("/root/main/msgtmpl/msgmdlcd"));
- submit("TRCNS00203"); //재조회
- model.setValue("/root/send/data/mdlgrupcd", "");
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter5" style="left:354px; top:395px; width:75px; height:19px; ">
- <caption>메시지저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fMsgValid()){
- model.setValue("/root/main/msgtmpl/useyn","Y");
- var savemode = model.getValue("/root/main/msgtmpl/savemode");
- fSaveMsg(savemode); //Email메시지관리 속성 저장(I:등록, U:수정)
-
- model.setValue("/root/send/data/mdlgrupcd", model.getValue("/root/main/msgtmpl/msgmdlcd"));
- submit("TRCNS00203"); //재조회
- model.setValue("/root/send/data/mdlgrupcd", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" style="left:739px; top:360px; width:451px; height:417px; ">
- <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:167px; height:14px; ">자동입력어</caption>
- <line id="line10" class="line_1" style="x1:0px; y1:25px; x2:450px; y2:25px; "/>
- <group id="group5" style="left:0px; top:31px; width:296px; height:45px; ">
- <button id="button4" class="btn2_letter3" style="left:5px; top:2px; width:53px; height:19px; ">
- <caption>고객</caption>
- </button>
- <button id="button5" class="btn2_letter3" style="left:61px; top:2px; width:53px; height:19px; ">
- <caption>진료과</caption>
- </button>
- <button id="button7" class="btn2_letter3" style="left:117px; top:2px; width:53px; height:19px; ">
- <caption>진료의</caption>
- </button>
- <button id="button8" class="btn2_letter3" style="left:173px; top:2px; width:53px; height:19px; ">
- <caption>병원명</caption>
- </button>
- <button id="button9" class="btn2_letter3" style="left:5px; top:24px; width:53px; height:19px; ">
- <caption>월</caption>
- </button>
- <button id="button10" class="btn2_letter3" style="left:61px; top:24px; width:53px; height:19px; ">
- <caption>일</caption>
- </button>
- <button id="button11" class="btn2_letter3" style="left:117px; top:24px; width:53px; height:19px; ">
- <caption>시</caption>
- </button>
- <button id="button12" class="btn2_letter3" style="left:173px; top:24px; width:53px; height:19px; ">
- <caption>분</caption>
- </button>
- <button id="button13" class="btn2_letter4" style="left:229px; top:24px; width:64px; height:19px; ">
- <caption>처방코드</caption>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var trgObj = document.controls.item(event.target);
-
- if( trgObj.elementName == "xforms:button" ) {
-
- var btnMark = "<@" + trgObj.label + ">";
- var txtSelPos = tar_emailbdtext.selBegin;
-
- var curText = tar_emailbdtext.currentText;
- var curTextBefore = curText.substr(0, txtSelPos);
- var curTextAfter = curText.substr(txtSelPos, curText.length);
-
- tar_emailbdtext.currentText = curTextBefore + btnMark + curTextAfter;
-
- var endTxt = tar_emailbdtext.currentText;
- model.setFocus("tar_msgcnts");
- tar_emailbdtext.selBegin = endTxt.length-curTextAfter.length;
- tar_emailbdtext.dispatch("onkeyup");
-
- }
- ]]>
- </script>
- </group>
- <caption id="caption5" class="tit_2" style="left:5px; top:87px; width:85px; height:13px; ">특수문자</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:102px; x2:450px; y2:102px; "/>
- <shape id="rectangle2" appearance="rectangle" style="left:0px; top:30px; width:451px; height:48px; border-color:#c0c0c0; "/>
- <shape id="rectangle3" appearance="rectangle" style="left:0px; top:107px; width:451px; height:93px; border-color:#c0c0c0; "/>
- <shape id="rectangle4" appearance="rectangle" style="left:0px; top:232px; width:451px; height:159px; border-color:#c0c0c0; "/>
- <line id="line11" class="line_1" style="x1:0px; y1:227px; x2:450px; y2:227px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:212px; width:85px; height:13px; ">이모티콘</caption>
- <group id="group10" style="left:3px; top:233px; width:412px; height:157px; ">
- <button id="button74" style="left:5px; top:68px; width:45px; height:19px; background-color:transparent; border-style:none; ">
- <caption>n.n</caption>
- </button>
- <button id="button75" style="left:52px; top:68px; width:45px; height:19px; ">
- <caption>^Δ^</caption>
- </button>
- <button id="button76" style="left:99px; top:68px; width:45px; height:19px; ">
- <caption>^v^</caption>
- </button>
- <button id="button77" style="left:349px; top:24px; width:45px; height:19px; ">
- <caption>^.^</caption>
- </button>
- <button id="button78" style="left:255px; top:2px; width:45px; height:19px; ">
- <caption>^_^</caption>
- </button>
- <button id="button79" style="left:151px; top:68px; width:45px; height:19px; ">
- <caption>^O^</caption>
- </button>
- <button id="button80" style="left:5px; top:46px; width:45px; height:19px; ">
- <caption>^L^</caption>
- </button>
- <button id="button81" style="left:302px; top:2px; width:45px; height:19px; ">
- <caption>⌒⌒</caption>
- </button>
- <button id="button82" style="left:203px; top:68px; width:45px; height:19px; ">
- <caption>^.~</caption>
- </button>
- <button id="button83" style="left:52px; top:46px; width:45px; height:19px; ">
- <caption>^ε^</caption>
- </button>
- <button id="button84" style="left:349px; top:2px; width:45px; height:19px; ">
- <caption>^-^b</caption>
- </button>
- <button id="button85" style="left:255px; top:68px; width:45px; height:19px; ">
- <caption>*^^*</caption>
- </button>
- <button id="button86" style="left:99px; top:46px; width:45px; height:19px; ">
- <caption>^▽^</caption>
- </button>
- <button id="button87" style="left:5px; top:24px; width:45px; height:19px; ">
- <caption>=^.^=</caption>
- </button>
- <button id="button88" style="left:302px; top:68px; width:45px; height:19px; ">
- <caption>(^^)γ</caption>
- </button>
- <button id="button89" style="left:151px; top:46px; width:45px; height:19px; ">
- <caption>o(^-^)o</caption>
- </button>
- <button id="button90" style="left:52px; top:24px; width:45px; height:19px; ">
- <caption>(*^-^)</caption>
- </button>
- <button id="button91" style="left:349px; top:68px; width:45px; height:19px; ">
- <caption>(*^o^*)</caption>
- </button>
- <button id="button92" style="left:203px; top:46px; width:45px; height:19px; ">
- <caption>^o^~~♬</caption>
- </button>
- <button id="button93" style="left:99px; top:24px; width:45px; height:19px; ">
- <caption>☞^.^☜</caption>
- </button>
- <button id="button94" style="left:255px; top:46px; width:45px; height:19px; ">
- <caption>S(^.^)b</caption>
- </button>
- <button id="button95" style="left:151px; top:24px; width:45px; height:19px; ">
- <caption>( ̄∇ ̄)</caption>
- </button>
- <button id="button96" style="left:5px; top:2px; width:45px; height:19px; ">
- <caption>(*^-^*)</caption>
- </button>
- <button id="button97" style="left:302px; top:46px; width:45px; height:19px; ">
- <caption>(^o^)/</caption>
- </button>
- <button id="button98" style="left:203px; top:24px; width:45px; height:19px; ">
- <caption>♥.♥</caption>
- </button>
- <button id="button99" style="left:52px; top:2px; width:31px; height:19px; ">
- <caption>♡.♡</caption>
- </button>
- <button id="button100" style="left:349px; top:46px; width:45px; height:19px; ">
- <caption>*♥o♥*</caption>
- </button>
- <button id="button101" style="left:255px; top:24px; width:45px; height:19px; ">
- <caption>(~.^)s</caption>
- </button>
- <button id="button102" style="left:99px; top:2px; width:45px; height:19px; ">
- <caption>☞♡☜</caption>
- </button>
- <button id="button103" style="left:302px; top:24px; width:45px; height:19px; ">
- <caption>γ^ε^γ</caption>
- </button>
- <button id="button104" style="left:151px; top:2px; width:45px; height:19px; ">
- <caption>(♡.♡)</caption>
- </button>
- <button id="button105" style="left:203px; top:2px; width:45px; height:19px; ">
- <caption>(*`0`*)</caption>
- </button>
- <button id="button1" style="left:5px; top:134px; width:55px; height:19px; ">
- <caption>(⌒ε⌒*)</caption>
- </button>
- <button id="button2" style="left:64px; top:134px; width:45px; height:19px; ">
- <caption>(*^}{^*)</caption>
- </button>
- <button id="button3" style="left:5px; top:90px; width:55px; height:19px; ">
- <caption>づ^O^)づ</caption>
- </button>
- <button id="button6" style="left:5px; top:112px; width:55px; height:19px; ">
- <caption>☜(^^*)☞</caption>
- </button>
- <button id="button14" style="left:199px; top:90px; width:55px; height:19px; ">
- <caption>(*^з(^^*)</caption>
- </button>
- <button id="button15" style="left:134px; top:90px; width:45px; height:19px; ">
- <caption>(^*^)</caption>
- </button>
- <button id="button16" style="left:60px; top:90px; width:65px; height:19px; ">
- <caption>(つ^з^)つ</caption>
- </button>
- <button id="button17" style="left:260px; top:90px; width:75px; height:19px; ">
- <caption>(*⌒.^)(^ε⌒*)</caption>
- </button>
- <button id="button18" style="left:260px; top:112px; width:75px; height:19px; ">
- <caption>(*^-^)♡(^o^*)</caption>
- </button>
- <button id="button106" style="left:169px; top:90px; width:45px; height:19px; ">
- <caption>~o~</caption>
- </button>
- <button id="button107" style="left:219px; top:112px; width:45px; height:19px; ">
- <caption>⊙.⊙</caption>
- </button>
- <button id="button108" style="left:169px; top:112px; width:45px; height:19px; ">
- <caption>^----^</caption>
- </button>
- <button id="button109" style="left:134px; top:112px; width:45px; height:19px; ">
- <caption>^.~♥</caption>
- </button>
- <button id="button110" style="left:64px; top:112px; width:61px; height:19px; ">
- <caption>♬(^O^)~♪</caption>
- </button>
- <button id="button111" style="left:149px; top:134px; width:56px; height:19px; ">
- <caption>s( ̄▽ ̄)/</caption>
- </button>
- <button id="button112" style="left:114px; top:134px; width:45px; height:19px; ">
- <caption>(*^.^)</caption>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var trgObj = document.controls.item(event.target);
-
- if( trgObj.elementName == "xforms:button" ) {
-
- var btnMark = trgObj.label;
- var txtSelPos = tar_emailbdtext.selBegin;
- var curText = tar_emailbdtext.currentText;
- var curTextBefore = curText.substr(0, txtSelPos);
- var curTextAfter = curText.substr(txtSelPos, curText.length);
-
- tar_emailbdtext.currentText = curTextBefore + btnMark + curTextAfter;
-
- var endTxt = tar_emailbdtext.currentText;
- model.setFocus("tar_msgcnts");
- tar_emailbdtext.selBegin = endTxt.length-curTextAfter.length;
- tar_emailbdtext.dispatch("onkeyup");
-
- }
- ]]>
- </script>
- </group>
- <group id="group4" style="left:2px; top:108px; width:438px; height:90px; ">
- <button id="button19" style="left:5px; top:68px; width:17px; height:19px; background-color:transparent; border-style:none; ">
- <caption>@</caption>
- </button>
- <button id="button20" style="left:27px; top:68px; width:17px; height:19px; ">
- <caption>♨</caption>
- </button>
- <button id="button21" style="left:49px; top:68px; width:17px; height:19px; ">
- <caption>☎</caption>
- </button>
- <button id="button22" style="left:159px; top:24px; width:17px; height:19px; ">
- <caption>♥</caption>
- </button>
- <button id="button23" style="left:115px; top:2px; width:17px; height:19px; ">
- <caption>◎</caption>
- </button>
- <button id="button24" style="left:71px; top:68px; width:17px; height:19px; ">
- <caption>☜</caption>
- </button>
- <button id="button25" style="left:5px; top:46px; width:17px; height:19px; ">
- <caption>♧</caption>
- </button>
- <button id="button26" style="left:137px; top:2px; width:17px; height:19px; ">
- <caption>◇</caption>
- </button>
- <button id="button27" style="left:93px; top:68px; width:17px; height:19px; ">
- <caption>☞</caption>
- </button>
- <button id="button28" style="left:27px; top:46px; width:17px; height:19px; ">
- <caption>♣</caption>
- </button>
- <button id="button29" style="left:159px; top:2px; width:17px; height:19px; ">
- <caption>◆</caption>
- </button>
- <button id="button30" style="left:115px; top:68px; width:17px; height:19px; ">
- <caption>%</caption>
- </button>
- <button id="button31" style="left:49px; top:46px; width:17px; height:19px; ">
- <caption>◁</caption>
- </button>
- <button id="button32" style="left:5px; top:24px; width:17px; height:19px; ">
- <caption>□</caption>
- </button>
- <button id="button33" style="left:137px; top:68px; width:17px; height:19px; ">
- <caption>☏</caption>
- </button>
- <button id="button34" style="left:71px; top:46px; width:17px; height:19px; ">
- <caption>◀</caption>
- </button>
- <button id="button35" style="left:27px; top:24px; width:17px; height:19px; ">
- <caption>■</caption>
- </button>
- <button id="button36" style="left:159px; top:68px; width:17px; height:19px; ">
- <caption>♪</caption>
- </button>
- <button id="button37" style="left:93px; top:46px; width:17px; height:19px; ">
- <caption>▷</caption>
- </button>
- <button id="button38" style="left:49px; top:24px; width:17px; height:19px; ">
- <caption>△</caption>
- </button>
- <button id="button39" style="left:115px; top:46px; width:17px; height:19px; ">
- <caption>▶</caption>
- </button>
- <button id="button40" style="left:71px; top:24px; width:17px; height:19px; ">
- <caption>▲</caption>
- </button>
- <button id="button41" style="left:5px; top:2px; width:17px; height:19px; ">
- <caption>●</caption>
- </button>
- <button id="button42" style="left:137px; top:46px; width:17px; height:19px; ">
- <caption>♤</caption>
- </button>
- <button id="button43" style="left:93px; top:24px; width:17px; height:19px; ">
- <caption>▽</caption>
- </button>
- <button id="button44" style="left:27px; top:2px; width:17px; height:19px; ">
- <caption>※</caption>
- </button>
- <button id="button45" style="left:159px; top:46px; width:17px; height:19px; ">
- <caption>♠</caption>
- </button>
- <button id="button46" style="left:115px; top:24px; width:17px; height:19px; ">
- <caption>▼</caption>
- </button>
- <button id="button47" style="left:49px; top:2px; width:17px; height:19px; ">
- <caption>☆</caption>
- </button>
- <button id="button48" style="left:137px; top:24px; width:17px; height:19px; ">
- <caption>♡</caption>
- </button>
- <button id="button49" style="left:71px; top:2px; width:17px; height:19px; ">
- <caption>★</caption>
- </button>
- <button id="button50" style="left:93px; top:2px; width:17px; height:19px; ">
- <caption>○</caption>
- </button>
- <button id="button51" style="left:179px; top:68px; width:17px; height:19px; ">
- <caption>♬</caption>
- </button>
- <button id="button52" style="left:199px; top:68px; width:17px; height:19px; ">
- <caption>♩</caption>
- </button>
- <button id="button53" style="left:179px; top:24px; width:17px; height:19px; ">
- <caption>ㆀ</caption>
- </button>
- <button id="button54" style="left:179px; top:46px; width:17px; height:19px; ">
- <caption>▣</caption>
- </button>
- <button id="button55" style="left:259px; top:2px; width:17px; height:19px; ">
- <caption>→</caption>
- </button>
- <button id="button56" style="left:239px; top:2px; width:17px; height:19px; ">
- <caption>←</caption>
- </button>
- <button id="button57" style="left:219px; top:2px; width:17px; height:19px; ">
- <caption>▒</caption>
- </button>
- <button id="button58" style="left:199px; top:2px; width:17px; height:19px; ">
- <caption>▦</caption>
- </button>
- <button id="button59" style="left:179px; top:2px; width:17px; height:19px; ">
- <caption>▤</caption>
- </button>
- <button id="button60" style="left:279px; top:2px; width:17px; height:19px; ">
- <caption>Ø</caption>
- </button>
- <button id="button61" style="left:259px; top:24px; width:17px; height:19px; ">
- <caption>↓</caption>
- </button>
- <button id="button62" style="left:239px; top:24px; width:17px; height:19px; ">
- <caption>↑</caption>
- </button>
- <button id="button63" style="left:219px; top:24px; width:17px; height:19px; ">
- <caption>◇</caption>
- </button>
- <button id="button64" style="left:199px; top:24px; width:17px; height:19px; ">
- <caption>▨</caption>
- </button>
- <button id="button65" style="left:259px; top:46px; width:17px; height:19px; ">
- <caption>§</caption>
- </button>
- <button id="button66" style="left:239px; top:46px; width:17px; height:19px; ">
- <caption>⇒</caption>
- </button>
- <button id="button67" style="left:219px; top:46px; width:17px; height:19px; ">
- <caption>◈</caption>
- </button>
- <button id="button68" style="left:199px; top:46px; width:17px; height:19px; ">
- <caption>▩</caption>
- </button>
- <button id="button69" style="left:279px; top:24px; width:17px; height:19px; ">
- <caption>∀</caption>
- </button>
- <button id="button70" style="left:259px; top:68px; width:17px; height:19px; ">
- <caption>◑</caption>
- </button>
- <button id="button71" style="left:239px; top:68px; width:17px; height:19px; ">
- <caption>◐</caption>
- </button>
- <button id="button72" style="left:219px; top:68px; width:17px; height:19px; ">
- <caption>⊙</caption>
- </button>
- <button id="button73" style="left:319px; top:68px; width:17px; height:19px; ">
- <caption>≥</caption>
- </button>
- <button id="button113" style="left:299px; top:68px; width:17px; height:19px; ">
- <caption>≤</caption>
- </button>
- <button id="button114" style="left:379px; top:68px; width:17px; height:19px; ">
- <caption>!</caption>
- </button>
- <button id="button115" style="left:359px; top:68px; width:17px; height:19px; ">
- <caption>』</caption>
- </button>
- <button id="button116" style="left:339px; top:68px; width:17px; height:19px; ">
- <caption>『</caption>
- </button>
- <button id="button117" style="left:279px; top:68px; width:17px; height:19px; ">
- <caption>∏</caption>
- </button>
- <button id="button118" style="left:279px; top:46px; width:17px; height:19px; ">
- <caption>∃</caption>
- </button>
- <button id="button119" style="left:379px; top:46px; width:17px; height:19px; ">
- <caption>≫</caption>
- </button>
- <button id="button120" style="left:359px; top:46px; width:17px; height:19px; ">
- <caption>≪</caption>
- </button>
- <button id="button121" style="left:339px; top:46px; width:17px; height:19px; ">
- <caption>℡</caption>
- </button>
- <button id="button122" style="left:319px; top:46px; width:17px; height:19px; ">
- <caption>≫</caption>
- </button>
- <button id="button123" style="left:299px; top:46px; width:17px; height:19px; ">
- <caption>≪</caption>
- </button>
- <button id="button124" style="left:379px; top:24px; width:17px; height:19px; ">
- <caption>¥</caption>
- </button>
- <button id="button125" style="left:359px; top:24px; width:17px; height:19px; ">
- <caption>¢</caption>
- </button>
- <button id="button126" style="left:339px; top:24px; width:17px; height:19px; ">
- <caption>⊃</caption>
- </button>
- <button id="button127" style="left:319px; top:24px; width:17px; height:19px; ">
- <caption>≠</caption>
- </button>
- <button id="button128" style="left:299px; top:24px; width:17px; height:19px; ">
- <caption>∽</caption>
- </button>
- <button id="button129" style="left:379px; top:2px; width:17px; height:19px; ">
- <caption>∴</caption>
- </button>
- <button id="button130" style="left:359px; top:2px; width:17px; height:19px; ">
- <caption>∬</caption>
- </button>
- <button id="button131" style="left:339px; top:2px; width:17px; height:19px; ">
- <caption>∪</caption>
- </button>
- <button id="button132" style="left:319px; top:2px; width:17px; height:19px; ">
- <caption>∧</caption>
- </button>
- <button id="button133" style="left:299px; top:2px; width:17px; height:19px; ">
- <caption>∞</caption>
- </button>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var trgObj = document.controls.item(event.target);
-
- if( trgObj.elementName == "xforms:button" ) {
-
- var btnMark = trgObj.label;
- var txtSelPos = tar_emailbdtext.selBegin;
- var curText = tar_emailbdtext.currentText;
- var curTextBefore = curText.substr(0, txtSelPos);
- var curTextAfter = curText.substr(txtSelPos, curText.length);
-
- tar_emailbdtext.currentText = curTextBefore + btnMark + curTextAfter;
-
- var endTxt = tar_emailbdtext.currentText;
- model.setFocus("tar_msgcnts");
- tar_emailbdtext.selBegin = endTxt.length-curTextAfter.length;
- tar_emailbdtext.dispatch("onkeyup");
-
- }
- ]]>
- </script>
- </group>
- </group>
- <group id="group12" style="left:0px; top:23px; width:224px; height:757px; ">
- <button id="btn_dm" class="btn_sw" group="tab" style="left:0px; top:5px; width:71px; height:22px; ">
- <caption>DM</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("./SMCND00200_DM템플릿관리.xrw" ,"","","","","");
- ]]>
- </script>
- </button>
- <button id="btn_mail" class="btn_sw" group="tab" style="left:72px; top:5px; width:71px; height:22px; ">
- <caption>E-mail</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("./SMCNE00200_Email템플릿관리.xrw" ,"","","","","");
- ]]>
- </script>
- </button>
- <button id="btn_sms" class="btn_sw" group="tab" style="left:144px; top:5px; width:71px; height:22px; ">
- <caption>SMS</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load("./SMCNS00200_SMS템플릿관리.xrw" ,"","","","","");
- ]]>
- </script>
- </button>
- <import id="import1" src="./SSCNS00300_채널그룹트리.xrw" style="left:0px; top:30px; width:215px; height:727px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|