Files
OMS/app/desktop/view/users/chkpass.html
2025-12-28 23:13:25 +08:00

83 lines
2.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<form action="index.php?ctl=users&act=chkpassword&finder_id=a9b819" id="user-chkpass-form" method="POST">
<div class="tableform">
<div class="division">
<input type="hidden" name="user_id" value="<{$user_id}>" />
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr><th><em class="red">*</em><label for="dom_el_ea78c40"><{t}>超级管理员密码:<{/t}></label></th><td><input type="password" id="dom_el_ea78c40" vtype="required" name="old_login_password" title="<{t}>用户名:<{/t}>" class="x-input " autocomplete="off"/></td></tr>
<tr><th><em class="red">*</em><label for="dom_el_ea78c41"><{t}>新密码:<{/t}></label></th><td><input type="password" id="dom_el_ea78c41" vtype="required" name="new_login_password" title="<{t}>密码:<{/t}>" class="x-input " autocomplete="off"/></td></tr>
<tr><th><em class="red">*</em><label for="dom_el_ea78c42"><{t}>再次输入新密码:<{/t}></label></th><td><input type="password" id="dom_el_ea78c42" vtype="required" name="pam_account[login_password]" title="<{t}>确认密码:<{/t}>" class="x-input " autocomplete="off"/></td></tr>
</tbody>
</table>
</div>
<div class="division notice">
<h6>密码复杂度要求:</h6>
<div>1、密码长度至少12位</div>
<div>2、必须包含数字、大小写字母</div>
<div>3、避免连续的数字或字母</div>
</div>
</div>
</from>
<{area inject=".mainFoot"}>
<div class="table-action">
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><{button label=$___desktop="确定"|t:'desktop' class="btn btn-primary" id="user-chkpass-form-submit" type="submit"}></td>
</tr>
</tbody>
</table>
</div>
<{/area}>
<script>
(function(){
var _form = $('user-chkpass-form');
var btn =$('user-chkpass-form-submit');
var dialog=btn.getParent('.dialog').retrieve('instance');
//var finder = finderGroup['<{$env.get.finder_id}>'];
_form.store('target',{
onComplete:function(){
},
onSuccess:function(response){
var hash_res_obj = JSON.decode(response);
if (hash_res_obj.success != undefined && hash_res_obj.success != "")
{
try{
var _dialogIns = btn.getParent('.dialog').retrieve('instance');
}catch(e){}
if(_dialogIns)
{
_dialogIns.close();
//window.finderGroup['<{$env.get._finder.finder_id}>'].refresh();
}
}
}
});
btn.addEvent('click',function(){
_form.fireEvent('submit',{stop:$empty});
});
})();
</script>