<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!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" />
<title>修改密码</title>
<s:include value="../common/head.jsp" />
<link href="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function otherCheck(){
	if(gn("newPwd").value!=gn("newPwd2").value){
		alert("”新密码“和”新密码确认“项的值不相同。");
		return false;
	}
	return true;
}
</script>
</head>

<body>
<div class="body_form">    
    
<s:include value="../common/body.jsp" />
<s:form action="passwd" namespace="/security" onsubmit="return checkForm(this,otherCheck)">

      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_line">
        <tr class="form_title">
          <td style="font-size:14px;" colspan="2">修改密码</td>
        </tr>
        <tr>
          <td width="427" height="16">&nbsp;</td>
          <td width="553" height="16">&nbsp;</td>
        </tr>
        <tr>
          <td width="427" height="40" align="right"><span class="required">•</span>工　号：</td>
          <td width="553" height="40"><label>
		  	<s:textfield name="loginId" cssStyle="width:150px;" title="工号为必填项！"/>
            </label></td>
        </tr>
        <tr>
          <td width="427" height="40" align="right"><span class="required">•</span>旧密码：</td>
          <td width="553" height="40"><label>
		  	<s:password name="loginPwd" cssStyle="width:150px;" value="" title="旧密码为必填项！"/>
            </label></td>
        </tr>
        <tr>
          <td width="427" height="40" align="right"><span class="required">•</span>新密码：</td>
          <td width="553" height="40"><label>
		  	<s:password name="newPwd" cssStyle="width:150px;" value="" title="新密码为必填项！"/>
            </label></td>
        </tr>				
        <tr>
          <td width="427" height="40" align="right"><span class="required">•</span>新密码确认：</td>
          <td width="553" height="40"><label>
		  	<input name="newPwd2" type="password" style="width:150px;" title="新密码确认为必填项！"/>
            </label></td>
        </tr>
        <tr>
          <td width="427" height="40">&nbsp;</td>
          <td width="553" height="40"><input type="submit" name="Submit" value="修 改" /></td>
        </tr>
        <tr>
          <td width="427" height="17">&nbsp;</td>
          <td width="553" height="17"><label></label></td>
        </tr>
      </table>
</s:form>

</div>
</body>
</html>
