123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>비밀번호 확인</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <valid/>
- </main>
- <send>
- <usernm/>
- <pwd/>
- <userid/>
- <deptnm/>
- <deptcd/>
- </send>
- <init>
- <titlemsg/>
- <type/>
- <helpmsg/>
- <titlemsg2/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/usernm",getUserName());
- model.setValue("/root/send/userid",getUserId());
- model.setValue("/root/send/deptcd",getUserInfo("dutplcecd"));
- model.setValue("/root/send/deptnm",getUserInfo("dutplcenm"));
- if(checkOpener()){
- //업무화면 필요시 사용자 로그인 암호 초기화
- if(checkOpener()){
- opener.javascript.setParameter("pwdvalid", "N");
- }
- var type = opener.javascript.getParameter("type");
- var titlemsg = opener.javascript.getParameter("titlemsg");
- var helpmsg = opener.javascript.getParameter("helpmsg");
-
- if(type == "session"){
- titlemsg = "정보보호를 위해 본인확인을 합니다.";
- opt_titlemsg2.visible = true;
- opt_titlemsg.attribute("background-image") = "";
- opt_titlemsg2.value = "오랜 시간 사용자 입력이 없어";
- cap_helpmsg.visible = false;
- }else{
- cap_helpmsg.visible = true;
- cap_helpmsg.attribute("top") = "103px";
- body.attribute("pageheight") = "215";
- grp_biz.attribute("height") = "188px";
- grp_btn.attribute("top") = "188px";
- window.setSize(279, 270);
- }
-
- model.setValue("/root/init/titlemsg", titlemsg);
- model.setValue("/root/init/helpmsg", helpmsg, true);
- model.setValue("/root/init/type", type);
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRZUM00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="271" pageheight="150" guideline="2,150;" style="text-align:right; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:255px; height:118px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:40px; x2:255px; y2:40px; "/>
- <caption id="cap_oldpwd" class="cell_1" style="left:0px; top:45px; width:91px; height:23px; ">사용자</caption>
- <caption id="cap_pwd" class="cell_1" style="left:0px; top:69px; width:91px; height:23px; ">근무지 부서</caption>
- <caption id="cap_cnfmpwd" class="cell_1" style="left:0px; top:94px; width:91px; height:23px; ">비밀번호 입력</caption>
- <output id="sct_oldpwd" ref="/root/send/usernm" class="output" maxlength="20" style="left:94px; top:46px; width:160px; height:19px; "/>
- <output id="sct_pwd" ref="/root/send/deptnm" class="output" maxlength="20" style="left:94px; top:70px; width:160px; height:19px; "/>
- <secret id="sct_cnfmpwd" ref="/root/send/pwd" class="secret_essential" navindex="1" maxlength="20" style="left:94px; top:95px; width:160px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ) {
- model.setFocus("btn_confirm");
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </secret>
- <line id="line3" class="line_2" style="x1:0px; y1:67px; x2:255px; y2:67px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:92px; x2:255px; y2:92px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:117px; x2:255px; y2:117px; "/>
- <caption id="cap_helpmsg" ref="/root/init/helpmsg" class="hand" style="left:0px; top:30px; width:255px; height:85px; "/>
- <output id="opt_titlemsg" ref="/root/init/titlemsg" style="left:0px; top:20px; width:255px; height:19px; font-weight:bold; text-align:left; vertical-align:middle; word-wrap:hard; padding-left:15; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">세션이 종료되었습니다.</output>
- <output id="opt_titlemsg2" ref="/root/init/titlemsg2" visibility="hidden" style="left:0px; top:0px; width:255px; height:19px; font-weight:bold; text-align:left; vertical-align:middle; word-wrap:hard; padding-left:15; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">세션이 종료되었습니다.</output>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:118px; width:255px; height:27px; ">
- <button id="btn_cancel" class="btn4_letter2" navindex="3" style="left:194px; top:5px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtnCode = messageBox("현재 로그인한 사용자를 강제로 로그아웃시킵니다.\n저장하지 않은 모든 내용은 사라집니다.\n그래도 종료를", "Q003");
- if (rtnCode == 6) {
- opener.javascript.setParameter("islogout", "true");
- window.close();
- } else {
- opener.javascript.setParameter("islogout", "false");
- }
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:255px; y2:0px; "/>
- <button id="btn_confirm" class="btn4_letter2" navindex="2" style="left:135px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/valid","N");
- setForceOn();
- if (submit("TRZUM00401")) {
- var valid = model.getValue("/root/main/valid");
- //업무화면 필요시 사용자 로그인 암호 확인
- if(checkOpener()){
- opener.javascript.setParameter("pwdvalid", valid);
- }
-
- if (valid != "Y") {
- messageBox("암호가","E004");
- model.setFocus("sct_cnfmpwd");
- } else {
- // 암호 확인 OK
- if(model.getValue("/root/init/type") == "session"){
- // 암호 확인 OK, 최근 submit 시간 업데이트한다.
- setGlobalVariable("last_submit", (new Date()).getTime());
- }
- //btn_cancel.dispatch("DOMActivate");
- window.close();
- }
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|