cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>修改密码</title>
[@formui /]
</head>
<body>
<style type="text/css">
    html{_overflow-y:scroll}
</style>
<script type="text/javascript">
 
$(document).ready(function() {
    $.formValidator.initConfig({formID:"myform",onError:function(msg){alert(msg)},onSuccess:function(){
        document.getElementById("myform").target = window.top.openDialog(1,30,30,'操作提示:');  
        return true;
    }});
    $("#oldPwd").formValidator({empty:false,onShow:"原有密码",onFocus:"密码应该为6-20位之间"}).inputValidator({min:6,max:20,onError:"密码应该为6-20位之间"});
    $("#newPwd").formValidator({empty:false,onShow:"新密码",onFocus:"密码应该为6-20位之间"}).inputValidator({min:6,max:20,onError:"密码应该为6-20位之间"});
    $("#checkPwd").formValidator({empty:false,onShow:"再次输入新密码",onFocus:"密码应该为6-20位之间"})
        .inputValidator({min:6,max:20,onError:"密码应该为6-20位之间"})
        .compareValidator({desID:"newPwd",operateor:"=",onError:"两次密码不一致,请确认"});
});
function _onFormSubmit(){
    document.getElementById("btnOK").click();
}
function closeWin(){
       window.top.closeDialog(0);
}
</script>
 
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
    <a class="on"><em>管理员设置</em></a><span>|</span>建议定期修改密码<div id="callback" class="hidden pa" style="height:30px;top:13px;left:238px"></div>
    </div>
</div>
 
<div class="pad_10">
<div class="col-tab">
<div id="div_setting_1" class="contentList pad_10">
 
<form name="myform" action="changePwdSubmit.html" method="post" id="myform">
<table width="100%" class="table_form contentWrap">
 
<tr>
<th >原密码</th>
<td><input type="password" name="oldPwd" id="oldPwd" class="input-text"></input>
 <div id="oldPwdTip" style="width:250px;"></div>  
</td>
</tr>
 
<tr>
<th>新密码</th>
<td><input type="password" name="newPwd" id="newPwd" class="input-text"></input>
<div id="newPwdTip" style="width:250px;"></div>  
</td>
</tr>
 
<tr>
<th>重复新密码</th>
<td><input type="password" name="checkPwd" id="checkPwd" class="input-text"></input>
<div id="checkPwdTip" style="width:250px;"></div>  
</td>
</tr>
</table>
<input name="btnOK" type="submit" value="提交" class="button" id="btnOK" style="display:none;"  />
</form>
 
<div class="bk15"></div>
 
</div>
</div>
</div>
</body>
</html>