📄 resetpass.tpl.php
字号:
<!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=gb2312" />
<title>密码重设邮件</title>
<script language="javascript">
function check(){
var frm = document.from1;
if (frm.pass1 == ''){
alert('请输入新密码!');
frm.pass1.focus();
return false;
}
if ( frm.pass1 <=5 ){
alert('新密码长度必须大于5位数!');
frm.pass1.focus();
return false;
}
if ( frm.pass1 != frm.pass2){
alert('两次密码输入不一致!请输入与相同的密码!');
frm.pass1.focus();
return false;
}
return true;
}
</script>
<style type="text/css">
<!--
body,td,th {
font-size: 14px;
}
-->
</style></head>
<body>
<form id="form1" name="form1" method="post" action="" onsubmit="return check();">
<table width="400" border="0" align="center" cellpadding="5" cellspacing="2">
<tr>
<td colspan="2" align="center">密码重设服务</td>
</tr>
<tr>
<td width="115">用户名:</td>
<td width="259"><?php echo $this->username;?></td>
</tr>
<tr>
<td>新的登陆密码:</td>
<td>
<input name="pass1" type="text" id="pass1" /> </td>
</tr>
<tr>
<td>在输入一次密码:</td>
<td><input name="pass2" type="text" id="pass2" /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="提交" /></td>
</tr>
</table>
<input type="hidden" name="uid" value="<?php echo $this->uid;?>" />
<input type="hidden" name="auth" value="<?php echo $this->auth;?>" />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -