SMCNE00200_Email템플릿관리.xrw 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCNE00200_Email메시지관리
  4. * Summary : Email메시지관리
  5. * Programmer : 최정환
  6. * Date Written : 2007.06.27
  7. * History : 2008.06.15 차재훈 01
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>Email메시지관리</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <list>
  19. <msgtmpllist>
  20. <emailtitl/>
  21. <trsmpsnemailinfo/>
  22. <usernm/>
  23. <msgsmlcd/>
  24. </msgtmpllist>
  25. </list>
  26. <msgtmpl>
  27. <msglrgcd/>
  28. <msgmdlcd/>
  29. <msgsmlcd/>
  30. <useyn/>
  31. <trsmpsnemailinfo/>
  32. <emailtitl/>
  33. <emailbdtextchoi/>
  34. <emailbdtext/>
  35. <savemode/>
  36. <chnlflag/>
  37. <emailbdtextfile/>
  38. </msgtmpl>
  39. </main>
  40. <CountNode/>
  41. <send>
  42. <data>
  43. <rgstfromdd/>
  44. <rgsttodd/>
  45. <emailtitl/>
  46. <emailbdtext/>
  47. <mdlgrupcd/>
  48. <useyn>Y</useyn>
  49. </data>
  50. <info>
  51. <msglrgcd/>
  52. <msgsmlcd/>
  53. <chnlflag/>
  54. </info>
  55. </send>
  56. <init>
  57. <chnllrglist>
  58. <chnllrggrup>
  59. <msglrgnm/>
  60. <msglrgcd/>
  61. </chnllrggrup>
  62. </chnllrglist>
  63. <chnlmdllist>
  64. <chnlmdlgrup>
  65. <msgmdlnm/>
  66. <msgmdlcd/>
  67. <msglrgcd/>
  68. </chnlmdlgrup>
  69. </chnlmdllist>
  70. </init>
  71. <temp>
  72. <prvwscrn/>
  73. <msgsmlcd/>
  74. <searchtype/>
  75. <email>
  76. <userid/>
  77. <host/>
  78. <selhost/>
  79. </email>
  80. <imgset>
  81. <img1>F</img1>
  82. <img2>F</img2>
  83. <img3>F</img3>
  84. <img4>F</img4>
  85. <imguse>N</imguse>
  86. </imgset>
  87. </temp>
  88. <hidden>
  89. <messagecnt/>
  90. </hidden>
  91. </root>
  92. </instance>
  93. <submission id="TRCNS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/chnllrglist/chnllrggrup"/>
  94. <submission id="TRCNS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" replace="instance" resultref="/root/init/chnlmdllist/chnlmdlgrup"/>
  95. <submission id="TRCNS00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/msgtmpllist"/>
  96. <submission id="TRCNE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/main/msgtmpl"/>
  97. <submission id="TXCNS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/msgtmpl"/>
  98. </model>
  99. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  102. <script type="javascript" ev:event="xforms-ready">
  103. <![CDATA[
  104. // E-mail 탭버튼 활성
  105. btn_mail.selected = true;
  106. //분류 제목선택
  107. cmb_titlesearch.select(0);
  108. // Email메시지 그리드의 col을 초기화 시켜준다.
  109. model.removenodeset("/root/main/list/msgtmpllist");
  110. // 메시지 분류코드 설정 (Email : E)
  111. model.setValue("/root/send/info/chnlflag", "E");
  112. // 메시지 대그룹을 가져온다
  113. submit("TRCNS00201");
  114. // 입력모드로 표시
  115. model.setValue("/root/main/msgtmpl/savemode","I");
  116. //저장 수정버튼 활성화 구분
  117. fGetMsgStatus();
  118. //권한
  119. fCheckAuth();
  120. ]]>
  121. </script>
  122. <script type="javascript">
  123. <![CDATA[
  124. //////////=================///////////
  125. //내용체크 해서 이미지 맞게 가져오기//
  126. //////////================////////////
  127. function fGetImg(){
  128. var str_find = model.getValue("/root/main/msgtmpl/emailbdtextfile");
  129. var str_index1 = str_find.indexOf("/23/")//1번 이미지
  130. var str_index2 = str_find.indexOf("/28/")//2번 이미지
  131. var str_index3 = str_find.indexOf("/84/")//3번 이미지
  132. var str_index4 = str_find.indexOf("/51/")//4번 이미지
  133. if(str_index1 != -1){
  134. model.setValue("/root/temp/imgset/img1", "T");
  135. img_bg1.visible = true;
  136. model.setValue("/root/temp/imgset/img2", "F");
  137. model.setValue("/root/temp/imgset/img3", "F");
  138. model.setValue("/root/temp/imgset/img4", "F");
  139. img_bg2.visible = false;
  140. img_bg3.visible = false;
  141. img_bg4.visible = false;
  142. model.setValue("/root/temp/imgset/imguse", "Y");
  143. }else if(str_index2 != -1){
  144. model.setValue("/root/temp/imgset/img2", "T");
  145. img_bg2.visible = true;
  146. model.setValue("/root/temp/imgset/img1", "F");
  147. model.setValue("/root/temp/imgset/img3", "F");
  148. model.setValue("/root/temp/imgset/img4", "F");
  149. img_bg1.visible = false;
  150. img_bg3.visible = false;
  151. img_bg4.visible = false;
  152. model.setValue("/root/temp/imgset/imguse", "Y");
  153. }else if(str_index3 != -1){
  154. model.setValue("/root/temp/imgset/img3", "T");
  155. img_bg3.visible = true;
  156. model.setValue("/root/temp/imgset/img1", "F");
  157. model.setValue("/root/temp/imgset/img2", "F");
  158. model.setValue("/root/temp/imgset/img4", "F");
  159. img_bg1.visible = false;
  160. img_bg2.visible = false;
  161. img_bg4.visible = false;
  162. model.setValue("/root/temp/imgset/imguse", "Y");
  163. }else if(str_index4 != -1){
  164. model.setValue("/root/temp/imgset/img4", "T");
  165. img_bg4.visible = true;
  166. model.setValue("/root/temp/imgset/img1", "F");
  167. model.setValue("/root/temp/imgset/img2", "F");
  168. model.setValue("/root/temp/imgset/img3", "F");
  169. img_bg1.visible = false;
  170. img_bg2.visible = false;
  171. img_bg3.visible = false;
  172. model.setValue("/root/temp/imgset/imguse", "Y");
  173. }else{
  174. model.setValue("/root/temp/imgset/img1", "F");
  175. model.setValue("/root/temp/imgset/img2", "F");
  176. model.setValue("/root/temp/imgset/img3", "F");
  177. model.setValue("/root/temp/imgset/img4", "F");
  178. img_bg1.visible = false;
  179. img_bg2.visible = false;
  180. img_bg3.visible = false;
  181. img_bg4.visible = false;
  182. model.setValue("/root/temp/imgset/imguse", "N");
  183. }
  184. model.refresh();
  185. }
  186. //////////=================///////////
  187. //e-mail체크 해서 id와 host로 나누기 //
  188. //////////================////////////
  189. function fGetEmai(email, userid, host){
  190. var str = model.getValue(email);
  191. if (str != "") {
  192. var str_find = String(str.match(/[a-z0-9._-]+@[a-z0-9.-]+\.[a-z]{2,6}/i))
  193. var str_index = str_find.indexOf("@")
  194. var str_user = str_find.substring(0, str_index)
  195. var str_host = str_find.substring(str_index + 1)
  196. if(str_host != "" && str_host != "null"){
  197. model.setValue(host, str_host);
  198. }
  199. if(str_user != "" && str_user != "null"){
  200. model.setValue(userid, str_user);
  201. }
  202. }else{
  203. model.setValue(host, "");
  204. model.setValue(userid, "");
  205. }
  206. model.refresh();
  207. }
  208. // 그룹관리의 변경된 내용을 새로 적용시켜준다.
  209. function fChnlLrg() {
  210. model.removenodeset("/root/init/chnllrglist/chnllrggrup");
  211. model.removenodeset("/root/init/chnlmdllist/chnlmdlgrup");
  212. model.resetInstanceNode("/root/main/msgtmpl/msglrgcd");
  213. model.resetInstanceNode("/root/main/msgtmpl/msgmdlcd");
  214. submit("TRCNS00201");
  215. }
  216. // 권한체크
  217. function fCheckAuth() {
  218. if (!checkAuth("r")) {
  219. btn_search.disabled=true;
  220. }
  221. if (!checkAuth("x")) {
  222. btn_save.disabled=true;
  223. btn_updt.disabled=true;
  224. btn_del.disabled=true;
  225. }
  226. }
  227. // 초기화
  228. function fInitiate() {
  229. // 메일등록화면 초기화
  230. model.setValue("/root/main/msgtmpl/useyn", "");
  231. model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", "");
  232. model.setValue("/root/main/msgtmpl/emailtitl", "");
  233. model.setValue("/root/main/msgtmpl/emailbdtext", "");
  234. model.resetInstanceNode("/root/temp/email");
  235. model.setValue("/root/temp/imgset/imguse", "N");
  236. model.setValue("/root/temp/imgset/img1", "F");
  237. model.setValue("/root/temp/imgset/img2", "F");
  238. model.setValue("/root/temp/imgset/img3", "F");
  239. model.setValue("/root/temp/imgset/img4", "F");
  240. img_bg1.visible = false;
  241. img_bg2.visible = false;
  242. img_bg3.visible = false;
  243. img_bg4.visible = false;
  244. model.setValue("/root/main/msgtmpl/savemode", "I");
  245. fGetMsgStatus();
  246. }
  247. // 선택한 채널관리 대분류에 따른 채널관리 중분류를 가져온다.
  248. function fGetChnlMdlCd() {
  249. var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
  250. model.setValue("/root/send/info/msglrgcd",msglrgcd);
  251. submit("TRCNS00202");
  252. }
  253. // 선택한 채널관리 대분류에 따른 채널관리 중분류를 가져온다.
  254. function fGetChnlMdlCd() {
  255. var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
  256. model.setValue("/root/send/info/msglrgcd",msglrgcd);
  257. submit("TRCNS00202");
  258. }
  259. // Email정보조회
  260. function fGetEmailAttr() {
  261. var row = grd_msgtmpllist.row;
  262. // 선택한 채널관리 리스트항목의 대분류에 따른 채널관리 중분류를 가져온다.
  263. var msgsmlcd = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("msgsmlcd"));
  264. if (msgsmlcd != "") {
  265. model.setValue("/root/send/info/msgsmlcd", msgsmlcd);
  266. submit("TRCNE00201");
  267. // 선택한 채널관리 리스트항목의 대분류에 따른 채널관리 중분류를 가져온다.
  268. var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
  269. model.setValue("/root/send/info/msglrgcd",msglrgcd);
  270. submit("TRCNS00202");
  271. var emailtitl = grd_msgtmpllist.valueMatrix(row, grd_msgtmpllist.colRef("emailtitl"));
  272. model.setValue("/root/main/msgtmpl/emailtitl",emailtitl);
  273. // 수정모드로 표시
  274. model.setValue("/root/main/msgtmpl/savemode","U");
  275. model.refresh();
  276. }
  277. }
  278. // Email메시지 관리 등록 및 수정
  279. function fSaveMsg(savemode) {
  280. //mail
  281. var userid = model.getValue("/root/temp/email/userid");
  282. if(userid != ""){
  283. var host = model.getValue("/root/temp/email/host");
  284. var email = userid + "@" + host;
  285. model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", email);
  286. }
  287. //bg_img
  288. if(model.getValue("/root/temp/imgset/imguse") == "Y"){
  289. var emailbdtextfile = "";
  290. var top = "<TABLE background='"
  291. var img = "";
  292. var bottom ="' width='376' height='302'><TR><TD valign='top'><!--@본문--></TD></TR></TABLE>";
  293. if(model.getValue("/root/temp/imgset/img1") == "T"){
  294. img = "http://crm001.cmcnu.or.kr/himed/webapps/crm/crmweb/images/CMC_Graphic_Motif.jpg";
  295. }else if(model.getValue("/root/temp/imgset/img2") == "T"){
  296. img = "";
  297. }else if(model.getValue("/root/temp/imgset/img3") == "T"){
  298. img = "";
  299. }else if(model.getValue("/root/temp/imgset/img4") == "T"){
  300. img = "";
  301. }
  302. emailbdtextfile = top + img + bottom;
  303. model.setValue("/root/main/msgtmpl/emailbdtextfile", emailbdtextfile);
  304. }
  305. var chnlflag = model.getValue("/root/send/info/chnlflag");
  306. model.setValue("/root/main/msgtmpl/chnlflag", chnlflag);
  307. submit("TXCNS00201");
  308. model.setValue("/root/main/msgtmpl/useyn", "");
  309. model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", "");
  310. model.setValue("/root/main/msgtmpl/emailtitl", "");
  311. model.setValue("/root/main/msgtmpl/emailbdtext", "");
  312. model.resetInstanceNode("/root/temp/email");
  313. model.setValue("/root/temp/imgset/imguse", "N");
  314. model.setValue("/root/temp/imgset/img1", "F");
  315. model.setValue("/root/temp/imgset/img2", "F");
  316. model.setValue("/root/temp/imgset/img3", "F");
  317. model.setValue("/root/temp/imgset/img4", "F");
  318. img_bg1.visible = false;
  319. img_bg2.visible = false;
  320. img_bg3.visible = false;
  321. img_bg4.visible = false;
  322. model.refresh();
  323. messageBox("탬플릿 저장이", "I002", "");
  324. }
  325. // Email메시지 리스트 조회
  326. function fGetMsgTmplList() {
  327. model.removeNodeset("/root/main/list/msgtmpllist");
  328. submit("TRCNS00203");
  329. var grid_rows = grd_msgtmpllist.rows-1;
  330. model.setvalue("/root/CountNode" , grid_rows);
  331. model.refresh();
  332. }
  333. //-------------------------//
  334. // 저장,수정버튼 활성화 //
  335. //-------------------------//
  336. function fGetMsgStatus(){
  337. var msgStatus = model.getValue("/root/main/msgtmpl/savemode");
  338. if(msgStatus == "I"){
  339. btn_updt.disabled = true;
  340. btn_save.disabled = false;
  341. }else if(msgStatus == "U"){
  342. btn_updt.disabled = false;
  343. btn_save.disabled = true;
  344. }else{
  345. btn_updt.disabled = true;
  346. btn_save.disabled = true;
  347. }
  348. model.refresh();
  349. }
  350. //메일 저장시 정합성 체크
  351. function fMsgValid(){
  352. var msgtitl = model.getValue("/root/main/msgtmpl/emailtitl");
  353. var msgcnts = model.getValue("/root/main/msgtmpl/emailbdtext");
  354. var msglrgcd = model.getValue("/root/main/msgtmpl/msglrgcd");
  355. var msgmdlcd = model.getValue("/root/main/msgtmpl/msgmdlcd");
  356. if(msgtitl == ""){
  357. messageBox("메일의 제목이 입력 되지", "E007");
  358. return false;
  359. }
  360. if(msgcnts == ""){
  361. messageBox("메일의 내용이 입력 되지", "E007");
  362. return false;
  363. }
  364. if(msglrgcd == ""){
  365. messageBox("메일의 대분류가 선택 되지", "E007");
  366. return false;
  367. }
  368. if(msgmdlcd == "" || msgmdlcd == "0"){
  369. messageBox("메일의 중분류가 선택 되지", "E007");
  370. return false;
  371. }
  372. return true;
  373. }
  374. // 메일 관리 삭제(사용안함 상태로 바꾸기)
  375. function fDelMsg(savemode) {
  376. var chnlflag = model.getValue("/root/send/info/chnlflag");
  377. model.setValue("/root/main/msgtmpl/chnlflag", chnlflag);
  378. submit("TXCNS00201");
  379. messageBox("탬플릿 삭제가", "I002", "");
  380. model.setValue("/root/main/msgtmpl/useyn", "");
  381. model.setValue("/root/main/msgtmpl/trsmpsnemailinfo", "");
  382. model.setValue("/root/main/msgtmpl/emailtitl", "");
  383. model.setValue("/root/main/msgtmpl/emailbdtext", "");
  384. model.resetInstanceNode("/root/temp/email");
  385. model.setValue("/root/main/msgtmpl/savemode", "I");
  386. model.refresh();
  387. }
  388. ]]>
  389. </script>
  390. </xhtml:head>
  391. <xhtml:body guideline="2,354;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  392. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  393. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">상용구 관리</caption>
  394. </group>
  395. <group id="grp_johe" style="left:225px; top:23px; width:665px; height:60px; vertical-align:top; ">
  396. <caption id="caption4" class="tit_2" style="left:5px; top:3px; width:150px; height:14px; ">E-mail</caption>
  397. <line id="line4" class="line_1" style="x1:0px; y1:17px; x2:665px; y2:17px; "/>
  398. <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; "/>
  399. <caption id="caption2" class="search_name" style="left:15px; top:34px; width:90px; height:17px; ">검색조건 :</caption>
  400. <select1 id="cmb_titlesearch" ref="/root/temp/searchtype" class="combo_search" navindex="1" appearance="minimal" style="left:104px; top:34px; width:66px; height:19px; ">
  401. <choices>
  402. <item>
  403. <label>제 목</label>
  404. <value>T</value>
  405. </item>
  406. <item>
  407. <label>내 용</label>
  408. <value>C</value>
  409. </item>
  410. </choices>
  411. <script type="javascript" ev:event="xforms-value-changed">
  412. <![CDATA[
  413. var searchtype = model.getValue("/root/temp/searchtype");
  414. if(searchtype == "T"){
  415. ipt_s_emailtitl.visible = true;
  416. ipt_s_emailbdtext.visible = false;
  417. model.setValue("/root/send/data/emailtitl","");
  418. model.setValue("/root/send/data/emailbdtext","");
  419. }else{
  420. ipt_s_emailtitl.visible = false;
  421. ipt_s_emailbdtext.visible = true;
  422. model.setValue("/root/send/data/emailtitl","");
  423. model.setValue("/root/send/data/emailbdtext","");
  424. }
  425. ]]>
  426. </script>
  427. </select1>
  428. <input id="ipt_s_emailtitl" ref="/root/send/data/emailtitl" class="input_search" style="left:175px; top:34px; width:130px; height:19px; ">
  429. <script type="javascript" ev:event="onkeyup">
  430. <![CDATA[
  431. inputEnterKey("btn_search", "DOMActivate");
  432. ]]>
  433. </script>
  434. </input>
  435. <input id="ipt_s_emailbdtext" ref="/root/send/data/emailbdtext" class="input_search" navindex="2" style="left:175px; top:34px; width:130px; height:19px; ">
  436. <script type="javascript" ev:event="onkeyup">
  437. <![CDATA[
  438. inputEnterKey("btn_search", "DOMActivate");
  439. ]]>
  440. </script>
  441. </input>
  442. <line id="line1" class="line_4" style="x1:582px; y1:32px; x2:582px; y2:54px; "/>
  443. <button id="btn_search" class="btn1_letter2" navindex="3" style="left:597px; top:32px; width:56px; height:22px; ">
  444. <caption>조회</caption>
  445. <script type="javascript" ev:event="DOMActivate">
  446. <![CDATA[
  447. fGetMsgTmplList();
  448. // 등록화면 초기화
  449. model.resetInstanceNode("/root/main/msgtmpl");
  450. model.setValue("/root/main/msgtmpl/savemode", "I");
  451. //저장 수정버튼 활성화 구분
  452. fGetMsgStatus();
  453. ]]>
  454. </script>
  455. </button>
  456. </group>
  457. <group id="group2" style="left:224px; top:83px; width:666px; height:277px; ">
  458. <button id="btn_del" class="btn5_letter2" style="left:624px; top:5px; width:42px; height:19px; ">
  459. <caption>삭제</caption>
  460. <script type="javascript" ev:event="DOMActivate">
  461. <![CDATA[
  462. if(model.getValue("/root/main/msgtmpl/msgsmlcd")!=""){
  463. if (messageBox("선택된 이메일 상용구를","Q001")==6){
  464. grd_msgtmpllist.deleteItem(grd_msgtmpllist.selectedRow(0));
  465. model.setValue("/root/main/msgtmpl/useyn","N");
  466. var savemode = "U";
  467. fDelMsg(savemode);
  468. }
  469. }else{
  470. messageBox("삭제할 이메일 상용구를", "C002");
  471. }
  472. ]]>
  473. </script>
  474. </button>
  475. <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:150px; height:13px; ">상용구 리스트</caption>
  476. <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:665px; y2:26px; "/>
  477. <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; ">
  478. <col ref="emailtitl"/>
  479. <col ref="trsmpsnemailinfo"/>
  480. <col ref="usernm"/>
  481. <col ref="msgsmlcd" visibility="hidden"/>
  482. <script type="javascript" ev:event="onclick">
  483. <![CDATA[
  484. if( grd_msgtmpllist.isCell(event.target) && grd_msgtmpllist.row >= grd_msgtmpllist.fixedRows ){
  485. fGetEmailAttr(); // Email메시지 정보조회
  486. model.setValue("/root/main/msgtmpl/savemode","U");
  487. //저장 수정버튼 활성화 구분
  488. fGetMsgStatus();
  489. }
  490. fGetImg();
  491. var row = grd_msgtmpllist.row;
  492. var email = "/root/main/list/msgtmpllist["+row+"]/trsmpsnemailinfo";
  493. var userid = "/root/temp/email/userid";
  494. var host = "/root/temp/email/host";
  495. fGetEmai(email, userid, host);
  496. ]]>
  497. </script>
  498. </datagrid>
  499. </group>
  500. <group id="group6" style="left:895px; top:25px; width:298px; height:335px; ">
  501. <caption id="caption3" class="tit_2" style="left:5px; top:0px; width:150px; height:13px; ">편지지</caption>
  502. <line id="line3" class="line_1" style="x1:0px; y1:15px; x2:292px; y2:15px; "/>
  503. <shape id="rectangle1" appearance="rectangle" style="left:0px; top:21px; width:292px; height:313px; border-color:#c0c0c0; "/>
  504. <img id="img1" src="../../../crm/crmweb/images/CMC_Graphic_Motif.jpg" style="left:5px; top:25px; width:139px; height:150px; background-stretch:stretch; ">
  505. <script type="javascript" ev:event="onclick">
  506. <![CDATA[
  507. if (model.getValue("/root/temp/imgset/img1") == "F") {
  508. img_bg1.visible = true;
  509. model.setValue("/root/temp/imgset/img1", "T");
  510. model.setValue("/root/temp/imgset/imguse", "Y");
  511. } else {
  512. img_bg1.visible = false;
  513. model.setValue("/root/temp/imgset/img1", "F");
  514. model.setValue("/root/temp/imgset/imguse", "N");
  515. }
  516. model.setValue("/root/temp/imgset/img2", "F");
  517. model.setValue("/root/temp/imgset/img3", "F");
  518. model.setValue("/root/temp/imgset/img4", "F");
  519. img_bg2.visible = false;
  520. img_bg3.visible = false;
  521. img_bg4.visible = false;
  522. ]]>
  523. </script>
  524. </img>
  525. </group>
  526. <group id="group1" style="left:224px; top:360px; width:510px; height:420px; ">
  527. <caption id="caption6" class="tit_2" style="left:5px; top:10px; width:150px; height:14px; ">E-mail 상용구 작성</caption>
  528. <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:510px; y2:25px; "/>
  529. <line id="line6" class="line_2" style="x1:0px; y1:77px; x2:510px; y2:77px; "/>
  530. <caption id="caption12" class="cell_1" style="left:0px; top:29px; width:105px; height:23px; text-align:center; ">E-mail 제목</caption>
  531. <input id="ipt_emailtitl" ref="/root/main/msgtmpl/emailtitl" class="input_default" maxlength="50" style="left:108px; top:30px; width:400px; height:19px; "/>
  532. <line id="line7" class="line_2" style="x1:0px; y1:52px; x2:510px; y2:52px; "/>
  533. <caption id="caption8" class="cell_1" style="left:0px; top:54px; width:105px; height:23px; text-align:center; ">발신정보</caption>
  534. <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; "/>
  535. <caption id="caption10" style="left:218px; top:56px; width:20px; height:19px; font-size:11pt; text-align:center; vertical-align:middle; ">@</caption>
  536. <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; "/>
  537. <select1 id="cmb_email" ref="/root/temp/email/selhost" appearance="minimal" overflow="visible" style="left:353px; top:56px; width:125px; height:19px; ">
  538. <choices>
  539. <item>
  540. <label>직접입력</label>
  541. <value/>
  542. </item>
  543. <item>
  544. <label>나우누리</label>
  545. <value>nownuri.net</value>
  546. </item>
  547. <item>
  548. <label>네이버</label>
  549. <value>naver.com</value>
  550. </item>
  551. <item>
  552. <label>네이트</label>
  553. <value>nate.com</value>
  554. </item>
  555. <item>
  556. <label>다음/한메일</label>
  557. <value>hanmail.net</value>
  558. </item>
  559. <item>
  560. <label>드림위즈</label>
  561. <value>dreamwiz.com</value>
  562. </item>
  563. <item>
  564. <label>라이코스</label>
  565. <value>lycos.co.kr</value>
  566. </item>
  567. <item>
  568. <label>야후</label>
  569. <value>yahoo.co.kr</value>
  570. </item>
  571. <item>
  572. <label>엠파스</label>
  573. <value>empal.com</value>
  574. </item>
  575. <item>
  576. <label>유니텔</label>
  577. <value>unitel.co.kr</value>
  578. </item>
  579. <item>
  580. <label>천리안</label>
  581. <value>chollian.net</value>
  582. </item>
  583. <item>
  584. <label>코넷</label>
  585. <value>kornet.net</value>
  586. </item>
  587. <item>
  588. <label>파란</label>
  589. <value>paran.com</value>
  590. </item>
  591. <item>
  592. <label>하나포스</label>
  593. <value>hanafos.com</value>
  594. </item>
  595. <item>
  596. <label>하이텔</label>
  597. <value>hitel.net</value>
  598. </item>
  599. <item>
  600. <label>핫메일</label>
  601. <value>hotmail.com</value>
  602. </item>
  603. <item>
  604. <label>Catholic</label>
  605. <value>catholic.ac.kr</value>
  606. </item>
  607. <item>
  608. <label>CMCnU</label>
  609. <value>cmcnu.or.kr</value>
  610. </item>
  611. </choices>
  612. <script type="javascript" ev:event="xforms-select">
  613. <![CDATA[
  614. var selhost = model.getValue("/root/temp/email/selhost");
  615. model.setValue("/root/temp/email/host", selhost);
  616. model.refresh();
  617. ]]>
  618. </script>
  619. </select1>
  620. <line id="line8" class="line_2" style="x1:0px; y1:391px; x2:510px; y2:391px; "/>
  621. <caption id="cap_msgcnts" class="cell_1" style="left:0px; top:79px; width:105px; height:312px; text-align:center; ">내 용</caption>
  622. <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; "/>
  623. <img id="img_bg2" visibility="hidden" style="left:112px; top:83px; width:376px; height:302px; background-stretch:stretch; "/>
  624. <img id="img_bg3" visibility="hidden" style="left:112px; top:83px; width:376px; height:302px; background-stretch:stretch; "/>
  625. <img id="img_bg4" visibility="hidden" style="left:112px; top:83px; width:376px; height:302px; background-stretch:stretch; "/>
  626. <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; "/>
  627. <button id="btn_init" class="btn5_letter3" style="left:0px; top:395px; width:53px; height:19px; ">
  628. <caption>초기화</caption>
  629. <script type="javascript" ev:event="DOMActivate">
  630. <![CDATA[
  631. fInitiate();
  632. ]]>
  633. </script>
  634. </button>
  635. <button id="btn_updt" class="btn5_letter5" style="left:432px; top:395px; width:75px; height:19px; ">
  636. <caption>메시지수정</caption>
  637. <script type="javascript" ev:event="DOMActivate">
  638. <![CDATA[
  639. if(fMsgValid()){
  640. model.setValue("/root/main/msgtmpl/useyn","Y");
  641. var savemode = model.getValue("/root/main/msgtmpl/savemode");
  642. fSaveMsg(savemode); //Email메시지관리 속성 저장(I:등록, U:수정)
  643. model.setValue("/root/send/data/mdlgrupcd", model.getValue("/root/main/msgtmpl/msgmdlcd"));
  644. submit("TRCNS00203"); //재조회
  645. model.setValue("/root/send/data/mdlgrupcd", "");
  646. }
  647. ]]>
  648. </script>
  649. </button>
  650. <button id="btn_save" class="btn5_letter5" style="left:354px; top:395px; width:75px; height:19px; ">
  651. <caption>메시지저장</caption>
  652. <script type="javascript" ev:event="DOMActivate">
  653. <![CDATA[
  654. if(fMsgValid()){
  655. model.setValue("/root/main/msgtmpl/useyn","Y");
  656. var savemode = model.getValue("/root/main/msgtmpl/savemode");
  657. fSaveMsg(savemode); //Email메시지관리 속성 저장(I:등록, U:수정)
  658. model.setValue("/root/send/data/mdlgrupcd", model.getValue("/root/main/msgtmpl/msgmdlcd"));
  659. submit("TRCNS00203"); //재조회
  660. model.setValue("/root/send/data/mdlgrupcd", "");
  661. }
  662. ]]>
  663. </script>
  664. </button>
  665. </group>
  666. <group id="group3" style="left:739px; top:360px; width:451px; height:417px; ">
  667. <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:167px; height:14px; ">자동입력어</caption>
  668. <line id="line10" class="line_1" style="x1:0px; y1:25px; x2:450px; y2:25px; "/>
  669. <group id="group5" style="left:0px; top:31px; width:296px; height:45px; ">
  670. <button id="button4" class="btn2_letter3" style="left:5px; top:2px; width:53px; height:19px; ">
  671. <caption>고객</caption>
  672. </button>
  673. <button id="button5" class="btn2_letter3" style="left:61px; top:2px; width:53px; height:19px; ">
  674. <caption>진료과</caption>
  675. </button>
  676. <button id="button7" class="btn2_letter3" style="left:117px; top:2px; width:53px; height:19px; ">
  677. <caption>진료의</caption>
  678. </button>
  679. <button id="button8" class="btn2_letter3" style="left:173px; top:2px; width:53px; height:19px; ">
  680. <caption>병원명</caption>
  681. </button>
  682. <button id="button9" class="btn2_letter3" style="left:5px; top:24px; width:53px; height:19px; ">
  683. <caption>월</caption>
  684. </button>
  685. <button id="button10" class="btn2_letter3" style="left:61px; top:24px; width:53px; height:19px; ">
  686. <caption>일</caption>
  687. </button>
  688. <button id="button11" class="btn2_letter3" style="left:117px; top:24px; width:53px; height:19px; ">
  689. <caption>시</caption>
  690. </button>
  691. <button id="button12" class="btn2_letter3" style="left:173px; top:24px; width:53px; height:19px; ">
  692. <caption>분</caption>
  693. </button>
  694. <button id="button13" class="btn2_letter4" style="left:229px; top:24px; width:64px; height:19px; ">
  695. <caption>처방코드</caption>
  696. </button>
  697. <script type="javascript" ev:event="onclick">
  698. <![CDATA[
  699. var trgObj = document.controls.item(event.target);
  700. if( trgObj.elementName == "xforms:button" ) {
  701. var btnMark = "<@" + trgObj.label + ">";
  702. var txtSelPos = tar_emailbdtext.selBegin;
  703. var curText = tar_emailbdtext.currentText;
  704. var curTextBefore = curText.substr(0, txtSelPos);
  705. var curTextAfter = curText.substr(txtSelPos, curText.length);
  706. tar_emailbdtext.currentText = curTextBefore + btnMark + curTextAfter;
  707. var endTxt = tar_emailbdtext.currentText;
  708. model.setFocus("tar_msgcnts");
  709. tar_emailbdtext.selBegin = endTxt.length-curTextAfter.length;
  710. tar_emailbdtext.dispatch("onkeyup");
  711. }
  712. ]]>
  713. </script>
  714. </group>
  715. <caption id="caption5" class="tit_2" style="left:5px; top:87px; width:85px; height:13px; ">특수문자</caption>
  716. <line id="line9" class="line_1" style="x1:0px; y1:102px; x2:450px; y2:102px; "/>
  717. <shape id="rectangle2" appearance="rectangle" style="left:0px; top:30px; width:451px; height:48px; border-color:#c0c0c0; "/>
  718. <shape id="rectangle3" appearance="rectangle" style="left:0px; top:107px; width:451px; height:93px; border-color:#c0c0c0; "/>
  719. <shape id="rectangle4" appearance="rectangle" style="left:0px; top:232px; width:451px; height:159px; border-color:#c0c0c0; "/>
  720. <line id="line11" class="line_1" style="x1:0px; y1:227px; x2:450px; y2:227px; "/>
  721. <caption id="caption7" class="tit_2" style="left:5px; top:212px; width:85px; height:13px; ">이모티콘</caption>
  722. <group id="group10" style="left:3px; top:233px; width:412px; height:157px; ">
  723. <button id="button74" style="left:5px; top:68px; width:45px; height:19px; background-color:transparent; border-style:none; ">
  724. <caption>n.n</caption>
  725. </button>
  726. <button id="button75" style="left:52px; top:68px; width:45px; height:19px; ">
  727. <caption>^Δ^</caption>
  728. </button>
  729. <button id="button76" style="left:99px; top:68px; width:45px; height:19px; ">
  730. <caption>^v^</caption>
  731. </button>
  732. <button id="button77" style="left:349px; top:24px; width:45px; height:19px; ">
  733. <caption>^.^</caption>
  734. </button>
  735. <button id="button78" style="left:255px; top:2px; width:45px; height:19px; ">
  736. <caption>^_^</caption>
  737. </button>
  738. <button id="button79" style="left:151px; top:68px; width:45px; height:19px; ">
  739. <caption>^O^</caption>
  740. </button>
  741. <button id="button80" style="left:5px; top:46px; width:45px; height:19px; ">
  742. <caption>^L^</caption>
  743. </button>
  744. <button id="button81" style="left:302px; top:2px; width:45px; height:19px; ">
  745. <caption>⌒⌒</caption>
  746. </button>
  747. <button id="button82" style="left:203px; top:68px; width:45px; height:19px; ">
  748. <caption>^.~</caption>
  749. </button>
  750. <button id="button83" style="left:52px; top:46px; width:45px; height:19px; ">
  751. <caption>^ε^</caption>
  752. </button>
  753. <button id="button84" style="left:349px; top:2px; width:45px; height:19px; ">
  754. <caption>^-^b</caption>
  755. </button>
  756. <button id="button85" style="left:255px; top:68px; width:45px; height:19px; ">
  757. <caption>*^^*</caption>
  758. </button>
  759. <button id="button86" style="left:99px; top:46px; width:45px; height:19px; ">
  760. <caption>^▽^</caption>
  761. </button>
  762. <button id="button87" style="left:5px; top:24px; width:45px; height:19px; ">
  763. <caption>=^.^=</caption>
  764. </button>
  765. <button id="button88" style="left:302px; top:68px; width:45px; height:19px; ">
  766. <caption>(^^)γ</caption>
  767. </button>
  768. <button id="button89" style="left:151px; top:46px; width:45px; height:19px; ">
  769. <caption>o(^-^)o</caption>
  770. </button>
  771. <button id="button90" style="left:52px; top:24px; width:45px; height:19px; ">
  772. <caption>(*^-^)</caption>
  773. </button>
  774. <button id="button91" style="left:349px; top:68px; width:45px; height:19px; ">
  775. <caption>(*^o^*)</caption>
  776. </button>
  777. <button id="button92" style="left:203px; top:46px; width:45px; height:19px; ">
  778. <caption>^o^~~♬</caption>
  779. </button>
  780. <button id="button93" style="left:99px; top:24px; width:45px; height:19px; ">
  781. <caption>☞^.^☜</caption>
  782. </button>
  783. <button id="button94" style="left:255px; top:46px; width:45px; height:19px; ">
  784. <caption>S(^.^)b</caption>
  785. </button>
  786. <button id="button95" style="left:151px; top:24px; width:45px; height:19px; ">
  787. <caption>( ̄∇ ̄)</caption>
  788. </button>
  789. <button id="button96" style="left:5px; top:2px; width:45px; height:19px; ">
  790. <caption>(*^-^*)</caption>
  791. </button>
  792. <button id="button97" style="left:302px; top:46px; width:45px; height:19px; ">
  793. <caption>(^o^)/</caption>
  794. </button>
  795. <button id="button98" style="left:203px; top:24px; width:45px; height:19px; ">
  796. <caption>♥.♥</caption>
  797. </button>
  798. <button id="button99" style="left:52px; top:2px; width:31px; height:19px; ">
  799. <caption>♡.♡</caption>
  800. </button>
  801. <button id="button100" style="left:349px; top:46px; width:45px; height:19px; ">
  802. <caption>*♥o♥*</caption>
  803. </button>
  804. <button id="button101" style="left:255px; top:24px; width:45px; height:19px; ">
  805. <caption>(~.^)s</caption>
  806. </button>
  807. <button id="button102" style="left:99px; top:2px; width:45px; height:19px; ">
  808. <caption>☞♡☜</caption>
  809. </button>
  810. <button id="button103" style="left:302px; top:24px; width:45px; height:19px; ">
  811. <caption>γ^ε^γ</caption>
  812. </button>
  813. <button id="button104" style="left:151px; top:2px; width:45px; height:19px; ">
  814. <caption>(♡.♡)</caption>
  815. </button>
  816. <button id="button105" style="left:203px; top:2px; width:45px; height:19px; ">
  817. <caption>(*`0`*)</caption>
  818. </button>
  819. <button id="button1" style="left:5px; top:134px; width:55px; height:19px; ">
  820. <caption>(⌒ε⌒*)</caption>
  821. </button>
  822. <button id="button2" style="left:64px; top:134px; width:45px; height:19px; ">
  823. <caption>(*^}{^*)</caption>
  824. </button>
  825. <button id="button3" style="left:5px; top:90px; width:55px; height:19px; ">
  826. <caption>づ^O^)づ</caption>
  827. </button>
  828. <button id="button6" style="left:5px; top:112px; width:55px; height:19px; ">
  829. <caption>☜(^^*)☞</caption>
  830. </button>
  831. <button id="button14" style="left:199px; top:90px; width:55px; height:19px; ">
  832. <caption>(*^з(^^*)</caption>
  833. </button>
  834. <button id="button15" style="left:134px; top:90px; width:45px; height:19px; ">
  835. <caption>(^*^)</caption>
  836. </button>
  837. <button id="button16" style="left:60px; top:90px; width:65px; height:19px; ">
  838. <caption>(つ^з^)つ</caption>
  839. </button>
  840. <button id="button17" style="left:260px; top:90px; width:75px; height:19px; ">
  841. <caption>(*⌒.^)(^ε⌒*)</caption>
  842. </button>
  843. <button id="button18" style="left:260px; top:112px; width:75px; height:19px; ">
  844. <caption>(*^-^)♡(^o^*)</caption>
  845. </button>
  846. <button id="button106" style="left:169px; top:90px; width:45px; height:19px; ">
  847. <caption>~o~</caption>
  848. </button>
  849. <button id="button107" style="left:219px; top:112px; width:45px; height:19px; ">
  850. <caption>⊙.⊙</caption>
  851. </button>
  852. <button id="button108" style="left:169px; top:112px; width:45px; height:19px; ">
  853. <caption>^----^</caption>
  854. </button>
  855. <button id="button109" style="left:134px; top:112px; width:45px; height:19px; ">
  856. <caption>^.~♥</caption>
  857. </button>
  858. <button id="button110" style="left:64px; top:112px; width:61px; height:19px; ">
  859. <caption>♬(^O^)~♪</caption>
  860. </button>
  861. <button id="button111" style="left:149px; top:134px; width:56px; height:19px; ">
  862. <caption>s( ̄▽ ̄)/</caption>
  863. </button>
  864. <button id="button112" style="left:114px; top:134px; width:45px; height:19px; ">
  865. <caption>(*^.^)</caption>
  866. </button>
  867. <script type="javascript" ev:event="onclick">
  868. <![CDATA[
  869. var trgObj = document.controls.item(event.target);
  870. if( trgObj.elementName == "xforms:button" ) {
  871. var btnMark = trgObj.label;
  872. var txtSelPos = tar_emailbdtext.selBegin;
  873. var curText = tar_emailbdtext.currentText;
  874. var curTextBefore = curText.substr(0, txtSelPos);
  875. var curTextAfter = curText.substr(txtSelPos, curText.length);
  876. tar_emailbdtext.currentText = curTextBefore + btnMark + curTextAfter;
  877. var endTxt = tar_emailbdtext.currentText;
  878. model.setFocus("tar_msgcnts");
  879. tar_emailbdtext.selBegin = endTxt.length-curTextAfter.length;
  880. tar_emailbdtext.dispatch("onkeyup");
  881. }
  882. ]]>
  883. </script>
  884. </group>
  885. <group id="group4" style="left:2px; top:108px; width:438px; height:90px; ">
  886. <button id="button19" style="left:5px; top:68px; width:17px; height:19px; background-color:transparent; border-style:none; ">
  887. <caption>@</caption>
  888. </button>
  889. <button id="button20" style="left:27px; top:68px; width:17px; height:19px; ">
  890. <caption>♨</caption>
  891. </button>
  892. <button id="button21" style="left:49px; top:68px; width:17px; height:19px; ">
  893. <caption>☎</caption>
  894. </button>
  895. <button id="button22" style="left:159px; top:24px; width:17px; height:19px; ">
  896. <caption>♥</caption>
  897. </button>
  898. <button id="button23" style="left:115px; top:2px; width:17px; height:19px; ">
  899. <caption>◎</caption>
  900. </button>
  901. <button id="button24" style="left:71px; top:68px; width:17px; height:19px; ">
  902. <caption>☜</caption>
  903. </button>
  904. <button id="button25" style="left:5px; top:46px; width:17px; height:19px; ">
  905. <caption>♧</caption>
  906. </button>
  907. <button id="button26" style="left:137px; top:2px; width:17px; height:19px; ">
  908. <caption>◇</caption>
  909. </button>
  910. <button id="button27" style="left:93px; top:68px; width:17px; height:19px; ">
  911. <caption>☞</caption>
  912. </button>
  913. <button id="button28" style="left:27px; top:46px; width:17px; height:19px; ">
  914. <caption>♣</caption>
  915. </button>
  916. <button id="button29" style="left:159px; top:2px; width:17px; height:19px; ">
  917. <caption>◆</caption>
  918. </button>
  919. <button id="button30" style="left:115px; top:68px; width:17px; height:19px; ">
  920. <caption>%</caption>
  921. </button>
  922. <button id="button31" style="left:49px; top:46px; width:17px; height:19px; ">
  923. <caption>◁</caption>
  924. </button>
  925. <button id="button32" style="left:5px; top:24px; width:17px; height:19px; ">
  926. <caption>□</caption>
  927. </button>
  928. <button id="button33" style="left:137px; top:68px; width:17px; height:19px; ">
  929. <caption>☏</caption>
  930. </button>
  931. <button id="button34" style="left:71px; top:46px; width:17px; height:19px; ">
  932. <caption>◀</caption>
  933. </button>
  934. <button id="button35" style="left:27px; top:24px; width:17px; height:19px; ">
  935. <caption>■</caption>
  936. </button>
  937. <button id="button36" style="left:159px; top:68px; width:17px; height:19px; ">
  938. <caption>♪</caption>
  939. </button>
  940. <button id="button37" style="left:93px; top:46px; width:17px; height:19px; ">
  941. <caption>▷</caption>
  942. </button>
  943. <button id="button38" style="left:49px; top:24px; width:17px; height:19px; ">
  944. <caption>△</caption>
  945. </button>
  946. <button id="button39" style="left:115px; top:46px; width:17px; height:19px; ">
  947. <caption>▶</caption>
  948. </button>
  949. <button id="button40" style="left:71px; top:24px; width:17px; height:19px; ">
  950. <caption>▲</caption>
  951. </button>
  952. <button id="button41" style="left:5px; top:2px; width:17px; height:19px; ">
  953. <caption>●</caption>
  954. </button>
  955. <button id="button42" style="left:137px; top:46px; width:17px; height:19px; ">
  956. <caption>♤</caption>
  957. </button>
  958. <button id="button43" style="left:93px; top:24px; width:17px; height:19px; ">
  959. <caption>▽</caption>
  960. </button>
  961. <button id="button44" style="left:27px; top:2px; width:17px; height:19px; ">
  962. <caption>※</caption>
  963. </button>
  964. <button id="button45" style="left:159px; top:46px; width:17px; height:19px; ">
  965. <caption>♠</caption>
  966. </button>
  967. <button id="button46" style="left:115px; top:24px; width:17px; height:19px; ">
  968. <caption>▼</caption>
  969. </button>
  970. <button id="button47" style="left:49px; top:2px; width:17px; height:19px; ">
  971. <caption>☆</caption>
  972. </button>
  973. <button id="button48" style="left:137px; top:24px; width:17px; height:19px; ">
  974. <caption>♡</caption>
  975. </button>
  976. <button id="button49" style="left:71px; top:2px; width:17px; height:19px; ">
  977. <caption>★</caption>
  978. </button>
  979. <button id="button50" style="left:93px; top:2px; width:17px; height:19px; ">
  980. <caption>○</caption>
  981. </button>
  982. <button id="button51" style="left:179px; top:68px; width:17px; height:19px; ">
  983. <caption>♬</caption>
  984. </button>
  985. <button id="button52" style="left:199px; top:68px; width:17px; height:19px; ">
  986. <caption>♩</caption>
  987. </button>
  988. <button id="button53" style="left:179px; top:24px; width:17px; height:19px; ">
  989. <caption>ㆀ</caption>
  990. </button>
  991. <button id="button54" style="left:179px; top:46px; width:17px; height:19px; ">
  992. <caption>▣</caption>
  993. </button>
  994. <button id="button55" style="left:259px; top:2px; width:17px; height:19px; ">
  995. <caption>→</caption>
  996. </button>
  997. <button id="button56" style="left:239px; top:2px; width:17px; height:19px; ">
  998. <caption>←</caption>
  999. </button>
  1000. <button id="button57" style="left:219px; top:2px; width:17px; height:19px; ">
  1001. <caption>▒</caption>
  1002. </button>
  1003. <button id="button58" style="left:199px; top:2px; width:17px; height:19px; ">
  1004. <caption>▦</caption>
  1005. </button>
  1006. <button id="button59" style="left:179px; top:2px; width:17px; height:19px; ">
  1007. <caption>▤</caption>
  1008. </button>
  1009. <button id="button60" style="left:279px; top:2px; width:17px; height:19px; ">
  1010. <caption>Ø</caption>
  1011. </button>
  1012. <button id="button61" style="left:259px; top:24px; width:17px; height:19px; ">
  1013. <caption>↓</caption>
  1014. </button>
  1015. <button id="button62" style="left:239px; top:24px; width:17px; height:19px; ">
  1016. <caption>↑</caption>
  1017. </button>
  1018. <button id="button63" style="left:219px; top:24px; width:17px; height:19px; ">
  1019. <caption>◇</caption>
  1020. </button>
  1021. <button id="button64" style="left:199px; top:24px; width:17px; height:19px; ">
  1022. <caption>▨</caption>
  1023. </button>
  1024. <button id="button65" style="left:259px; top:46px; width:17px; height:19px; ">
  1025. <caption>§</caption>
  1026. </button>
  1027. <button id="button66" style="left:239px; top:46px; width:17px; height:19px; ">
  1028. <caption>⇒</caption>
  1029. </button>
  1030. <button id="button67" style="left:219px; top:46px; width:17px; height:19px; ">
  1031. <caption>◈</caption>
  1032. </button>
  1033. <button id="button68" style="left:199px; top:46px; width:17px; height:19px; ">
  1034. <caption>▩</caption>
  1035. </button>
  1036. <button id="button69" style="left:279px; top:24px; width:17px; height:19px; ">
  1037. <caption>∀</caption>
  1038. </button>
  1039. <button id="button70" style="left:259px; top:68px; width:17px; height:19px; ">
  1040. <caption>◑</caption>
  1041. </button>
  1042. <button id="button71" style="left:239px; top:68px; width:17px; height:19px; ">
  1043. <caption>◐</caption>
  1044. </button>
  1045. <button id="button72" style="left:219px; top:68px; width:17px; height:19px; ">
  1046. <caption>⊙</caption>
  1047. </button>
  1048. <button id="button73" style="left:319px; top:68px; width:17px; height:19px; ">
  1049. <caption>≥</caption>
  1050. </button>
  1051. <button id="button113" style="left:299px; top:68px; width:17px; height:19px; ">
  1052. <caption>≤</caption>
  1053. </button>
  1054. <button id="button114" style="left:379px; top:68px; width:17px; height:19px; ">
  1055. <caption>!</caption>
  1056. </button>
  1057. <button id="button115" style="left:359px; top:68px; width:17px; height:19px; ">
  1058. <caption>』</caption>
  1059. </button>
  1060. <button id="button116" style="left:339px; top:68px; width:17px; height:19px; ">
  1061. <caption>『</caption>
  1062. </button>
  1063. <button id="button117" style="left:279px; top:68px; width:17px; height:19px; ">
  1064. <caption>∏</caption>
  1065. </button>
  1066. <button id="button118" style="left:279px; top:46px; width:17px; height:19px; ">
  1067. <caption>∃</caption>
  1068. </button>
  1069. <button id="button119" style="left:379px; top:46px; width:17px; height:19px; ">
  1070. <caption>≫</caption>
  1071. </button>
  1072. <button id="button120" style="left:359px; top:46px; width:17px; height:19px; ">
  1073. <caption>≪</caption>
  1074. </button>
  1075. <button id="button121" style="left:339px; top:46px; width:17px; height:19px; ">
  1076. <caption>℡</caption>
  1077. </button>
  1078. <button id="button122" style="left:319px; top:46px; width:17px; height:19px; ">
  1079. <caption>≫</caption>
  1080. </button>
  1081. <button id="button123" style="left:299px; top:46px; width:17px; height:19px; ">
  1082. <caption>≪</caption>
  1083. </button>
  1084. <button id="button124" style="left:379px; top:24px; width:17px; height:19px; ">
  1085. <caption>¥</caption>
  1086. </button>
  1087. <button id="button125" style="left:359px; top:24px; width:17px; height:19px; ">
  1088. <caption>¢</caption>
  1089. </button>
  1090. <button id="button126" style="left:339px; top:24px; width:17px; height:19px; ">
  1091. <caption>⊃</caption>
  1092. </button>
  1093. <button id="button127" style="left:319px; top:24px; width:17px; height:19px; ">
  1094. <caption>≠</caption>
  1095. </button>
  1096. <button id="button128" style="left:299px; top:24px; width:17px; height:19px; ">
  1097. <caption>∽</caption>
  1098. </button>
  1099. <button id="button129" style="left:379px; top:2px; width:17px; height:19px; ">
  1100. <caption>∴</caption>
  1101. </button>
  1102. <button id="button130" style="left:359px; top:2px; width:17px; height:19px; ">
  1103. <caption>∬</caption>
  1104. </button>
  1105. <button id="button131" style="left:339px; top:2px; width:17px; height:19px; ">
  1106. <caption>∪</caption>
  1107. </button>
  1108. <button id="button132" style="left:319px; top:2px; width:17px; height:19px; ">
  1109. <caption>∧</caption>
  1110. </button>
  1111. <button id="button133" style="left:299px; top:2px; width:17px; height:19px; ">
  1112. <caption>∞</caption>
  1113. </button>
  1114. <script type="javascript" ev:event="onclick">
  1115. <![CDATA[
  1116. var trgObj = document.controls.item(event.target);
  1117. if( trgObj.elementName == "xforms:button" ) {
  1118. var btnMark = trgObj.label;
  1119. var txtSelPos = tar_emailbdtext.selBegin;
  1120. var curText = tar_emailbdtext.currentText;
  1121. var curTextBefore = curText.substr(0, txtSelPos);
  1122. var curTextAfter = curText.substr(txtSelPos, curText.length);
  1123. tar_emailbdtext.currentText = curTextBefore + btnMark + curTextAfter;
  1124. var endTxt = tar_emailbdtext.currentText;
  1125. model.setFocus("tar_msgcnts");
  1126. tar_emailbdtext.selBegin = endTxt.length-curTextAfter.length;
  1127. tar_emailbdtext.dispatch("onkeyup");
  1128. }
  1129. ]]>
  1130. </script>
  1131. </group>
  1132. </group>
  1133. <group id="group12" style="left:0px; top:23px; width:224px; height:757px; ">
  1134. <button id="btn_dm" class="btn_sw" group="tab" style="left:0px; top:5px; width:71px; height:22px; ">
  1135. <caption>DM</caption>
  1136. <script type="javascript" ev:event="DOMActivate">
  1137. <![CDATA[
  1138. window.load("./SMCND00200_DM템플릿관리.xrw" ,"","","","","");
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. <button id="btn_mail" class="btn_sw" group="tab" style="left:72px; top:5px; width:71px; height:22px; ">
  1143. <caption>E-mail</caption>
  1144. <script type="javascript" ev:event="DOMActivate">
  1145. <![CDATA[
  1146. window.load("./SMCNE00200_Email템플릿관리.xrw" ,"","","","","");
  1147. ]]>
  1148. </script>
  1149. </button>
  1150. <button id="btn_sms" class="btn_sw" group="tab" style="left:144px; top:5px; width:71px; height:22px; ">
  1151. <caption>SMS</caption>
  1152. <script type="javascript" ev:event="DOMActivate">
  1153. <![CDATA[
  1154. window.load("./SMCNS00200_SMS템플릿관리.xrw" ,"","","","","");
  1155. ]]>
  1156. </script>
  1157. </button>
  1158. <import id="import1" src="./SSCNS00300_채널그룹트리.xrw" style="left:0px; top:30px; width:215px; height:727px; "/>
  1159. </group>
  1160. </xhtml:body>
  1161. </xhtml:html>